private void dataGridView1_CellContentClick(object sender,DataGridViewCellEventArgs e) { Setting_forms fis = new Setting_forms(); if (e.ColumnIndex == 8) { fis.Check_codem = dataGridView1.Rows[dataGridView1.CurrentRow.Index].Cells["code_m_Grid"].Value.ToString(); } string us_geid = dataGridView1.Rows[dataGridView1.CurrentRow.Index].Cells["type_zemanat_grid"].Value.ToString(); if (us_geid == "chek") { new Show_sub_check().ShowDialog(); } if (us_geid == "safteh") { new Shosw_sub_safteh().ShowDialog(); } if (us_geid == "tala") { new Show_sub_tala().ShowDialog(); } }
if
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)