private void dataGridView1_CellMouseDoubleClick(object sender, DataGridViewCellMouseEventArgs e) { AECodeName ae = new AECodeName(dataGridView1.CurrentRow.Cells[0].Value.ToString(), dataGridView1.CurrentRow.Cells[1].Value.ToString(), dataGridView1.CurrentRow.Cells[2].Value.ToString(), upd); ae.ShowDialog(); //clsData.selRow = dataGridView1.SelectedRows[0].Index; }
private void button1_Click(object sender, EventArgs e) { AECodeName ae = new AECodeName(ins); ae.ShowDialog(); }