示例#1
0
        private void dgvUsers_MouseDoubleClick(object sender, MouseEventArgs e)
        {
            var id = dgvUsers.SelectedRows[0].Cells[0].Value;

            frmUserDetails form = new frmUserDetails(int.Parse(id.ToString()));

            form.Show();
        }
示例#2
0
        private void detailsWindowToolStripMenuItem_Click(object sender, EventArgs e)
        {
            frmUserDetails form = new frmUserDetails();

            form.ShowDialog();
        }