Exemplo n.º 1
0
        private void BaseItem6_Click(object sender, EventArgs e)
        {
            if (UserRightManage.IsOperateRight(SysParams.UserID, "bm") == false)
            {
                this.ShowAlertMessage("对不起,你没有该功能的操作权限,请与管理员联系!");
                return;
            }
            frmDept frmDept = new frmDept();

            frmDept.Show(this);
        }
Exemplo n.º 2
0
        private void navBarItem12_LinkClicked(object sender, DevExpress.XtraNavBar.NavBarLinkEventArgs e)
        {
            if (UserRightManage.IsOperateRight(SysParams.UserID, "kh") == false)
            {
                this.ShowAlertMessage("对不起,你没有该功能的操作权限,请与管理员联系!");
                return;
            }
            frmDept frmDept = new frmDept();

            frmDept.Show(this);
        }
Exemplo n.º 3
0
 public frmDept()
 {
     InitializeComponent();
     frmdept = this;
 }