예제 #1
0
        private void itemDepot_LinkClicked(object sender, DevExpress.XtraNavBar.NavBarLinkEventArgs e)
        {
            if (UserRightManage.IsOperateRight(SysParams.UserID, "ck") == false)
            {
                this.ShowAlertMessage("对不起,你没有该功能的操作权限,请与管理员联系!");
                return;
            }
            frmDepot frmDepot = new frmDepot();

            frmDepot.Show(this);
        }
예제 #2
0
        private void BaseItem2_Click(object sender, EventArgs e)
        {
            if (UserRightManage.IsOperateRight(SysParams.UserID, "ck") == false)
            {
                this.ShowAlertMessage("对不起,你没有该功能的操作权限,请与管理员联系!");
                return;
            }
            frmDepot frmDepot = new frmDepot();

            frmDepot.Show(this);
        }