Пример #1
0
 /// <summary>
 /// 系统设置
 /// </summary>
 /// <param name="sender"></param>
 /// <param name="e"></param>
 private void btnUserSet_Click(object sender, EventArgs e)
 {
     if (!rightManager.CanDoThis(UserRightConstraint.SystemSetLeastLevel))
     {
         new UserPrivilegeException();
     }
     else
     {
         UserRightWin win = new UserRightWin();
         win.Show();
         log("点击了系统设置按钮");
     }
 }
Пример #2
0
        private void btnUserSet_Click(object sender, EventArgs e)
        {
            UserRightWin win = new UserRightWin();

            win.Show();
        }