Ejemplo n.º 1
0
        private void tsmiManageUser_Click(object sender, EventArgs e)
        {
            Form frm = new frmUpDateUser(frmMain.user);

            frm.MdiParent = this;
            frm.Show();
        }
Ejemplo n.º 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();
        }
Ejemplo n.º 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();
        }