private void BwmMain_Load(object sender, EventArgs e) { Text = @"条码+移动采集的产品信息化管理系统 @" + Properties.Settings.Default.Company; //显示主窗体 var bwmMainChild = new WmsMainChild { MdiParent = this }; bwmMainChild.Show(); //设置状态栏显示内容 uStatusBar.Panels[4].MarqueeInfo.Start(); WmsFunction.GridFilter_Customizer(); uStatusBar.Panels["tssl_Lname"].Text = @"操作员:" + WmsLogin.Lname; uStatusBar.Panels["tssl_Lserver"].Text = @"BarServer:" + WmsLogin.Server; uStatusBar.Panels["cCompany"].Text = Properties.Settings.Default.Company; //获取角色权限 GetMenuAuthority(); if (WmsLogin.Lname.Equals("Demo")) { uExplorerBar.Groups["维护中心"].Visible = true; uExplorerBar.Groups["维护中心"].Items["用户管理"].Visible = true; uExplorerBar.Groups["维护中心"].Items["角色权限管理"].Visible = true; } }
private void BwmMain_Load(object sender, EventArgs e) { Text = @"条码+移动采集的产品信息化管理系统 @" +Properties.Settings.Default.Company; //显示主窗体 var bwmMainChild = new WmsMainChild { MdiParent = this }; bwmMainChild.Show(); //设置状态栏显示内容 uStatusBar.Panels[4].MarqueeInfo.Start(); WmsFunction.GridFilter_Customizer(); uStatusBar.Panels["tssl_Lname"].Text = @"操作员:" + WmsLogin.Lname; uStatusBar.Panels["tssl_Lserver"].Text = @"BarServer:" + WmsLogin.Server ; uStatusBar.Panels["cCompany"].Text = Properties.Settings.Default.Company; //获取角色权限 GetMenuAuthority(); if (WmsLogin.Lname.Equals("Demo")) { uExplorerBar.Groups["维护中心"].Visible = true; uExplorerBar.Groups["维护中心"].Items["用户管理"].Visible = true; uExplorerBar.Groups["维护中心"].Items["角色权限管理"].Visible = true; } }