/// <summary> /// Required method for Designer support - do not modify /// the contents of this method with the code editor. /// </summary> private void InitializeComponent() { System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(MenuLoadForm)); this.ribbon = new DevExpress.XtraBars.Ribbon.RibbonControl(); this.applicationMenu1 = new DevExpress.XtraBars.Ribbon.ApplicationMenu(); this.barButtonItem1 = new DevExpress.XtraBars.BarButtonItem(); this.ribbonStatusBar = new DevExpress.XtraBars.Ribbon.RibbonStatusBar(); this.xtraTabbedMdiManager = new FengSharp.OneCardAccess.Infrastructure.WinForm.Controls.ExXtraTabbedMdiManager(); this.popupMenu = new DevExpress.XtraBars.PopupMenu(); this.button1 = new System.Windows.Forms.Button(); this.barButtonItem2 = new DevExpress.XtraBars.BarButtonItem(); this.barButtonItem3 = new DevExpress.XtraBars.BarButtonItem(); this.barButtonItem4 = new DevExpress.XtraBars.BarButtonItem(); ((System.ComponentModel.ISupportInitialize)(this.ribbon)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.applicationMenu1)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.xtraTabbedMdiManager)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.popupMenu)).BeginInit(); this.SuspendLayout(); // // ribbon // this.ribbon.ApplicationButtonDropDownControl = this.applicationMenu1; this.ribbon.AutoSizeItems = true; this.ribbon.ButtonGroupsLayout = DevExpress.XtraBars.ButtonGroupsLayout.ThreeRows; this.ribbon.ExpandCollapseItem.Id = 0; this.ribbon.Items.AddRange(new DevExpress.XtraBars.BarItem[] { this.ribbon.ExpandCollapseItem, this.barButtonItem1, this.barButtonItem2, this.barButtonItem3, this.barButtonItem4}); this.ribbon.Location = new System.Drawing.Point(0, 0); this.ribbon.MaxItemId = 5; this.ribbon.Name = "ribbon"; this.ribbon.ShowExpandCollapseButton = DevExpress.Utils.DefaultBoolean.True; this.ribbon.ShowToolbarCustomizeItem = false; this.ribbon.Size = new System.Drawing.Size(1148, 49); this.ribbon.StatusBar = this.ribbonStatusBar; this.ribbon.Toolbar.ShowCustomizeItem = false; // // applicationMenu1 // this.applicationMenu1.ItemLinks.Add(this.barButtonItem1); this.applicationMenu1.Name = "applicationMenu1"; this.applicationMenu1.Ribbon = this.ribbon; // // barButtonItem1 // this.barButtonItem1.Caption = "barButtonItem1"; this.barButtonItem1.Id = 1; this.barButtonItem1.Name = "barButtonItem1"; this.barButtonItem1.ItemClick += new DevExpress.XtraBars.ItemClickEventHandler(this.barButtonItem1_ItemClick); // // ribbonStatusBar // this.ribbonStatusBar.Location = new System.Drawing.Point(0, 631); this.ribbonStatusBar.Name = "ribbonStatusBar"; this.ribbonStatusBar.Ribbon = this.ribbon; this.ribbonStatusBar.Size = new System.Drawing.Size(1148, 31); // // xtraTabbedMdiManager // this.xtraTabbedMdiManager.ClosePageButtonShowMode = DevExpress.XtraTab.ClosePageButtonShowMode.InAllTabPagesAndTabControlHeader; this.xtraTabbedMdiManager.CloseTabOnMiddleClick = DevExpress.XtraTabbedMdi.CloseTabOnMiddleClick.OnMouseUp; this.xtraTabbedMdiManager.HeaderButtons = ((DevExpress.XtraTab.TabButtons)((((DevExpress.XtraTab.TabButtons.Prev | DevExpress.XtraTab.TabButtons.Next) | DevExpress.XtraTab.TabButtons.Close) | DevExpress.XtraTab.TabButtons.Default))); this.xtraTabbedMdiManager.HeaderButtonsShowMode = DevExpress.XtraTab.TabButtonShowMode.WhenNeeded; this.xtraTabbedMdiManager.MdiParent = this; this.xtraTabbedMdiManager.PinPageButtonShowMode = DevExpress.XtraTab.PinPageButtonShowMode.InActiveTabPageHeaderAndOnMouseHover; this.xtraTabbedMdiManager.UseDefaultPageImageSize = false; // // popupMenu // this.popupMenu.ItemLinks.Add(this.barButtonItem2); this.popupMenu.ItemLinks.Add(this.barButtonItem3); this.popupMenu.ItemLinks.Add(this.barButtonItem4); this.popupMenu.Name = "popupMenu"; this.popupMenu.Ribbon = this.ribbon; // // button1 // this.button1.Location = new System.Drawing.Point(0, 0); this.button1.Name = "button1"; this.button1.Size = new System.Drawing.Size(75, 23); this.button1.TabIndex = 3; this.button1.Text = "button1"; this.button1.UseVisualStyleBackColor = true; this.button1.Click += new System.EventHandler(this.button1_Click); // // barButtonItem2 // this.barButtonItem2.Caption = "barButtonItem2"; this.barButtonItem2.Id = 2; this.barButtonItem2.Name = "barButtonItem2"; // // barButtonItem3 // this.barButtonItem3.Caption = "barButtonItem3"; this.barButtonItem3.Id = 3; this.barButtonItem3.Name = "barButtonItem3"; // // barButtonItem4 // this.barButtonItem4.Caption = "barButtonItem4"; this.barButtonItem4.Id = 4; this.barButtonItem4.Name = "barButtonItem4"; // // MenuLoadForm // this.AllowFormGlass = DevExpress.Utils.DefaultBoolean.False; this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F); this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; this.ClientSize = new System.Drawing.Size(1148, 662); this.Controls.Add(this.button1); this.Controls.Add(this.ribbonStatusBar); this.Controls.Add(this.ribbon); this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon"))); this.IsMdiContainer = true; this.Name = "MenuLoadForm"; this.Ribbon = this.ribbon; this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen; this.StatusBar = this.ribbonStatusBar; this.Text = "一卡通系统"; this.FormClosing += new System.Windows.Forms.FormClosingEventHandler(this.MenuLoadForm_FormClosing); this.Load += new System.EventHandler(this.MenuLoadForm_Load); ((System.ComponentModel.ISupportInitialize)(this.ribbon)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.applicationMenu1)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.xtraTabbedMdiManager)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.popupMenu)).EndInit(); this.ResumeLayout(false); this.PerformLayout(); }
/// <summary> /// Required method for Designer support - do not modify /// the contents of this method with the code editor. /// </summary> private void InitializeComponent() { System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(MainForm)); this.ribbon = new DevExpress.XtraBars.Ribbon.RibbonControl(); this.btnCloseCurrent = new DevExpress.XtraBars.BarButtonItem(); this.btnCloseOther = new DevExpress.XtraBars.BarButtonItem(); this.btnCloseAll = new DevExpress.XtraBars.BarButtonItem(); this.ribbonStatusBar = new DevExpress.XtraBars.Ribbon.RibbonStatusBar(); this.xtraTabbedMdiManager = new FengSharp.OneCardAccess.Infrastructure.WinForm.Controls.ExXtraTabbedMdiManager(); this.popupMenu = new DevExpress.XtraBars.PopupMenu(); this.applicationMenu = new DevExpress.XtraBars.Ribbon.ApplicationMenu(); ((System.ComponentModel.ISupportInitialize)(this.ribbon)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.xtraTabbedMdiManager)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.popupMenu)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.applicationMenu)).BeginInit(); this.SuspendLayout(); // // ribbon // this.ribbon.ApplicationIcon = ((System.Drawing.Bitmap)(resources.GetObject("ribbon.ApplicationIcon"))); this.ribbon.ButtonGroupsLayout = DevExpress.XtraBars.ButtonGroupsLayout.ThreeRows; this.ribbon.ExpandCollapseItem.Id = 0; this.ribbon.Items.AddRange(new DevExpress.XtraBars.BarItem[] { this.ribbon.ExpandCollapseItem, this.btnCloseCurrent, this.btnCloseOther, this.btnCloseAll}); this.ribbon.Location = new System.Drawing.Point(0, 0); this.ribbon.MaxItemId = 9; this.ribbon.Name = "ribbon"; this.ribbon.ShowExpandCollapseButton = DevExpress.Utils.DefaultBoolean.True; this.ribbon.ShowToolbarCustomizeItem = false; this.ribbon.Size = new System.Drawing.Size(1148, 49); this.ribbon.StatusBar = this.ribbonStatusBar; this.ribbon.Toolbar.ShowCustomizeItem = false; // // btnCloseCurrent // this.btnCloseCurrent.Caption = "关闭当前(&C)"; this.btnCloseCurrent.Glyph = ((System.Drawing.Image)(resources.GetObject("btnCloseCurrent.Glyph"))); this.btnCloseCurrent.Id = 4; this.btnCloseCurrent.LargeGlyph = ((System.Drawing.Image)(resources.GetObject("btnCloseCurrent.LargeGlyph"))); this.btnCloseCurrent.Name = "btnCloseCurrent"; this.btnCloseCurrent.ItemClick += new DevExpress.XtraBars.ItemClickEventHandler(this.btnCloseCurrent_ItemClick); // // btnCloseOther // this.btnCloseOther.Caption = "关闭其他(&O)"; this.btnCloseOther.Glyph = ((System.Drawing.Image)(resources.GetObject("btnCloseOther.Glyph"))); this.btnCloseOther.Id = 5; this.btnCloseOther.LargeGlyph = ((System.Drawing.Image)(resources.GetObject("btnCloseOther.LargeGlyph"))); this.btnCloseOther.Name = "btnCloseOther"; this.btnCloseOther.ItemClick += new DevExpress.XtraBars.ItemClickEventHandler(this.btnCloseOther_ItemClick); // // btnCloseAll // this.btnCloseAll.Caption = "关闭所有(&A)"; this.btnCloseAll.Glyph = ((System.Drawing.Image)(resources.GetObject("btnCloseAll.Glyph"))); this.btnCloseAll.Id = 6; this.btnCloseAll.LargeGlyph = ((System.Drawing.Image)(resources.GetObject("btnCloseAll.LargeGlyph"))); this.btnCloseAll.Name = "btnCloseAll"; this.btnCloseAll.ItemClick += new DevExpress.XtraBars.ItemClickEventHandler(this.btnCloseAll_ItemClick); // // ribbonStatusBar // this.ribbonStatusBar.Location = new System.Drawing.Point(0, 631); this.ribbonStatusBar.Name = "ribbonStatusBar"; this.ribbonStatusBar.Ribbon = this.ribbon; this.ribbonStatusBar.Size = new System.Drawing.Size(1148, 31); // // xtraTabbedMdiManager // this.xtraTabbedMdiManager.ClosePageButtonShowMode = DevExpress.XtraTab.ClosePageButtonShowMode.InAllTabPagesAndTabControlHeader; this.xtraTabbedMdiManager.CloseTabOnMiddleClick = DevExpress.XtraTabbedMdi.CloseTabOnMiddleClick.OnMouseUp; this.xtraTabbedMdiManager.HeaderButtons = ((DevExpress.XtraTab.TabButtons)((((DevExpress.XtraTab.TabButtons.Prev | DevExpress.XtraTab.TabButtons.Next) | DevExpress.XtraTab.TabButtons.Close) | DevExpress.XtraTab.TabButtons.Default))); this.xtraTabbedMdiManager.HeaderButtonsShowMode = DevExpress.XtraTab.TabButtonShowMode.WhenNeeded; this.xtraTabbedMdiManager.MdiParent = this; this.xtraTabbedMdiManager.PinPageButtonShowMode = DevExpress.XtraTab.PinPageButtonShowMode.InActiveTabPageHeaderAndOnMouseHover; this.xtraTabbedMdiManager.UseDefaultPageImageSize = false; this.xtraTabbedMdiManager.MouseUp += new System.Windows.Forms.MouseEventHandler(this.xtraTabbedMdiManager_MouseUp); // // popupMenu // this.popupMenu.ItemLinks.Add(this.btnCloseCurrent, true); this.popupMenu.ItemLinks.Add(this.btnCloseOther, true); this.popupMenu.ItemLinks.Add(this.btnCloseAll, true); this.popupMenu.Name = "popupMenu"; this.popupMenu.Ribbon = this.ribbon; // // applicationMenu // this.applicationMenu.Name = "applicationMenu"; this.applicationMenu.Ribbon = this.ribbon; // // MainForm // this.AllowFormGlass = DevExpress.Utils.DefaultBoolean.False; this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F); this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; this.ClientSize = new System.Drawing.Size(1148, 662); this.Controls.Add(this.ribbonStatusBar); this.Controls.Add(this.ribbon); this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon"))); this.IsMdiContainer = true; this.Name = "MainForm"; this.Ribbon = this.ribbon; this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen; this.StatusBar = this.ribbonStatusBar; this.Text = "一卡通系统"; this.FormClosing += new System.Windows.Forms.FormClosingEventHandler(this.MainForm_FormClosing); this.Load += new System.EventHandler(this.MainForm_Load); ((System.ComponentModel.ISupportInitialize)(this.ribbon)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.xtraTabbedMdiManager)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.popupMenu)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.applicationMenu)).EndInit(); this.ResumeLayout(false); this.PerformLayout(); }