| | |
| | | this.btnJieAn = new DevExpress.XtraBars.BarLargeButtonItem(); |
| | | this.btnFjieAn = new DevExpress.XtraBars.BarLargeButtonItem(); |
| | | this.btnHelp = new DevExpress.XtraBars.BarLargeButtonItem(); |
| | | this.btnLayout = new DevExpress.XtraBars.BarLargeButtonItem(); |
| | | this.barDockControlTop = new DevExpress.XtraBars.BarDockControl(); |
| | | this.barDockControlBottom = new DevExpress.XtraBars.BarDockControl(); |
| | | this.barDockControlLeft = new DevExpress.XtraBars.BarDockControl(); |
| | |
| | | // |
| | | // barManager1 |
| | | // |
| | | this.barManager1.AllowShowToolbarsPopup = false; |
| | | this.barManager1.Bars.AddRange(new DevExpress.XtraBars.Bar[] { |
| | | this.bar2}); |
| | | this.barManager1.DockControls.Add(this.barDockControlTop); |
| | |
| | | this.btnKg, |
| | | this.btnZhongTai, |
| | | this.btnWg, |
| | | this.btnHelp}); |
| | | this.btnHelp, |
| | | this.btnLayout}); |
| | | this.barManager1.MainMenu = this.bar2; |
| | | this.barManager1.MaxItemId = 51; |
| | | this.barManager1.MaxItemId = 52; |
| | | // |
| | | // bar2 |
| | | // |
| | |
| | | new DevExpress.XtraBars.LinkPersistInfo(this.btnZhongTai), |
| | | new DevExpress.XtraBars.LinkPersistInfo(DevExpress.XtraBars.BarLinkUserDefines.PaintStyle, this.btnJieAn, DevExpress.XtraBars.BarItemPaintStyle.CaptionGlyph), |
| | | new DevExpress.XtraBars.LinkPersistInfo(DevExpress.XtraBars.BarLinkUserDefines.PaintStyle, this.btnFjieAn, DevExpress.XtraBars.BarItemPaintStyle.CaptionGlyph), |
| | | new DevExpress.XtraBars.LinkPersistInfo(this.btnHelp)}); |
| | | new DevExpress.XtraBars.LinkPersistInfo(this.btnHelp), |
| | | new DevExpress.XtraBars.LinkPersistInfo(this.btnLayout)}); |
| | | this.bar2.OptionsBar.AllowQuickCustomization = false; |
| | | this.bar2.OptionsBar.MultiLine = true; |
| | | this.bar2.OptionsBar.UseWholeRow = true; |
| | | this.bar2.Text = "Main menu"; |
| | |
| | | this.btnHelp.ItemAppearance.Normal.Options.UseFont = true; |
| | | this.btnHelp.Name = "btnHelp"; |
| | | // |
| | | // btnLayout |
| | | // |
| | | this.btnLayout.Caption = "保存版面"; |
| | | this.btnLayout.Id = 51; |
| | | this.btnLayout.ImageOptions.Image = global::Gs.DevApp.Properties.Resources.globalcolorscheme_16x16; |
| | | this.btnLayout.ImageOptions.LargeImage = global::Gs.DevApp.Properties.Resources.globalcolorscheme_32x32; |
| | | this.btnLayout.Name = "btnLayout"; |
| | | this.btnLayout.Visibility = DevExpress.XtraBars.BarItemVisibility.Never; |
| | | // |
| | | // barDockControlTop |
| | | // |
| | | this.barDockControlTop.CausesValidation = false; |
| | |
| | | private DevExpress.XtraBars.BarLargeButtonItem btnZhongTai; |
| | | private DevExpress.XtraBars.BarLargeButtonItem btnWg; |
| | | private DevExpress.XtraBars.BarLargeButtonItem btnHelp; |
| | | |
| | | private DevExpress.XtraBars.BarLargeButtonItem btnLayout; |
| | | } |
| | | } |