private void tsbsfchzb_Click(object sender, EventArgs e) { if (UserRightManage.IsOperateRight(SysParams.UserID, "sfchzb") == false) { this.ShowAlertMessage("对不起,你没有该功能的操作权限,请与管理员联系!"); return; } frmDepotMaterialInOutSum frmDepotMaterialInOutSum = new frmDepotMaterialInOutSum(); frmDepotMaterialInOutSum.Show(this); }
//收发存汇总表 private void navBarItem1_LinkClicked(object sender, DevExpress.XtraNavBar.NavBarLinkEventArgs e) { if (UserRightManage.IsOperateRight(SysParams.UserID, "sfchzb") == false) { this.ShowAlertMessage("对不起,你没有该功能的操作权限,请与管理员联系!"); return; } frmDepotMaterialInOutSum frmDepotMaterialInOutSum = new frmDepotMaterialInOutSum(); frmDepotMaterialInOutSum.Show(this); }