private void dataGridView1_CellContentDoubleClick(object sender, DataGridViewCellEventArgs e) { string id = dataGridView1.Rows[e.RowIndex].Cells[0].Value.ToString(); CTS cts = new CTS(id, label1.Text); cts.ShowDialog(); loadgrvdg(); }
private void dataGridView1_CellContentDoubleClick(object sender, DataGridViewCellEventArgs e) { CTS cts = new CTS(txbID.Text); cts.Show(); }