//入库单 private void navBarItem4_LinkClicked(object sender, DevExpress.XtraNavBar.NavBarLinkEventArgs e) { if (UserRightManage.IsOperateRight(SysParams.UserID, "lkdgl") == false) { this.ShowAlertMessage("对不起,你没有该功能的操作权限,请与管理员联系!"); return; } frmBill frmBill = new frmBill(); frmBill.Show(this); }
private void tsblkd_Click(object sender, EventArgs e) { if (UserRightManage.IsOperateRight(SysParams.UserID, "lkdgl") == false) { this.ShowAlertMessage("对不起,你没有该功能的操作权限,请与管理员联系!"); return; } frmBill frmBill = new frmBill(); frmBill.Show(this); }
public frmBill() { InitializeComponent(); frmbill = this; IniControl_CN(); }