Esempio n. 1
0
        private void Menu_Sys_Update_Click(object sender, EventArgs e)
        {
            frmUpdateSysUserInfo update = new frmUpdateSysUserInfo();

            update.LoginName = this._loginname;
            update.Names     = this._user;

            update.ShowDialog();
        }
Esempio n. 2
0
        //lvwUser双击事件
        private void lvwUser_MouseDoubleClick(object sender, MouseEventArgs e)
        {
            if (this.lvwUser.SelectedItems[0].Text == "sa")
            {
                untCommon.ErrorMsg("该用户为最高权限用户,只可自行更改资料");
                return;
            }
            frmUpdateSysUserInfo fuSysUser = new frmUpdateSysUserInfo(this.lvwUser.SelectedItems[0].Tag.ToString(), true);

            fuSysUser.ShowDialog();
        }