private void tsbdbd_Click(object sender, EventArgs e) { if (UserRightManage.IsOperateRight(SysParams.UserID, "dbdgl") == false) { this.ShowAlertMessage("对不起,你没有该功能的操作权限,请与管理员联系!"); return; } frmRemoveBill frmRemoveBill = new frmRemoveBill(); frmRemoveBill.Show(this); }
//调拨单 private void navBarItem16_LinkClicked(object sender, DevExpress.XtraNavBar.NavBarLinkEventArgs e) { if (UserRightManage.IsOperateRight(SysParams.UserID, "dbdgl") == false) { this.ShowAlertMessage("对不起,你没有该功能的操作权限,请与管理员联系!"); return; } frmRemoveBill frmRemoveBill = new frmRemoveBill(); frmRemoveBill.Show(this); }