private void tsbcccx_Click(object sender, EventArgs e) { if (UserRightManage.IsOperateRight(SysParams.UserID, "cccx") == false) { this.ShowAlertMessage("对不起,你没有该功能的操作权限,请与管理员联系!"); return; } frmDepotMaterialSum frmDepotMaterialSum = new frmDepotMaterialSum(); frmDepotMaterialSum.Show(this); }
//库存查询 private void navBarItem7_LinkClicked(object sender, DevExpress.XtraNavBar.NavBarLinkEventArgs e) { if (UserRightManage.IsOperateRight(SysParams.UserID, "cccx") == false) { this.ShowAlertMessage("对不起,你没有该功能的操作权限,请与管理员联系!"); return; } frmDepotMaterialSum frmDepotMaterialSum = new frmDepotMaterialSum(); frmDepotMaterialSum.Show(this); }