示例#1
0
        private void dataGridView1_DoubleClick(object sender, EventArgs e)
        {
            ControlUsers cu = new ControlUsers(dataGridView1.SelectedRows[0].Cells[0].Value.ToString(), this);

            cu.ShowDialog();
        }
示例#2
0
        private void button2_Click(object sender, EventArgs e)
        {
            ControlUsers cu = new ControlUsers(this);

            cu.ShowDialog();
        }