Example #1
0
        private void addToolStripMenuItem1_Click(object sender, EventArgs e)
        {
            var result = new frmManageUserDetails().ShowDialog();

            if (result == DialogResult.OK)
            {
            }
        }
        private void lvUsers_DoubleClick(object sender, EventArgs e)
        {
            var selected = lvUsers.SelectedItems[0];
            var id       = Convert.ToInt32(selected.SubItems[1].Text);


            var dlg = new frmManageUserDetails(id);

            dlg.ShowDialog();
        }