예제 #1
0
        private void tsmiManageUser_Click(object sender, EventArgs e)
        {
            Form frm = new frmUpDateUser(frmMain.user);

            frm.MdiParent = this;
            frm.Show();
        }
예제 #2
0
        private void lvMessage_MouseDoubleClick(object sender, MouseEventArgs e)
        {
            string        code = lvMessage.SelectedItems[0].Text;
            int           id   = int.Parse(lvMessage.SelectedItems[0].Tag.ToString());
            frmUpDateUser frm  = new frmUpDateUser(UserManage.getUserById(id));

            frm.code = code;
            frm.Show();
        }
예제 #3
0
        private void tsmiUpdate_Click(object sender, EventArgs e)
        {
            string        code = lvMessage.SelectedItems[0].Text;
            int           id   = int.Parse(lvMessage.SelectedItems[0].Tag.ToString());
            frmUpDateUser frm  = new frmUpDateUser(UserManage.getUserById(id));

            frm.form = this;
            frm.code = code;
            frm.Show();
        }