private void dataGridView1_DoubleClick(object sender, EventArgs e) { ControlUsers cu = new ControlUsers(dataGridView1.SelectedRows[0].Cells[0].Value.ToString(), this); cu.ShowDialog(); }
private void button2_Click(object sender, EventArgs e) { ControlUsers cu = new ControlUsers(this); cu.ShowDialog(); }