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