public DevBarRegister(Form owner, Bar bar) { _Owner = owner; _bar = bar; }
/// <summary> /// Required method for Designer support - do not modify /// the contents of this method with the code editor. /// </summary> private void InitializeComponent() { this.components = new System.ComponentModel.Container(); this.grpResultados = new GroupControl(); this.grpCriterios = new GroupControl(); this.btnBusqueda = new PlantillaBoton(); this.txtFiltro = new ButtonEdit(); this.cboFiltro = new ComboBoxEdit(); this.lblValor = new LabelControl(); this.lblFiltro = new LabelControl(); this.splitContainerControl1 = new SplitContainerControl(); this.BarraBotones = new BarManager(); this.bar1 = new DevExpress.XtraBars.Bar(); this.bar3 = new DevExpress.XtraBars.Bar(); this.barDockControl1 = new BarDockControl(); this.barDockControl2 = new BarDockControl(); this.barDockControl3 = new BarDockControl(); this.barDockControl4 = new BarDockControl(); this.ToolAceptar = new BarButtonItem(); this.ToolCancelar = new BarButtonItem(); this.ToolActualizar = new BarButtonItem(); this.lblEstado = new BarStaticItem(); this.grpResultados.BeginInit(); this.grpCriterios.BeginInit(); this.grpCriterios.SuspendLayout(); this.txtFiltro.Properties.BeginInit(); this.cboFiltro.Properties.BeginInit(); this.splitContainerControl1.BeginInit(); this.splitContainerControl1.SuspendLayout(); this.BarraBotones.BeginInit(); base.SuspendLayout(); this.grpResultados.AppearanceCaption.Font = new Font("Tahoma", 11.25f, FontStyle.Bold, GraphicsUnit.Point, 0); this.grpResultados.AppearanceCaption.Options.UseFont = true; this.grpResultados.Dock = System.Windows.Forms.DockStyle.Fill; this.grpResultados.Location = new Point(0, 0); this.grpResultados.Name = "grpResultados"; this.grpResultados.Size = new Size(0x217, 0xf6); this.grpResultados.TabIndex = 0; this.grpResultados.Text = "Resultados"; this.grpCriterios.AppearanceCaption.Font = new Font("Tahoma", 11.25f, FontStyle.Bold, GraphicsUnit.Point, 0); this.grpCriterios.AppearanceCaption.Options.UseFont = true; this.grpCriterios.Controls.Add(this.btnBusqueda); this.grpCriterios.Controls.Add(this.txtFiltro); this.grpCriterios.Controls.Add(this.cboFiltro); this.grpCriterios.Controls.Add(this.lblValor); this.grpCriterios.Controls.Add(this.lblFiltro); this.grpCriterios.Dock = DockStyle.Fill; this.grpCriterios.Location = new Point(0, 0); this.grpCriterios.Name = "grpCriterios"; this.grpCriterios.Size = new Size(0x217, 0x70); this.grpCriterios.TabIndex = 0; this.grpCriterios.Text = "Criterios de B\x00fasqueda"; this.btnBusqueda.CajaTexto = (TextEdit)this.txtFiltro; this.btnBusqueda.CajaTextoConBoton = null; this.btnBusqueda.Imagen = PlantillaBoton.TipoBoton.Buscar; this.btnBusqueda.Location = new Point(0x1ef, 0x38); this.btnBusqueda.Name = "btnBusqueda"; this.btnBusqueda.Size = new Size(0x23, 0x1b); this.btnBusqueda.TabIndex = 2; this.txtFiltro.Location = new Point(0xda, 0x3f); this.txtFiltro.Name = "txtFiltro"; this.txtFiltro.Properties.Buttons.AddRange(new EditorButton[] { new EditorButton(ButtonPredefines.Delete) }); this.txtFiltro.Size = new Size(0x110, 20); this.txtFiltro.TabIndex = 1; this.cboFiltro.Location = new Point(0x16, 0x3f); this.cboFiltro.Name = "cboFiltro"; this.cboFiltro.Properties.Buttons.AddRange(new EditorButton[] { new EditorButton(ButtonPredefines.Combo) }); this.cboFiltro.Properties.TextEditStyle = TextEditStyles.DisableTextEditor; this.cboFiltro.Size = new Size(0x90, 20); this.cboFiltro.TabIndex = 0; this.lblValor.Location = new Point(0xda, 0x2c); this.lblValor.Name = "lblValor"; this.lblValor.Size = new Size(0x1c, 13); this.lblValor.TabIndex = 0; this.lblValor.Text = "Valor:"; this.lblFiltro.Location = new Point(0x16, 0x2c); this.lblFiltro.Name = "lblFiltro"; this.lblFiltro.Size = new Size(0x1c, 13); this.lblFiltro.TabIndex = 0; this.lblFiltro.Text = "Filtro:"; this.splitContainerControl1.Dock = DockStyle.Fill; this.splitContainerControl1.Horizontal = false; this.splitContainerControl1.Location = new Point(0, 0x1f); this.splitContainerControl1.Name = "splitContainerControl1"; this.splitContainerControl1.Panel1.Controls.Add(this.grpCriterios); this.splitContainerControl1.Panel1.Text = "Panel1"; this.splitContainerControl1.Panel2.Controls.Add(this.grpResultados); this.splitContainerControl1.Panel2.Text = "Panel2"; this.splitContainerControl1.Size = new Size(0x217, 0x16b); this.splitContainerControl1.SplitterPosition = 0x70; this.splitContainerControl1.TabIndex = 14; this.BarraBotones.AllowCustomization = false; this.BarraBotones.Bars.AddRange(new DevExpress.XtraBars.Bar[] { this.bar1, this.bar3 }); this.BarraBotones.DockControls.Add(this.barDockControl1); this.BarraBotones.DockControls.Add(this.barDockControl2); this.BarraBotones.DockControls.Add(this.barDockControl3); this.BarraBotones.DockControls.Add(this.barDockControl4); this.BarraBotones.Form = this; this.BarraBotones.Items.AddRange(new BarItem[] { this.ToolAceptar, this.ToolCancelar, this.ToolActualizar, this.lblEstado }); this.BarraBotones.MaxItemId = 4; this.BarraBotones.StatusBar = (bar3); this.bar1.BarName = "Personalizada 2"; this.bar1.DockCol = 0; this.bar1.DockRow = 0; bar1.DockStyle = BarDockStyle.Top; this.bar1.LinksPersistInfo.AddRange(new LinkPersistInfo[] { new LinkPersistInfo((BarLinkUserDefines)BarLinkUserDefines.PaintStyle, (BarItem)this.ToolAceptar, (BarItemPaintStyle)BarItemPaintStyle.CaptionGlyph), new LinkPersistInfo((BarLinkUserDefines)BarLinkUserDefines.PaintStyle, (BarItem)this.ToolCancelar, "", true, true, true, 0, null, (BarItemPaintStyle)BarItemPaintStyle.CaptionGlyph), new LinkPersistInfo((BarLinkUserDefines)BarLinkUserDefines.PaintStyle, (BarItem)this.ToolActualizar, "", true, true, true, 0, null, (BarItemPaintStyle)BarItemPaintStyle.CaptionGlyph) }); this.bar1.Text = "Personalizada 2"; this.bar3.BarName = "Personalizada 3"; this.bar3.CanDockStyle = BarCanDockStyle.Bottom; this.bar3.DockCol = 0; this.bar3.DockRow = 0; this.bar3.DockStyle = BarDockStyle.Bottom; this.bar3.LinksPersistInfo.AddRange(new LinkPersistInfo[] { new LinkPersistInfo((BarItem)this.lblEstado) }); this.bar3.OptionsBar.AllowQuickCustomization = false; this.bar3.OptionsBar.DrawDragBorder = false; this.bar3.OptionsBar.UseWholeRow = true; this.bar3.Text = "Personalizada 3"; this.barDockControl1.CausesValidation = false; this.barDockControl1.Dock = DockStyle.Top; this.barDockControl1.Location = new Point(0, 0); this.barDockControl1.Size = new Size(0x217, 0x1f); this.barDockControl2.CausesValidation = false; this.barDockControl2.Dock = DockStyle.Bottom; this.barDockControl2.Location = new Point(0, 0x18a); this.barDockControl2.Size = new Size(0x217, 0x19); this.barDockControl3.CausesValidation = false; this.barDockControl3.Dock = DockStyle.Left; this.barDockControl3.Location = new Point(0, 0x1f); this.barDockControl3.Size = new Size(0, 0x16b); this.barDockControl4.CausesValidation = false; this.barDockControl4.Dock = DockStyle.Right; this.barDockControl4.Location = new Point(0x217, 0x1f); this.barDockControl4.Size = new Size(0, 0x16b); this.ToolAceptar.Caption = "&Aceptar"; this.ToolAceptar.Glyph = Resources.ok; this.ToolAceptar.Id = 0; this.ToolAceptar.Name = "ToolAceptar"; this.ToolCancelar.Caption = "&Cancelar"; this.ToolCancelar.Glyph = Resources.cancelar; this.ToolCancelar.Id = 1; this.ToolCancelar.Name = "ToolCancelar"; this.ToolActualizar.Caption = "&Refrescar"; this.ToolActualizar.Glyph = Resources.refrescar; this.ToolActualizar.Id = 2; this.ToolActualizar.Name = "ToolActualizar"; this.lblEstado.Caption = "Listo"; this.lblEstado.Id = 3; this.lblEstado.Name = "lblEstado"; this.lblEstado.TextAlignment = StringAlignment.Near; base.AutoScaleDimensions = new SizeF(6f, 13f); base.AutoScaleMode = AutoScaleMode.Font; base.ClientSize = new Size(0x217, 0x1a3); base.Controls.Add(this.splitContainerControl1); base.Controls.Add(this.barDockControl3); base.Controls.Add(this.barDockControl4); base.Controls.Add(this.barDockControl2); base.Controls.Add(this.barDockControl1); base.EtiquetaEstado = this.lblEstado; base.Name = "_PlantillaPrompt"; this.Text = "_PlantillaPrompt"; this.grpResultados.EndInit(); this.grpCriterios.EndInit(); this.grpCriterios.ResumeLayout(false); this.grpCriterios.PerformLayout(); this.txtFiltro.Properties.EndInit(); this.cboFiltro.Properties.EndInit(); this.splitContainerControl1.EndInit(); this.splitContainerControl1.ResumeLayout(false); this.BarraBotones.EndInit(); base.ResumeLayout(false); }
/// <summary> /// Required method for Designer support - do not modify /// the contents of this method with the code editor. /// </summary> private void InitializeComponent() { this.components = new System.ComponentModel.Container(); System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(Form1)); this.barManager1 = new DevExpress.XtraBars.BarManager(this.components); this.bar1 = new DevExpress.XtraBars.Bar(); this.mFile = new DevExpress.XtraBars.BarSubItem(); this.iNew = new DevExpress.XtraBars.BarButtonItem(); this.iOpen = new DevExpress.XtraBars.BarButtonItem(); this.iClose = new DevExpress.XtraBars.BarButtonItem(); this.iSave = new DevExpress.XtraBars.BarButtonItem(); this.iSaveAs = new DevExpress.XtraBars.BarButtonItem(); this.iPrint = new DevExpress.XtraBars.BarButtonItem(); this.iExit = new DevExpress.XtraBars.BarButtonItem(); this.mEdit = new DevExpress.XtraBars.BarSubItem(); this.iUndo = new DevExpress.XtraBars.BarButtonItem(); this.iCut = new DevExpress.XtraBars.BarButtonItem(); this.iCopy = new DevExpress.XtraBars.BarButtonItem(); this.iPaste = new DevExpress.XtraBars.BarButtonItem(); this.iClear = new DevExpress.XtraBars.BarButtonItem(); this.iSelectAll = new DevExpress.XtraBars.BarButtonItem(); this.iFind = new DevExpress.XtraBars.BarButtonItem(); this.iReplace = new DevExpress.XtraBars.BarButtonItem(); this.mFormat = new DevExpress.XtraBars.BarSubItem(); this.iFont = new DevExpress.XtraBars.BarButtonItem(); this.iFontColor = new DevExpress.XtraBars.BarButtonItem(); this.iBullets = new DevExpress.XtraBars.BarButtonItem(); this.iProtected = new DevExpress.XtraBars.BarButtonItem(); this.iToolBars = new DevExpress.XtraBars.BarToolbarsListItem(); this.mHelp = new DevExpress.XtraBars.BarSubItem(); this.iWeb = new DevExpress.XtraBars.BarButtonItem(); this.iAbout = new DevExpress.XtraBars.BarButtonItem(); this.barButtonItem1 = new DevExpress.XtraBars.BarButtonItem(); this.bar2 = new DevExpress.XtraBars.Bar(); this.bar3 = new DevExpress.XtraBars.Bar(); this.iBold = new DevExpress.XtraBars.BarButtonItem(); this.iItalic = new DevExpress.XtraBars.BarButtonItem(); this.iUnderline = new DevExpress.XtraBars.BarButtonItem(); this.iAlignLeft = new DevExpress.XtraBars.BarButtonItem(); this.iCenter = new DevExpress.XtraBars.BarButtonItem(); this.iAlignRight = new DevExpress.XtraBars.BarButtonItem(); this.bar4 = new DevExpress.XtraBars.Bar(); this.iEdit = new DevExpress.XtraBars.BarButtonItem(); this.bar5 = new DevExpress.XtraBars.Bar(); this.sPosition = new DevExpress.XtraBars.BarStaticItem(); this.sModifier = new DevExpress.XtraBars.BarStaticItem(); this.sDocName = new DevExpress.XtraBars.BarStaticItem(); this.bar7 = new DevExpress.XtraBars.Bar(); this.iPaintStyle = new DevExpress.XtraBars.BarSubItem(); this.ipsDefault = new DevExpress.XtraBars.BarButtonItem(); this.ipsWXP = new DevExpress.XtraBars.BarButtonItem(); this.ipsOXP = new DevExpress.XtraBars.BarButtonItem(); this.ipsO2K = new DevExpress.XtraBars.BarButtonItem(); this.ipsO3 = new DevExpress.XtraBars.BarButtonItem(); this.barDockControl1 = new DevExpress.XtraBars.BarDockControl(); this.barDockControl2 = new DevExpress.XtraBars.BarDockControl(); this.barDockControl3 = new DevExpress.XtraBars.BarDockControl(); this.barDockControl4 = new DevExpress.XtraBars.BarDockControl(); this.imageList1 = new System.Windows.Forms.ImageList(this.components); this.treeList1 = new DevExpress.XtraTreeList.TreeList(); this.treeListColumn1 = new DevExpress.XtraTreeList.Columns.TreeListColumn(); ((System.ComponentModel.ISupportInitialize)(this.barManager1)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.treeList1)).BeginInit(); this.SuspendLayout(); // // barManager1 // this.barManager1.Bars.AddRange(new DevExpress.XtraBars.Bar[] { this.bar1, this.bar2, this.bar3, this.bar4, this.bar5, this.bar7 }); this.barManager1.Categories.AddRange(new DevExpress.XtraBars.BarManagerCategory[] { new DevExpress.XtraBars.BarManagerCategory("File", new System.Guid("4b511317-d784-42ba-b4ed-0d2a746d6c1f")), new DevExpress.XtraBars.BarManagerCategory("Edit", new System.Guid("7c2486e1-92ea-4293-ad55-b819f61ff7f1")), new DevExpress.XtraBars.BarManagerCategory("Format", new System.Guid("d3052f28-4b3e-4bae-b581-b3bb1c432258")), new DevExpress.XtraBars.BarManagerCategory("Help", new System.Guid("e07a4c24-66ac-4de6-bbcb-c0b6cfa7798b")), new DevExpress.XtraBars.BarManagerCategory("Popup", new System.Guid("78945463-36c5-4beb-a57f-d50b6a74e9b9")), new DevExpress.XtraBars.BarManagerCategory("Status", new System.Guid("77795bb7-9bc5-4dd2-a297-cc758682e23d")), new DevExpress.XtraBars.BarManagerCategory("Built-in Menus", new System.Guid("02ed6c1c-df85-47f8-9572-b20022d647f9")), new DevExpress.XtraBars.BarManagerCategory("ToolBars", new System.Guid("3856091a-e0f6-4a7c-80e9-103dece20d5b")), new DevExpress.XtraBars.BarManagerCategory("PaintStyle", new System.Guid("7102d69f-976b-49fe-978d-97325e115e10")) }); this.barManager1.DockControls.Add(this.barDockControl1); this.barManager1.DockControls.Add(this.barDockControl2); this.barManager1.DockControls.Add(this.barDockControl3); this.barManager1.DockControls.Add(this.barDockControl4); this.barManager1.Form = this; this.barManager1.Images = this.imageList1; this.barManager1.Items.AddRange(new DevExpress.XtraBars.BarItem[] { this.iNew, this.iOpen, this.iClose, this.iSave, this.iSaveAs, this.iPrint, this.iExit, this.mFile, this.iUndo, this.iCut, this.iCopy, this.iPaste, this.iClear, this.iSelectAll, this.iFind, this.iReplace, this.mEdit, this.iFont, this.iBullets, this.iProtected, this.mFormat, this.iWeb, this.iAbout, this.mHelp, this.iBold, this.iItalic, this.iUnderline, this.iAlignLeft, this.iCenter, this.iAlignRight, this.iFontColor, this.iEdit, this.sPosition, this.sModifier, this.sDocName, this.iToolBars, this.iPaintStyle, this.ipsWXP, this.ipsOXP, this.ipsO2K, this.ipsO3, this.ipsDefault, this.barButtonItem1 }); this.barManager1.MainMenu = this.bar1; this.barManager1.MaxItemId = 87; this.barManager1.StatusBar = this.bar5; // // bar1 // this.bar1.BarName = "MainMenu"; this.bar1.DockCol = 0; this.bar1.DockRow = 0; this.bar1.DockStyle = DevExpress.XtraBars.BarDockStyle.Top; this.bar1.FloatSize = new System.Drawing.Size(30, 22); this.bar1.LinksPersistInfo.AddRange(new DevExpress.XtraBars.LinkPersistInfo[] { new DevExpress.XtraBars.LinkPersistInfo(this.mFile), new DevExpress.XtraBars.LinkPersistInfo(this.mEdit), new DevExpress.XtraBars.LinkPersistInfo(this.mFormat), new DevExpress.XtraBars.LinkPersistInfo(this.iToolBars), new DevExpress.XtraBars.LinkPersistInfo(this.mHelp), new DevExpress.XtraBars.LinkPersistInfo(this.barButtonItem1) }); this.bar1.OptionsBar.DrawDragBorder = false; this.bar1.OptionsBar.MultiLine = true; this.bar1.OptionsBar.UseWholeRow = true; this.bar1.Text = "MainMenu"; // // mFile // this.mFile.Caption = "&File"; this.mFile.CategoryGuid = new System.Guid("02ed6c1c-df85-47f8-9572-b20022d647f9"); this.mFile.Id = 7; this.mFile.LinksPersistInfo.AddRange(new DevExpress.XtraBars.LinkPersistInfo[] { new DevExpress.XtraBars.LinkPersistInfo(this.iNew), new DevExpress.XtraBars.LinkPersistInfo(this.iOpen), new DevExpress.XtraBars.LinkPersistInfo(this.iClose), new DevExpress.XtraBars.LinkPersistInfo(this.iSave, true), new DevExpress.XtraBars.LinkPersistInfo(DevExpress.XtraBars.BarLinkUserDefines.None, this.iSaveAs, "", false, false, true, 0), new DevExpress.XtraBars.LinkPersistInfo(DevExpress.XtraBars.BarLinkUserDefines.None, this.iPrint, "", true, false, true, 0), new DevExpress.XtraBars.LinkPersistInfo(this.iExit, true) }); this.mFile.MenuBarWidth = 20; this.mFile.Name = "mFile"; // // iNew // this.iNew.Caption = "&New"; this.iNew.CategoryGuid = new System.Guid("4b511317-d784-42ba-b4ed-0d2a746d6c1f"); this.iNew.Description = "Creates a new, blank file."; this.iNew.Hint = "New Blank Document"; this.iNew.Id = 0; this.iNew.ImageIndex = 6; this.iNew.Name = "iNew"; // // iOpen // this.iOpen.Caption = "&Open..."; this.iOpen.CategoryGuid = new System.Guid("4b511317-d784-42ba-b4ed-0d2a746d6c1f"); this.iOpen.Description = "Opens a file."; this.iOpen.Hint = "Open"; this.iOpen.Id = 1; this.iOpen.ImageIndex = 7; this.iOpen.ItemShortcut = new DevExpress.XtraBars.BarShortcut((System.Windows.Forms.Keys.Control | System.Windows.Forms.Keys.O)); this.iOpen.Name = "iOpen"; // // iClose // this.iClose.Caption = "&Close"; this.iClose.CategoryGuid = new System.Guid("4b511317-d784-42ba-b4ed-0d2a746d6c1f"); this.iClose.Description = "Closes the active document."; this.iClose.Hint = "Close Document"; this.iClose.Id = 2; this.iClose.ImageIndex = 12; this.iClose.Name = "iClose"; // // iSave // this.iSave.Caption = "&Save"; this.iSave.CategoryGuid = new System.Guid("4b511317-d784-42ba-b4ed-0d2a746d6c1f"); this.iSave.Description = "Saves the active document with its current file name."; this.iSave.Hint = "Save"; this.iSave.Id = 3; this.iSave.ImageIndex = 10; this.iSave.Name = "iSave"; // // iSaveAs // this.iSaveAs.Caption = "Save &As..."; this.iSaveAs.CategoryGuid = new System.Guid("4b511317-d784-42ba-b4ed-0d2a746d6c1f"); this.iSaveAs.Description = "Saves the active document with a different file name."; this.iSaveAs.Id = 4; this.iSaveAs.Name = "iSaveAs"; // // iPrint // this.iPrint.Caption = "&Print"; this.iPrint.CategoryGuid = new System.Guid("4b511317-d784-42ba-b4ed-0d2a746d6c1f"); this.iPrint.Description = "Prints the active document."; this.iPrint.Hint = "Print"; this.iPrint.Id = 5; this.iPrint.ImageIndex = 9; this.iPrint.Name = "iPrint"; // // iExit // this.iExit.Caption = "E&xit"; this.iExit.CategoryGuid = new System.Guid("4b511317-d784-42ba-b4ed-0d2a746d6c1f"); this.iExit.Description = "Closes this program after prompting you to save unsaved document."; this.iExit.Id = 6; this.iExit.Name = "iExit"; // // mEdit // this.mEdit.Caption = "&Edit"; this.mEdit.CategoryGuid = new System.Guid("02ed6c1c-df85-47f8-9572-b20022d647f9"); this.mEdit.Id = 16; this.mEdit.LinksPersistInfo.AddRange(new DevExpress.XtraBars.LinkPersistInfo[] { new DevExpress.XtraBars.LinkPersistInfo(this.iUndo), new DevExpress.XtraBars.LinkPersistInfo(this.iCut, true), new DevExpress.XtraBars.LinkPersistInfo(this.iCopy), new DevExpress.XtraBars.LinkPersistInfo(this.iPaste), new DevExpress.XtraBars.LinkPersistInfo(DevExpress.XtraBars.BarLinkUserDefines.None, this.iClear, "", true, false, true, 0), new DevExpress.XtraBars.LinkPersistInfo(this.iSelectAll), new DevExpress.XtraBars.LinkPersistInfo(this.iFind, true), new DevExpress.XtraBars.LinkPersistInfo(this.iReplace) }); this.mEdit.Name = "mEdit"; // // iUndo // this.iUndo.Caption = "&Undo"; this.iUndo.CategoryGuid = new System.Guid("7c2486e1-92ea-4293-ad55-b819f61ff7f1"); this.iUndo.Description = "Reverses the last command or deletes the last entry you typed."; this.iUndo.Hint = "Undo"; this.iUndo.Id = 8; this.iUndo.ImageIndex = 11; this.iUndo.ItemShortcut = new DevExpress.XtraBars.BarShortcut((System.Windows.Forms.Keys.Control | System.Windows.Forms.Keys.Z)); this.iUndo.Name = "iUndo"; // // iCut // this.iCut.Caption = "Cu&t"; this.iCut.CategoryGuid = new System.Guid("7c2486e1-92ea-4293-ad55-b819f61ff7f1"); this.iCut.Description = "Removes the selection from the active document and places it on the Clipboard."; this.iCut.Hint = "Cut"; this.iCut.Id = 9; this.iCut.ImageIndex = 2; this.iCut.ItemShortcut = new DevExpress.XtraBars.BarShortcut((System.Windows.Forms.Keys.Control | System.Windows.Forms.Keys.X)); this.iCut.Name = "iCut"; // // iCopy // this.iCopy.Caption = "&Copy"; this.iCopy.CategoryGuid = new System.Guid("7c2486e1-92ea-4293-ad55-b819f61ff7f1"); this.iCopy.Description = "Copies the selection to the Clipboard."; this.iCopy.Hint = "Copy"; this.iCopy.Id = 10; this.iCopy.ImageIndex = 1; this.iCopy.ItemShortcut = new DevExpress.XtraBars.BarShortcut((System.Windows.Forms.Keys.Control | System.Windows.Forms.Keys.C)); this.iCopy.Name = "iCopy"; // // iPaste // this.iPaste.Caption = "&Paste"; this.iPaste.CategoryGuid = new System.Guid("7c2486e1-92ea-4293-ad55-b819f61ff7f1"); this.iPaste.Description = "Inserts the contents of the Clipboard at the insertion point, and replaces any se" + "lection. This command is available only if you have cut or copied a text."; this.iPaste.Hint = "Paste"; this.iPaste.Id = 11; this.iPaste.ImageIndex = 8; this.iPaste.ItemShortcut = new DevExpress.XtraBars.BarShortcut((System.Windows.Forms.Keys.Control | System.Windows.Forms.Keys.V)); this.iPaste.Name = "iPaste"; // // iClear // this.iClear.Caption = "Cle&ar"; this.iClear.CategoryGuid = new System.Guid("7c2486e1-92ea-4293-ad55-b819f61ff7f1"); this.iClear.Description = "Deletes the selected text without putting it on the Clipboard. This command is av" + "ailable only if a text is selected. "; this.iClear.Hint = "Clear"; this.iClear.Id = 12; this.iClear.ImageIndex = 13; this.iClear.Name = "iClear"; // // iSelectAll // this.iSelectAll.Caption = "Select A&ll"; this.iSelectAll.CategoryGuid = new System.Guid("7c2486e1-92ea-4293-ad55-b819f61ff7f1"); this.iSelectAll.Description = "Selects all text in the active document."; this.iSelectAll.Id = 13; this.iSelectAll.ItemShortcut = new DevExpress.XtraBars.BarShortcut((System.Windows.Forms.Keys.Control | System.Windows.Forms.Keys.A)); this.iSelectAll.Name = "iSelectAll"; // // iFind // this.iFind.Caption = "&Find..."; this.iFind.CategoryGuid = new System.Guid("7c2486e1-92ea-4293-ad55-b819f61ff7f1"); this.iFind.Description = "Searches for the specified text."; this.iFind.Hint = "Find"; this.iFind.Id = 14; this.iFind.ImageIndex = 3; this.iFind.ItemShortcut = new DevExpress.XtraBars.BarShortcut((System.Windows.Forms.Keys.Control | System.Windows.Forms.Keys.F)); this.iFind.Name = "iFind"; // // iReplace // this.iReplace.Caption = "R&eplace..."; this.iReplace.CategoryGuid = new System.Guid("7c2486e1-92ea-4293-ad55-b819f61ff7f1"); this.iReplace.Description = "Searches for and replaces the specified text."; this.iReplace.Hint = "Replace"; this.iReplace.Id = 15; this.iReplace.ImageIndex = 14; this.iReplace.ItemShortcut = new DevExpress.XtraBars.BarShortcut((System.Windows.Forms.Keys.Control | System.Windows.Forms.Keys.H)); this.iReplace.Name = "iReplace"; // // mFormat // this.mFormat.Caption = "F&ormat"; this.mFormat.CategoryGuid = new System.Guid("02ed6c1c-df85-47f8-9572-b20022d647f9"); this.mFormat.Id = 20; this.mFormat.LinksPersistInfo.AddRange(new DevExpress.XtraBars.LinkPersistInfo[] { new DevExpress.XtraBars.LinkPersistInfo(this.iFont), new DevExpress.XtraBars.LinkPersistInfo(DevExpress.XtraBars.BarLinkUserDefines.None, this.iFontColor, "", false, false, true, 0), new DevExpress.XtraBars.LinkPersistInfo(this.iBullets, true), new DevExpress.XtraBars.LinkPersistInfo(DevExpress.XtraBars.BarLinkUserDefines.None, this.iProtected, "", false, false, true, 0) }); this.mFormat.Name = "mFormat"; // // iFont // this.iFont.Caption = "&Font..."; this.iFont.CategoryGuid = new System.Guid("d3052f28-4b3e-4bae-b581-b3bb1c432258"); this.iFont.Description = "Changes the font and character spacing formats of the selected text."; this.iFont.Hint = "Font Dialog"; this.iFont.Id = 17; this.iFont.ImageIndex = 4; this.iFont.Name = "iFont"; // // iFontColor // this.iFontColor.ButtonStyle = DevExpress.XtraBars.BarButtonStyle.DropDown; this.iFontColor.Caption = "Font C&olor"; this.iFontColor.CategoryGuid = new System.Guid("d3052f28-4b3e-4bae-b581-b3bb1c432258"); this.iFontColor.Description = "Formats the selected text with the color you click."; this.iFontColor.Hint = "Font Color"; this.iFontColor.Id = 30; this.iFontColor.ImageIndex = 5; this.iFontColor.Name = "iFontColor"; // // iBullets // this.iBullets.ButtonStyle = DevExpress.XtraBars.BarButtonStyle.Check; this.iBullets.Caption = "&Bullets"; this.iBullets.CategoryGuid = new System.Guid("d3052f28-4b3e-4bae-b581-b3bb1c432258"); this.iBullets.Description = "Adds bullets to or removes bullets from selected paragraphs."; this.iBullets.Hint = "Bullets"; this.iBullets.Id = 18; this.iBullets.ImageIndex = 0; this.iBullets.Name = "iBullets"; // // iProtected // this.iProtected.ButtonStyle = DevExpress.XtraBars.BarButtonStyle.Check; this.iProtected.Caption = "P&rotected"; this.iProtected.CategoryGuid = new System.Guid("d3052f28-4b3e-4bae-b581-b3bb1c432258"); this.iProtected.Description = "Protectes the selected text."; this.iProtected.Id = 19; this.iProtected.Name = "iProtected"; // // iToolBars // this.iToolBars.Caption = "&ToolBars"; this.iToolBars.CategoryGuid = new System.Guid("3856091a-e0f6-4a7c-80e9-103dece20d5b"); this.iToolBars.Id = 38; this.iToolBars.Name = "iToolBars"; // // mHelp // this.mHelp.Caption = "&Help"; this.mHelp.CategoryGuid = new System.Guid("02ed6c1c-df85-47f8-9572-b20022d647f9"); this.mHelp.Id = 23; this.mHelp.LinksPersistInfo.AddRange(new DevExpress.XtraBars.LinkPersistInfo[] { new DevExpress.XtraBars.LinkPersistInfo(this.iWeb), new DevExpress.XtraBars.LinkPersistInfo(this.iAbout, true) }); this.mHelp.Name = "mHelp"; // // iWeb // this.iWeb.Caption = "&Developer Express on the Web"; this.iWeb.CategoryGuid = new System.Guid("e07a4c24-66ac-4de6-bbcb-c0b6cfa7798b"); this.iWeb.Description = "Opens the web page."; this.iWeb.Hint = "Developer Express on the Web"; this.iWeb.Id = 21; this.iWeb.ImageIndex = 21; this.iWeb.Name = "iWeb"; // // iAbout // this.iAbout.Caption = "&About"; this.iAbout.CategoryGuid = new System.Guid("e07a4c24-66ac-4de6-bbcb-c0b6cfa7798b"); this.iAbout.Description = "Displays the description of this program."; this.iAbout.Id = 22; this.iAbout.Name = "iAbout"; // // barButtonItem1 // this.barButtonItem1.Caption = "Update Links Tree"; this.barButtonItem1.Id = 86; this.barButtonItem1.Name = "barButtonItem1"; this.barButtonItem1.ItemClick += new DevExpress.XtraBars.ItemClickEventHandler(this.barButtonItem1_ItemClick); // // bar2 // this.bar2.BarName = "Standard"; this.bar2.DockCol = 0; this.bar2.DockRow = 1; this.bar2.DockStyle = DevExpress.XtraBars.BarDockStyle.Top; this.bar2.FloatSize = new System.Drawing.Size(48, 26); this.bar2.LinksPersistInfo.AddRange(new DevExpress.XtraBars.LinkPersistInfo[] { new DevExpress.XtraBars.LinkPersistInfo(this.iNew), new DevExpress.XtraBars.LinkPersistInfo(this.iOpen), new DevExpress.XtraBars.LinkPersistInfo(this.iSave), new DevExpress.XtraBars.LinkPersistInfo(this.iPrint, true), new DevExpress.XtraBars.LinkPersistInfo(this.iCut, true), new DevExpress.XtraBars.LinkPersistInfo(this.iCopy), new DevExpress.XtraBars.LinkPersistInfo(this.iPaste), new DevExpress.XtraBars.LinkPersistInfo(this.iUndo, true) }); this.bar2.Text = "Standard"; // // bar3 // this.bar3.BarName = "Format"; this.bar3.DockCol = 0; this.bar3.DockRow = 2; this.bar3.DockStyle = DevExpress.XtraBars.BarDockStyle.Top; this.bar3.FloatLocation = new System.Drawing.Point(34, 212); this.bar3.FloatSize = new System.Drawing.Size(27, 168); this.bar3.LinksPersistInfo.AddRange(new DevExpress.XtraBars.LinkPersistInfo[] { new DevExpress.XtraBars.LinkPersistInfo(this.iBold), new DevExpress.XtraBars.LinkPersistInfo(this.iItalic), new DevExpress.XtraBars.LinkPersistInfo(this.iUnderline), new DevExpress.XtraBars.LinkPersistInfo(this.iAlignLeft, true), new DevExpress.XtraBars.LinkPersistInfo(this.iCenter), new DevExpress.XtraBars.LinkPersistInfo(this.iAlignRight), new DevExpress.XtraBars.LinkPersistInfo(this.iBullets, true) }); this.bar3.Text = "Format"; // // iBold // this.iBold.ButtonStyle = DevExpress.XtraBars.BarButtonStyle.Check; this.iBold.Caption = "&Bold"; this.iBold.CategoryGuid = new System.Guid("d3052f28-4b3e-4bae-b581-b3bb1c432258"); this.iBold.Description = "Makes selected text and numbers bold. If the selection is already bold, clicking " + "button removes bold formatting."; this.iBold.Hint = "Bold"; this.iBold.Id = 24; this.iBold.ImageIndex = 15; this.iBold.ItemShortcut = new DevExpress.XtraBars.BarShortcut((System.Windows.Forms.Keys.Control | System.Windows.Forms.Keys.B)); this.iBold.Name = "iBold"; // // iItalic // this.iItalic.ButtonStyle = DevExpress.XtraBars.BarButtonStyle.Check; this.iItalic.Caption = "&Italic"; this.iItalic.CategoryGuid = new System.Guid("d3052f28-4b3e-4bae-b581-b3bb1c432258"); this.iItalic.Description = "Makes selected text and numbers italic. If the selection is already italic, click" + "ing button removes italic formatting."; this.iItalic.Hint = "Italic"; this.iItalic.Id = 25; this.iItalic.ImageIndex = 16; this.iItalic.ItemShortcut = new DevExpress.XtraBars.BarShortcut((System.Windows.Forms.Keys.Control | System.Windows.Forms.Keys.I)); this.iItalic.Name = "iItalic"; // // iUnderline // this.iUnderline.ButtonStyle = DevExpress.XtraBars.BarButtonStyle.Check; this.iUnderline.Caption = "&Underline"; this.iUnderline.CategoryGuid = new System.Guid("d3052f28-4b3e-4bae-b581-b3bb1c432258"); this.iUnderline.Description = "Underlines selected text and numbers. If the selection is already underlined, cli" + "cking button removes underlining."; this.iUnderline.Hint = "Underline"; this.iUnderline.Id = 26; this.iUnderline.ImageIndex = 17; this.iUnderline.ItemShortcut = new DevExpress.XtraBars.BarShortcut((System.Windows.Forms.Keys.Control | System.Windows.Forms.Keys.U)); this.iUnderline.Name = "iUnderline"; // // iAlignLeft // this.iAlignLeft.ButtonStyle = DevExpress.XtraBars.BarButtonStyle.Check; this.iAlignLeft.Caption = "Align &Left"; this.iAlignLeft.CategoryGuid = new System.Guid("d3052f28-4b3e-4bae-b581-b3bb1c432258"); this.iAlignLeft.Description = "Aligns the selected text to the left."; this.iAlignLeft.GroupIndex = 1; this.iAlignLeft.Hint = "Align Left"; this.iAlignLeft.Id = 27; this.iAlignLeft.ImageIndex = 18; this.iAlignLeft.ItemShortcut = new DevExpress.XtraBars.BarShortcut((System.Windows.Forms.Keys.Control | System.Windows.Forms.Keys.L)); this.iAlignLeft.Name = "iAlignLeft"; // // iCenter // this.iCenter.ButtonStyle = DevExpress.XtraBars.BarButtonStyle.Check; this.iCenter.Caption = "&Center"; this.iCenter.CategoryGuid = new System.Guid("d3052f28-4b3e-4bae-b581-b3bb1c432258"); this.iCenter.Description = "Centers the selected text."; this.iCenter.GroupIndex = 1; this.iCenter.Hint = "Center"; this.iCenter.Id = 28; this.iCenter.ImageIndex = 19; this.iCenter.ItemShortcut = new DevExpress.XtraBars.BarShortcut((System.Windows.Forms.Keys.Control | System.Windows.Forms.Keys.E)); this.iCenter.Name = "iCenter"; // // iAlignRight // this.iAlignRight.ButtonStyle = DevExpress.XtraBars.BarButtonStyle.Check; this.iAlignRight.Caption = "Align &Right"; this.iAlignRight.CategoryGuid = new System.Guid("d3052f28-4b3e-4bae-b581-b3bb1c432258"); this.iAlignRight.Description = "Aligns the selected text to the right."; this.iAlignRight.GroupIndex = 1; this.iAlignRight.Hint = "Align Right"; this.iAlignRight.Id = 29; this.iAlignRight.ImageIndex = 20; this.iAlignRight.ItemShortcut = new DevExpress.XtraBars.BarShortcut((System.Windows.Forms.Keys.Control | System.Windows.Forms.Keys.R)); this.iAlignRight.Name = "iAlignRight"; // // bar4 // this.bar4.BarName = "Font"; this.bar4.DockCol = 0; this.bar4.DockRow = 0; this.bar4.DockStyle = DevExpress.XtraBars.BarDockStyle.Right; this.bar4.FloatLocation = new System.Drawing.Point(493, 252); this.bar4.FloatSize = new System.Drawing.Size(48, 26); this.bar4.LinksPersistInfo.AddRange(new DevExpress.XtraBars.LinkPersistInfo[] { new DevExpress.XtraBars.LinkPersistInfo(this.iFont), new DevExpress.XtraBars.LinkPersistInfo(this.iFontColor), new DevExpress.XtraBars.LinkPersistInfo(this.iEdit, true) }); this.bar4.Text = "Font"; // // iEdit // this.iEdit.ButtonStyle = DevExpress.XtraBars.BarButtonStyle.DropDown; this.iEdit.Caption = "&Edit..."; this.iEdit.CategoryGuid = new System.Guid("78945463-36c5-4beb-a57f-d50b6a74e9b9"); this.iEdit.Hint = "Edit Menu"; this.iEdit.Id = 31; this.iEdit.ImageIndex = 22; this.iEdit.Name = "iEdit"; // // bar5 // this.bar5.BarName = "StatusBar"; this.bar5.CanDockStyle = DevExpress.XtraBars.BarCanDockStyle.Bottom; this.bar5.DockCol = 0; this.bar5.DockRow = 0; this.bar5.DockStyle = DevExpress.XtraBars.BarDockStyle.Bottom; this.bar5.FloatLocation = new System.Drawing.Point(86, 499); this.bar5.FloatSize = new System.Drawing.Size(48, 26); this.bar5.LinksPersistInfo.AddRange(new DevExpress.XtraBars.LinkPersistInfo[] { new DevExpress.XtraBars.LinkPersistInfo(this.sPosition), new DevExpress.XtraBars.LinkPersistInfo(this.sModifier), new DevExpress.XtraBars.LinkPersistInfo(this.sDocName) }); this.bar5.OptionsBar.AllowQuickCustomization = false; this.bar5.OptionsBar.DrawDragBorder = false; this.bar5.OptionsBar.DrawSizeGrip = true; this.bar5.OptionsBar.UseWholeRow = true; this.bar5.Text = "StatusBar"; // // sPosition // this.sPosition.AutoSize = DevExpress.XtraBars.BarStaticItemSize.None; this.sPosition.Caption = "Position"; this.sPosition.CategoryGuid = new System.Guid("77795bb7-9bc5-4dd2-a297-cc758682e23d"); this.sPosition.Id = 32; this.sPosition.Name = "sPosition"; this.sPosition.RightIndent = 2; this.sPosition.TextAlignment = System.Drawing.StringAlignment.Center; this.sPosition.Width = 145; // // sModifier // this.sModifier.AutoSize = DevExpress.XtraBars.BarStaticItemSize.None; this.sModifier.Caption = "Modifier"; this.sModifier.CategoryGuid = new System.Guid("77795bb7-9bc5-4dd2-a297-cc758682e23d"); this.sModifier.Id = 33; this.sModifier.Name = "sModifier"; this.sModifier.RightIndent = 2; this.sModifier.TextAlignment = System.Drawing.StringAlignment.Center; this.sModifier.Width = 60; // // sDocName // this.sDocName.AutoSize = DevExpress.XtraBars.BarStaticItemSize.Spring; this.sDocName.Caption = "Name"; this.sDocName.CategoryGuid = new System.Guid("77795bb7-9bc5-4dd2-a297-cc758682e23d"); this.sDocName.Id = 34; this.sDocName.Name = "sDocName"; this.sDocName.TextAlignment = System.Drawing.StringAlignment.Near; this.sDocName.Width = 245; // // bar7 // this.bar7.BarName = "PaintStyle"; this.bar7.DockCol = 1; this.bar7.DockRow = 1; this.bar7.DockStyle = DevExpress.XtraBars.BarDockStyle.Top; this.bar7.LinksPersistInfo.AddRange(new DevExpress.XtraBars.LinkPersistInfo[] { new DevExpress.XtraBars.LinkPersistInfo(this.iPaintStyle) }); this.bar7.Offset = 226; this.bar7.OptionsBar.AllowQuickCustomization = false; this.bar7.OptionsBar.RotateWhenVertical = false; this.bar7.Text = "PaintStyle"; // // iPaintStyle // this.iPaintStyle.Caption = "Paint Style"; this.iPaintStyle.CategoryGuid = new System.Guid("7102d69f-976b-49fe-978d-97325e115e10"); this.iPaintStyle.Id = 55; this.iPaintStyle.LinksPersistInfo.AddRange(new DevExpress.XtraBars.LinkPersistInfo[] { new DevExpress.XtraBars.LinkPersistInfo(this.ipsDefault), new DevExpress.XtraBars.LinkPersistInfo(this.ipsWXP), new DevExpress.XtraBars.LinkPersistInfo(this.ipsOXP), new DevExpress.XtraBars.LinkPersistInfo(this.ipsO2K), new DevExpress.XtraBars.LinkPersistInfo(this.ipsO3) }); this.iPaintStyle.Name = "iPaintStyle"; this.iPaintStyle.PaintStyle = DevExpress.XtraBars.BarItemPaintStyle.CaptionGlyph; // // ipsDefault // this.ipsDefault.Caption = "Default"; this.ipsDefault.CategoryGuid = new System.Guid("7102d69f-976b-49fe-978d-97325e115e10"); this.ipsDefault.Description = "Default"; this.ipsDefault.Id = 74; this.ipsDefault.Name = "ipsDefault"; // // ipsWXP // this.ipsWXP.Caption = "Windows XP"; this.ipsWXP.CategoryGuid = new System.Guid("7102d69f-976b-49fe-978d-97325e115e10"); this.ipsWXP.Description = "WindowsXP"; this.ipsWXP.Id = 56; this.ipsWXP.ImageIndex = 25; this.ipsWXP.Name = "ipsWXP"; // // ipsOXP // this.ipsOXP.Caption = "Office XP"; this.ipsOXP.CategoryGuid = new System.Guid("7102d69f-976b-49fe-978d-97325e115e10"); this.ipsOXP.Description = "OfficeXP"; this.ipsOXP.Id = 57; this.ipsOXP.ImageIndex = 23; this.ipsOXP.Name = "ipsOXP"; // // ipsO2K // this.ipsO2K.Caption = "Office 2000"; this.ipsO2K.CategoryGuid = new System.Guid("7102d69f-976b-49fe-978d-97325e115e10"); this.ipsO2K.Description = "Office2000"; this.ipsO2K.Id = 58; this.ipsO2K.ImageIndex = 24; this.ipsO2K.Name = "ipsO2K"; // // ipsO3 // this.ipsO3.Caption = "Office 2003"; this.ipsO3.CategoryGuid = new System.Guid("7102d69f-976b-49fe-978d-97325e115e10"); this.ipsO3.Description = "Office2003"; this.ipsO3.Id = 69; this.ipsO3.ImageIndex = 26; this.ipsO3.Name = "ipsO3"; // // barDockControl1 // this.barDockControl1.Dock = System.Windows.Forms.DockStyle.Top; this.barDockControl1.Location = new System.Drawing.Point(0, 0); this.barDockControl1.Size = new System.Drawing.Size(550, 78); // // barDockControl2 // this.barDockControl2.Dock = System.Windows.Forms.DockStyle.Bottom; this.barDockControl2.Location = new System.Drawing.Point(0, 374); this.barDockControl2.Size = new System.Drawing.Size(550, 28); // // barDockControl3 // this.barDockControl3.Dock = System.Windows.Forms.DockStyle.Left; this.barDockControl3.Location = new System.Drawing.Point(0, 78); this.barDockControl3.Size = new System.Drawing.Size(0, 296); // // barDockControl4 // this.barDockControl4.Dock = System.Windows.Forms.DockStyle.Right; this.barDockControl4.Location = new System.Drawing.Point(513, 78); this.barDockControl4.Size = new System.Drawing.Size(37, 296); // // imageList1 // this.imageList1.ImageStream = ((System.Windows.Forms.ImageListStreamer)(resources.GetObject("imageList1.ImageStream"))); this.imageList1.TransparentColor = System.Drawing.Color.Magenta; this.imageList1.Images.SetKeyName(0, ""); this.imageList1.Images.SetKeyName(1, ""); this.imageList1.Images.SetKeyName(2, ""); this.imageList1.Images.SetKeyName(3, ""); this.imageList1.Images.SetKeyName(4, ""); this.imageList1.Images.SetKeyName(5, ""); this.imageList1.Images.SetKeyName(6, ""); this.imageList1.Images.SetKeyName(7, ""); this.imageList1.Images.SetKeyName(8, ""); this.imageList1.Images.SetKeyName(9, ""); this.imageList1.Images.SetKeyName(10, ""); this.imageList1.Images.SetKeyName(11, ""); this.imageList1.Images.SetKeyName(12, ""); this.imageList1.Images.SetKeyName(13, ""); this.imageList1.Images.SetKeyName(14, ""); this.imageList1.Images.SetKeyName(15, ""); this.imageList1.Images.SetKeyName(16, ""); this.imageList1.Images.SetKeyName(17, ""); this.imageList1.Images.SetKeyName(18, ""); this.imageList1.Images.SetKeyName(19, ""); this.imageList1.Images.SetKeyName(20, ""); this.imageList1.Images.SetKeyName(21, ""); this.imageList1.Images.SetKeyName(22, ""); this.imageList1.Images.SetKeyName(23, ""); this.imageList1.Images.SetKeyName(24, ""); this.imageList1.Images.SetKeyName(25, ""); this.imageList1.Images.SetKeyName(26, ""); // // treeList1 // this.treeList1.Columns.AddRange(new DevExpress.XtraTreeList.Columns.TreeListColumn[] { this.treeListColumn1 }); this.treeList1.Dock = System.Windows.Forms.DockStyle.Fill; this.treeList1.Location = new System.Drawing.Point(0, 78); this.treeList1.Name = "treeList1"; this.treeList1.OptionsBehavior.Editable = false; this.treeList1.Size = new System.Drawing.Size(513, 296); this.treeList1.TabIndex = 4; // // treeListColumn1 // this.treeListColumn1.Caption = "Toolbar / Item Name"; this.treeListColumn1.FieldName = "Toolbar / Item Name"; this.treeListColumn1.Name = "treeListColumn1"; this.treeListColumn1.Visible = true; this.treeListColumn1.VisibleIndex = 0; // // Form1 // this.AutoScaleBaseSize = new System.Drawing.Size(5, 13); this.ClientSize = new System.Drawing.Size(550, 402); this.Controls.Add(this.treeList1); this.Controls.Add(this.barDockControl3); this.Controls.Add(this.barDockControl4); this.Controls.Add(this.barDockControl2); this.Controls.Add(this.barDockControl1); this.Name = "Form1"; this.Text = "How to enumerate buttons in a menu or on a toolbar"; this.Load += new System.EventHandler(this.Form1_Load); ((System.ComponentModel.ISupportInitialize)(this.barManager1)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.treeList1)).EndInit(); this.ResumeLayout(false); }
/// <summary> /// Required method for Designer support - do not modify /// the contents of this method with the code editor. /// </summary> private void InitializeComponent() { this.components = new System.ComponentModel.Container(); System.Resources.ResourceManager resources = new System.Resources.ResourceManager(typeof(MainForm)); this.barManager_Main = new DevExpress.XtraBars.BarManager(); this.barMain = new DevExpress.XtraBars.Bar(); this.barSubItem_System = new DevExpress.XtraBars.BarSubItem(); this.barButtonItem_PrintSetting = new DevExpress.XtraBars.BarButtonItem(); this.barButtonItem_Logout = new DevExpress.XtraBars.BarButtonItem(); this.barButtonItem_Exit = new DevExpress.XtraBars.BarButtonItem(); this.barSubItem_Tools = new DevExpress.XtraBars.BarSubItem(); this.barButtonItem_CustomDefine = new DevExpress.XtraBars.BarButtonItem(); this.barButtonItem_CarDataSynch = new DevExpress.XtraBars.BarButtonItem(); this.barButtonItem_Options = new DevExpress.XtraBars.BarButtonItem(); this.barButtonItem1 = new DevExpress.XtraBars.BarButtonItem(); this.barSubItem_Windows = new DevExpress.XtraBars.BarSubItem(); this.barButtonItem_DutyInfo = new DevExpress.XtraBars.BarButtonItem(); this.barSubItem_Style = new DevExpress.XtraBars.BarSubItem(); this.barButtonItem_DefaultSkin = new DevExpress.XtraBars.BarButtonItem(); this.barButtonItem_WinXPSkin = new DevExpress.XtraBars.BarButtonItem(); this.barButtonItem_OfficeXP = new DevExpress.XtraBars.BarButtonItem(); this.barButtonItem_Office2000 = new DevExpress.XtraBars.BarButtonItem(); this.barButtonItem_Office2003 = new DevExpress.XtraBars.BarButtonItem(); this.barSubItem_Help = new DevExpress.XtraBars.BarSubItem(); this.barButtonItem_Help = new DevExpress.XtraBars.BarButtonItem(); this.barButtonItem_About = new DevExpress.XtraBars.BarButtonItem(); this.barToolBar = new DevExpress.XtraBars.Bar(); this.barStatus = new DevExpress.XtraBars.Bar(); this.barStaticItem_Ready = new DevExpress.XtraBars.BarStaticItem(); this.barStaticItem_SystemInfo = new DevExpress.XtraBars.BarStaticItem(); this.barStaticItem_SystemDate = new DevExpress.XtraBars.BarStaticItem(); this.barStaticItem_Custom = new DevExpress.XtraBars.BarStaticItem(); this.barDockControlTop = new DevExpress.XtraBars.BarDockControl(); this.barDockControlBottom = new DevExpress.XtraBars.BarDockControl(); this.barDockControlLeft = new DevExpress.XtraBars.BarDockControl(); this.barDockControlRight = new DevExpress.XtraBars.BarDockControl(); this.dockManager_CurrentStuCheckInfo = new DevExpress.XtraBars.Docking.DockManager(); this.hideContainerRight = new DevExpress.XtraBars.Docking.AutoHideContainer(); this.currentStuCheckInfo = new DevExpress.XtraBars.Docking.DockPanel(); this.dockPanel1_Container = new DevExpress.XtraBars.Docking.ControlContainer(); this.imageList_ToolBarIcon = new System.Windows.Forms.ImageList(this.components); this.pictureBox_Border = new System.Windows.Forms.PictureBox(); this.navBarControl_Main = new DevExpress.XtraNavBar.NavBarControl(); this.navBarGroup_GardenInfo = new DevExpress.XtraNavBar.NavBarGroup(); this.navBarItem_GardenInfo = new DevExpress.XtraNavBar.NavBarItem(); this.navBarGroup_TeacherInfo = new DevExpress.XtraNavBar.NavBarGroup(); this.navBarItem_TeaBaseInfo = new DevExpress.XtraNavBar.NavBarItem(); this.navBarItem_TeaDutyInfo = new DevExpress.XtraNavBar.NavBarItem(); this.navBarGroup_StudentInfo = new DevExpress.XtraNavBar.NavBarGroup(); this.navBarItem_StuBaseInfo = new DevExpress.XtraNavBar.NavBarItem(); this.navBarItem_StuDutyInfo = new DevExpress.XtraNavBar.NavBarItem(); this.navBarItem_RealTimeInfo = new DevExpress.XtraNavBar.NavBarItem(); this.navBarItem_StuHealth = new DevExpress.XtraNavBar.NavBarItem(); this.navBarItem_StuVisit = new DevExpress.XtraNavBar.NavBarItem(); this.navBarGroup_GardenAffair = new DevExpress.XtraNavBar.NavBarGroup(); this.navBarItem_CardManagement = new DevExpress.XtraNavBar.NavBarItem(); this.navBarItem_Finance = new DevExpress.XtraNavBar.NavBarItem(); this.navBarItem_SMSInfo = new DevExpress.XtraNavBar.NavBarItem(); this.navBarItem_AffairNotify = new DevExpress.XtraNavBar.NavBarItem(); this.navBarItem_Camera = new DevExpress.XtraNavBar.NavBarItem(); this.splitterControlMain = new DevExpress.XtraEditors.SplitterControl(); this.paneCaption_Title = new CPTT.WinUI.Panels.PaneCaption(); this.pictureBox_BackLogo = new System.Windows.Forms.PictureBox(); this.panelControl_Center = new DevExpress.XtraEditors.PanelControl(); this.nutritionManagement1 = new CPTT.WinUI.Panels.NutritionManagement(); this.finanManagement1 = new CPTT.WinUI.Panels.FinanManagement(); this.realtimeInfo_Teacher1 = new CPTT.WinUI.Panels.RealtimeInfo_Teacher(); this.smsInfo1 = new CPTT.WinUI.Panels.SmsInfo(); // this.gardenInfo1 = new CPTT.WinUI.Panels.GardenInfo(); // this.teacherOnDutyInfo1 = new CPTT.WinUI.Panels.TeacherOnDutyInfo(); this.studentVisitInfo1 = new CPTT.WinUI.Panels.StudentVisitInfo(); this.realtimeInfo1 = new CPTT.WinUI.Panels.RealtimeInfo(); this.teacherBaseInfo1 = new CPTT.WinUI.Panels.TeacherBaseInfo(); this.studentBaseInfo1 = new CPTT.WinUI.Panels.StudentBaseInfo(); this.cameraPanel = new CPTT.WinUI.Panels.Camera(); this.studentMorningCheckInfo1 = new CPTT.WinUI.Panels.StudentMorningCheckInfo(); this.cardManagement2 = new CPTT.WinUI.Panels.CardManagement(); this.realTimeWindows = new CPTT.WinUI.Panels.RealTimeWindows(this); this.transactionReminding1 = new CPTT.WinUI.Panels.TransactionReminding(); this.notifyIcon_MainForm = new System.Windows.Forms.NotifyIcon(this.components); this.contextMenu_NotifyIcon = new System.Windows.Forms.ContextMenu(); this.menuItem_ShowMainForm = new System.Windows.Forms.MenuItem(); this.menuItem_Exit = new System.Windows.Forms.MenuItem(); this.navBarItem_RealtimeInfo_Teacher = new DevExpress.XtraNavBar.NavBarItem(); this.timerSynSession = new System.Timers.Timer(); ((System.ComponentModel.ISupportInitialize)(this.timerSynSession)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.barManager_Main)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.dockManager_CurrentStuCheckInfo)).BeginInit(); this.hideContainerRight.SuspendLayout(); this.currentStuCheckInfo.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)(this.navBarControl_Main)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.panelControl_Center)).BeginInit(); this.panelControl_Center.SuspendLayout(); this.SuspendLayout(); // // barManager_Main // this.barManager_Main.AllowCustomization = false; this.barManager_Main.Bars.AddRange(new DevExpress.XtraBars.Bar[] { this.barMain, this.barToolBar, this.barStatus}); this.barManager_Main.DockControls.Add(this.barDockControlTop); this.barManager_Main.DockControls.Add(this.barDockControlBottom); this.barManager_Main.DockControls.Add(this.barDockControlLeft); this.barManager_Main.DockControls.Add(this.barDockControlRight); this.barManager_Main.DockManager = this.dockManager_CurrentStuCheckInfo; this.barManager_Main.Form = this; this.barManager_Main.Images = this.imageList_ToolBarIcon; this.barManager_Main.Items.AddRange(new DevExpress.XtraBars.BarItem[] { this.barSubItem_System, this.barButtonItem_Exit, this.barSubItem_Windows, this.barSubItem_Style, this.barSubItem_Tools, this.barSubItem_Help, this.barButtonItem_Logout, this.barButtonItem_DutyInfo, this.barButtonItem_Help, this.barButtonItem_About, this.barStaticItem_SystemInfo, this.barStaticItem_SystemDate, this.barStaticItem_Custom, this.barButtonItem_CarDataSynch, this.barButtonItem_Options, this.barButtonItem_DefaultSkin, this.barButtonItem_WinXPSkin, this.barButtonItem_OfficeXP, this.barButtonItem_Office2000, this.barButtonItem_Office2003, this.barStaticItem_Ready, this.barButtonItem_CustomDefine, this.barButtonItem_PrintSetting, this.barButtonItem1}); this.barManager_Main.LargeImages = this.imageList_ToolBarIcon; this.barManager_Main.MainMenu = this.barMain; this.barManager_Main.MaxItemId = 32; this.barManager_Main.StatusBar = this.barStatus; // // barMain // this.barMain.BarName = "主菜单"; this.barMain.DockCol = 0; this.barMain.DockRow = 0; this.barMain.DockStyle = DevExpress.XtraBars.BarDockStyle.Top; this.barMain.LinksPersistInfo.AddRange(new DevExpress.XtraBars.LinkPersistInfo[] { new DevExpress.XtraBars.LinkPersistInfo(DevExpress.XtraBars.BarLinkUserDefines.PaintStyle, this.barSubItem_System, DevExpress.XtraBars.BarItemPaintStyle.CaptionGlyph), new DevExpress.XtraBars.LinkPersistInfo(DevExpress.XtraBars.BarLinkUserDefines.PaintStyle, this.barSubItem_Tools, DevExpress.XtraBars.BarItemPaintStyle.CaptionGlyph), new DevExpress.XtraBars.LinkPersistInfo(DevExpress.XtraBars.BarLinkUserDefines.PaintStyle, this.barSubItem_Windows, DevExpress.XtraBars.BarItemPaintStyle.CaptionGlyph), new DevExpress.XtraBars.LinkPersistInfo(DevExpress.XtraBars.BarLinkUserDefines.PaintStyle, this.barSubItem_Help, DevExpress.XtraBars.BarItemPaintStyle.CaptionGlyph)}); this.barMain.OptionsBar.AllowQuickCustomization = false; this.barMain.OptionsBar.MultiLine = true; this.barMain.OptionsBar.UseWholeRow = true; this.barMain.Text = "主菜单"; // // barSubItem_System // this.barSubItem_System.Caption = "系统(&S)"; this.barSubItem_System.Id = 0; this.barSubItem_System.ImageIndex = 6; this.barSubItem_System.LinksPersistInfo.AddRange(new DevExpress.XtraBars.LinkPersistInfo[] { new DevExpress.XtraBars.LinkPersistInfo(this.barButtonItem_PrintSetting), new DevExpress.XtraBars.LinkPersistInfo(this.barButtonItem_Logout), new DevExpress.XtraBars.LinkPersistInfo(this.barButtonItem_Exit)}); this.barSubItem_System.Name = "barSubItem_System"; // // barButtonItem_PrintSetting // this.barButtonItem_PrintSetting.Caption = "打印设置"; this.barButtonItem_PrintSetting.Glyph = ((System.Drawing.Image)(resources.GetObject("barButtonItem_PrintSetting.Glyph"))); this.barButtonItem_PrintSetting.Id = 29; this.barButtonItem_PrintSetting.Name = "barButtonItem_PrintSetting"; this.barButtonItem_PrintSetting.Visibility = DevExpress.XtraBars.BarItemVisibility.Never; // // barButtonItem_Logout // this.barButtonItem_Logout.Caption = "注销(&O)"; this.barButtonItem_Logout.Hint = "注销"; this.barButtonItem_Logout.Id = 10; this.barButtonItem_Logout.ImageIndex = 7; this.barButtonItem_Logout.Name = "barButtonItem_Logout"; this.barButtonItem_Logout.ItemClick += new DevExpress.XtraBars.ItemClickEventHandler(this.barButtonItem_Logout_ItemClick); // // barButtonItem_Exit // this.barButtonItem_Exit.Caption = "退出(&X)"; this.barButtonItem_Exit.Glyph = ((System.Drawing.Image)(resources.GetObject("barButtonItem_Exit.Glyph"))); this.barButtonItem_Exit.Id = 2; this.barButtonItem_Exit.ItemShortcut = new DevExpress.XtraBars.BarShortcut((System.Windows.Forms.Keys.Alt | System.Windows.Forms.Keys.X)); this.barButtonItem_Exit.Name = "barButtonItem_Exit"; this.barButtonItem_Exit.ItemClick += new DevExpress.XtraBars.ItemClickEventHandler(this.barButtonItem_Exit_ItemClick); // // barSubItem_Tools // this.barSubItem_Tools.Caption = "工具(&T)"; this.barSubItem_Tools.Glyph = ((System.Drawing.Image)(resources.GetObject("barSubItem_Tools.Glyph"))); this.barSubItem_Tools.Id = 7; this.barSubItem_Tools.LinksPersistInfo.AddRange(new DevExpress.XtraBars.LinkPersistInfo[] { new DevExpress.XtraBars.LinkPersistInfo(this.barButtonItem_CustomDefine), new DevExpress.XtraBars.LinkPersistInfo(this.barButtonItem_CarDataSynch), new DevExpress.XtraBars.LinkPersistInfo(this.barButtonItem_Options), new DevExpress.XtraBars.LinkPersistInfo(this.barButtonItem1)}); this.barSubItem_Tools.Name = "barSubItem_Tools"; // // barButtonItem_CustomDefine // this.barButtonItem_CustomDefine.Caption = "自定义信息维护(&C)"; this.barButtonItem_CustomDefine.Hint = "自定义信息维护"; this.barButtonItem_CustomDefine.Id = 28; this.barButtonItem_CustomDefine.ImageIndex = 10; this.barButtonItem_CustomDefine.Name = "barButtonItem_CustomDefine"; this.barButtonItem_CustomDefine.ItemClick += new DevExpress.XtraBars.ItemClickEventHandler(this.barButtonItem_CustomDefine_ItemClick); // // barButtonItem_CarDataSynch // this.barButtonItem_CarDataSynch.Caption = "车载机数据同步(&Y)"; this.barButtonItem_CarDataSynch.Hint = "车载机数据同步"; this.barButtonItem_CarDataSynch.Id = 20; this.barButtonItem_CarDataSynch.ImageIndex = 11; this.barButtonItem_CarDataSynch.Name = "barButtonItem_CarDataSynch"; this.barButtonItem_CarDataSynch.Visibility = DevExpress.XtraBars.BarItemVisibility.Never; // // barButtonItem_Options // this.barButtonItem_Options.Caption = "选项(&O)"; this.barButtonItem_Options.Id = 21; this.barButtonItem_Options.ImageIndex = 15; this.barButtonItem_Options.Name = "barButtonItem_Options"; this.barButtonItem_Options.ItemClick += new DevExpress.XtraBars.ItemClickEventHandler(this.barButtonItem_Options_ItemClick); // // barButtonItem1 // this.barButtonItem1.Caption = "硬件配置管理(&K)"; this.barButtonItem1.Id = 31; this.barButtonItem1.ImageIndex = 11; this.barButtonItem1.Name = "barButtonItem1"; this.barButtonItem1.ItemClick += new DevExpress.XtraBars.ItemClickEventHandler(this.barButtonItem1_ItemClick); // // barSubItem_Windows // this.barSubItem_Windows.Caption = "窗口(&W)"; this.barSubItem_Windows.Id = 3; this.barSubItem_Windows.ImageIndex = 13; this.barSubItem_Windows.LinksPersistInfo.AddRange(new DevExpress.XtraBars.LinkPersistInfo[] { new DevExpress.XtraBars.LinkPersistInfo(this.barButtonItem_DutyInfo), new DevExpress.XtraBars.LinkPersistInfo(this.barSubItem_Style)}); this.barSubItem_Windows.Name = "barSubItem_Windows"; // // barButtonItem_DutyInfo // this.barButtonItem_DutyInfo.Caption = "实时出勤信息窗口(&D)"; this.barButtonItem_DutyInfo.Glyph = ((System.Drawing.Image)(resources.GetObject("barButtonItem_DutyInfo.Glyph"))); this.barButtonItem_DutyInfo.Hint = "实时晨检出勤窗口"; this.barButtonItem_DutyInfo.Id = 11; this.barButtonItem_DutyInfo.ImageIndex = 8; this.barButtonItem_DutyInfo.Name = "barButtonItem_DutyInfo"; this.barButtonItem_DutyInfo.ItemClick += new DevExpress.XtraBars.ItemClickEventHandler(this.barButtonItem_DutyInfo_ItemClick); // // barSubItem_Style // this.barSubItem_Style.Caption = "窗体风格(&S)"; this.barSubItem_Style.Id = 6; this.barSubItem_Style.ImageIndex = 8; this.barSubItem_Style.LinksPersistInfo.AddRange(new DevExpress.XtraBars.LinkPersistInfo[] { new DevExpress.XtraBars.LinkPersistInfo(this.barButtonItem_DefaultSkin), new DevExpress.XtraBars.LinkPersistInfo(this.barButtonItem_WinXPSkin), new DevExpress.XtraBars.LinkPersistInfo(this.barButtonItem_OfficeXP), new DevExpress.XtraBars.LinkPersistInfo(this.barButtonItem_Office2000), new DevExpress.XtraBars.LinkPersistInfo(this.barButtonItem_Office2003)}); this.barSubItem_Style.Name = "barSubItem_Style"; // // barButtonItem_DefaultSkin // this.barButtonItem_DefaultSkin.Caption = "默认"; this.barButtonItem_DefaultSkin.Id = 22; this.barButtonItem_DefaultSkin.Name = "barButtonItem_DefaultSkin"; this.barButtonItem_DefaultSkin.ItemClick += new DevExpress.XtraBars.ItemClickEventHandler(this.barButtonItem_DefaultSkin_ItemClick); // // barButtonItem_WinXPSkin // this.barButtonItem_WinXPSkin.Caption = "Windows XP"; this.barButtonItem_WinXPSkin.Id = 23; this.barButtonItem_WinXPSkin.ImageIndex = 0; this.barButtonItem_WinXPSkin.Name = "barButtonItem_WinXPSkin"; this.barButtonItem_WinXPSkin.ItemClick += new DevExpress.XtraBars.ItemClickEventHandler(this.barButtonItem_WinXPSkin_ItemClick); // // barButtonItem_OfficeXP // this.barButtonItem_OfficeXP.Caption = "Office XP"; this.barButtonItem_OfficeXP.Id = 24; this.barButtonItem_OfficeXP.ImageIndex = 1; this.barButtonItem_OfficeXP.Name = "barButtonItem_OfficeXP"; this.barButtonItem_OfficeXP.ItemClick += new DevExpress.XtraBars.ItemClickEventHandler(this.barButtonItem_OfficeXP_ItemClick); // // barButtonItem_Office2000 // this.barButtonItem_Office2000.Caption = "Office 2000"; this.barButtonItem_Office2000.Id = 25; this.barButtonItem_Office2000.ImageIndex = 2; this.barButtonItem_Office2000.Name = "barButtonItem_Office2000"; this.barButtonItem_Office2000.ItemClick += new DevExpress.XtraBars.ItemClickEventHandler(this.barButtonItem_Office2000_ItemClick); // // barButtonItem_Office2003 // this.barButtonItem_Office2003.Caption = "Office 2003"; this.barButtonItem_Office2003.Id = 26; this.barButtonItem_Office2003.ImageIndex = 3; this.barButtonItem_Office2003.Name = "barButtonItem_Office2003"; this.barButtonItem_Office2003.ItemClick += new DevExpress.XtraBars.ItemClickEventHandler(this.barButtonItem_Office2003_ItemClick); // // barSubItem_Help // this.barSubItem_Help.Caption = "帮助(&H)"; this.barSubItem_Help.Id = 8; this.barSubItem_Help.ImageIndex = 4; this.barSubItem_Help.LinksPersistInfo.AddRange(new DevExpress.XtraBars.LinkPersistInfo[] { new DevExpress.XtraBars.LinkPersistInfo(this.barButtonItem_Help), new DevExpress.XtraBars.LinkPersistInfo(this.barButtonItem_About)}); this.barSubItem_Help.Name = "barSubItem_Help"; // // barButtonItem_Help // this.barButtonItem_Help.Caption = "系统帮助(&H)"; this.barButtonItem_Help.Glyph = ((System.Drawing.Image)(resources.GetObject("barButtonItem_Help.Glyph"))); this.barButtonItem_Help.Id = 12; this.barButtonItem_Help.Name = "barButtonItem_Help"; this.barButtonItem_Help.ItemClick+=new ItemClickEventHandler(barButtonItem_Help_ItemClick); // // barButtonItem_About // this.barButtonItem_About.Caption = "关于创智智能晨检网络管理系统(&A)"; this.barButtonItem_About.Id = 15; this.barButtonItem_About.ImageIndex = 9; this.barButtonItem_About.Name = "barButtonItem_About"; this.barButtonItem_About.ItemClick+=new ItemClickEventHandler(barButtonItem_About_ItemClick); // // barToolBar // this.barToolBar.BarName = "辅助工具栏"; this.barToolBar.DockCol = 0; this.barToolBar.DockRow = 1; this.barToolBar.DockStyle = DevExpress.XtraBars.BarDockStyle.Top; this.barToolBar.LinksPersistInfo.AddRange(new DevExpress.XtraBars.LinkPersistInfo[] { new DevExpress.XtraBars.LinkPersistInfo(DevExpress.XtraBars.BarLinkUserDefines.PaintStyle, this.barButtonItem_Logout, DevExpress.XtraBars.BarItemPaintStyle.Standard), new DevExpress.XtraBars.LinkPersistInfo(DevExpress.XtraBars.BarLinkUserDefines.PaintStyle, this.barButtonItem_CustomDefine, "", true, true, true, 0, null, DevExpress.XtraBars.BarItemPaintStyle.Standard), new DevExpress.XtraBars.LinkPersistInfo(DevExpress.XtraBars.BarLinkUserDefines.PaintStyle, this.barButtonItem_CarDataSynch, DevExpress.XtraBars.BarItemPaintStyle.Standard), new DevExpress.XtraBars.LinkPersistInfo(DevExpress.XtraBars.BarLinkUserDefines.PaintStyle, this.barButtonItem_DutyInfo, "", true, true, true, 0, null, DevExpress.XtraBars.BarItemPaintStyle.Standard)}); this.barToolBar.OptionsBar.AllowQuickCustomization = false; this.barToolBar.Text = "辅助工具栏"; // // barStatus // this.barStatus.BarName = "状态栏"; this.barStatus.CanDockStyle = DevExpress.XtraBars.BarCanDockStyle.Bottom; this.barStatus.DockCol = 0; this.barStatus.DockRow = 0; this.barStatus.DockStyle = DevExpress.XtraBars.BarDockStyle.Bottom; this.barStatus.LinksPersistInfo.AddRange(new DevExpress.XtraBars.LinkPersistInfo[] { new DevExpress.XtraBars.LinkPersistInfo(this.barStaticItem_Ready, true), new DevExpress.XtraBars.LinkPersistInfo(DevExpress.XtraBars.BarLinkUserDefines.PaintStyle, this.barStaticItem_SystemInfo, DevExpress.XtraBars.BarItemPaintStyle.CaptionGlyph), new DevExpress.XtraBars.LinkPersistInfo(this.barStaticItem_SystemDate), new DevExpress.XtraBars.LinkPersistInfo(this.barStaticItem_Custom)}); this.barStatus.OptionsBar.AllowQuickCustomization = false; this.barStatus.OptionsBar.DrawDragBorder = false; this.barStatus.OptionsBar.DrawSizeGrip = true; this.barStatus.OptionsBar.UseWholeRow = true; this.barStatus.Text = "状态栏"; // // barStaticItem_Ready // this.barStaticItem_Ready.AutoSize = DevExpress.XtraBars.BarStaticItemSize.None; this.barStaticItem_Ready.Caption = "就绪"; this.barStaticItem_Ready.Id = 27; this.barStaticItem_Ready.Name = "barStaticItem_Ready"; this.barStaticItem_Ready.TextAlignment = System.Drawing.StringAlignment.Near; this.barStaticItem_Ready.Width = 150; // // barStaticItem_SystemInfo // this.barStaticItem_SystemInfo.AutoSize = DevExpress.XtraBars.BarStaticItemSize.None; this.barStaticItem_SystemInfo.Caption = "创智智能晨检网络管理系统"+SystemFramework.Util.PROJECT_VERSION; this.barStaticItem_SystemInfo.Id = 16; this.barStaticItem_SystemInfo.Name = "barStaticItem_SystemInfo"; this.barStaticItem_SystemInfo.TextAlignment = System.Drawing.StringAlignment.Near; this.barStaticItem_SystemInfo.Width = 300; // // barStaticItem_SystemDate // this.barStaticItem_SystemDate.AutoSize = DevExpress.XtraBars.BarStaticItemSize.None; this.barStaticItem_SystemDate.Id = 18; this.barStaticItem_SystemDate.Name = "barStaticItem_SystemDate"; this.barStaticItem_SystemDate.TextAlignment = System.Drawing.StringAlignment.Center; this.barStaticItem_SystemDate.Width = 200; // // barStaticItem_Custom // this.barStaticItem_Custom.AutoSize = DevExpress.XtraBars.BarStaticItemSize.Spring; this.barStaticItem_Custom.Id = 19; this.barStaticItem_Custom.Name = "barStaticItem_Custom"; this.barStaticItem_Custom.TextAlignment = System.Drawing.StringAlignment.Near; this.barStaticItem_Custom.Width = 32; // // barDockControlTop // this.barDockControlTop.Appearance.BackColor = System.Drawing.Color.FromArgb(((System.Byte)(224)), ((System.Byte)(224)), ((System.Byte)(224))); this.barDockControlTop.Appearance.BackColor2 = System.Drawing.Color.DarkGray; this.barDockControlTop.Appearance.Options.UseBackColor = true; // // dockManager_CurrentStuCheckInfo // this.dockManager_CurrentStuCheckInfo.AutoHideContainers.AddRange(new DevExpress.XtraBars.Docking.AutoHideContainer[] { this.hideContainerRight}); this.dockManager_CurrentStuCheckInfo.Form = this; this.dockManager_CurrentStuCheckInfo.TopZIndexControls.AddRange(new string[] { "DevExpress.XtraBars.BarDockControl", "System.Windows.Forms.StatusBar"}); // // hideContainerRight // this.hideContainerRight.Controls.Add(this.currentStuCheckInfo); this.hideContainerRight.Dock = System.Windows.Forms.DockStyle.Right; this.hideContainerRight.Location = new System.Drawing.Point(932, 52); this.hideContainerRight.Name = "hideContainerRight"; this.hideContainerRight.Size = new System.Drawing.Size(20, 559); // //realTimeWindows // this.realTimeWindows.Location = new System.Drawing.Point(200,40); this.realTimeWindows.Name = "realTimeWindows"; this.realTimeWindows.Size = new System.Drawing.Size(40,40); this.realTimeWindows.TabIndex = 4; this.realTimeWindows.Visible = true; // // currentStuCheckInfo // this.currentStuCheckInfo.Appearance.BackColor = System.Drawing.Color.WhiteSmoke; this.currentStuCheckInfo.Appearance.Font = new System.Drawing.Font("Tahoma", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(1)), true); this.currentStuCheckInfo.Appearance.Options.UseBackColor = true; this.currentStuCheckInfo.Appearance.Options.UseFont = true; this.currentStuCheckInfo.BackColor = System.Drawing.Color.WhiteSmoke; this.currentStuCheckInfo.Controls.Add(this.dockPanel1_Container); this.currentStuCheckInfo.Dock = DevExpress.XtraBars.Docking.DockingStyle.Right; this.currentStuCheckInfo.Font = new System.Drawing.Font("Tahoma", 9F, System.Drawing.FontStyle.Strikeout, System.Drawing.GraphicsUnit.Point, ((System.Byte)(1)), true); this.currentStuCheckInfo.ID = new System.Guid("51b4d356-ef66-4435-8cec-78ddcc6c1c48"); this.currentStuCheckInfo.Location = new System.Drawing.Point(0, 0); this.currentStuCheckInfo.Name = "currentStuCheckInfo"; this.currentStuCheckInfo.SavedDock = DevExpress.XtraBars.Docking.DockingStyle.Right; this.currentStuCheckInfo.SavedIndex = 0; this.currentStuCheckInfo.Size = new System.Drawing.Size(200, 566); this.currentStuCheckInfo.Text = "实时出勤信息 "; this.currentStuCheckInfo.Visibility = DevExpress.XtraBars.Docking.DockVisibility.AutoHide; this.currentStuCheckInfo.Controls.Add(realTimeWindows); this.realTimeWindows.Dock = DockStyle.Fill; // // dockPanel1_Container // this.dockPanel1_Container.Location = new System.Drawing.Point(4, 22); this.dockPanel1_Container.Name = "dockPanel1_Container"; this.dockPanel1_Container.Size = new System.Drawing.Size(192, 540); this.dockPanel1_Container.TabIndex = 0; // // imageList_ToolBarIcon // this.imageList_ToolBarIcon.ImageSize = new System.Drawing.Size(16, 16); this.imageList_ToolBarIcon.ImageStream = ((System.Windows.Forms.ImageListStreamer)(resources.GetObject("imageList_ToolBarIcon.ImageStream"))); this.imageList_ToolBarIcon.TransparentColor = System.Drawing.Color.Empty; // // pictureBox_Border // this.pictureBox_Border.Dock = System.Windows.Forms.DockStyle.Left; this.pictureBox_Border.Image = ((System.Drawing.Image)(resources.GetObject("pictureBox_Border.Image"))); this.pictureBox_Border.Location = new System.Drawing.Point(0, 52); this.pictureBox_Border.Name = "pictureBox_Border"; this.pictureBox_Border.Size = new System.Drawing.Size(32, 559); this.pictureBox_Border.SizeMode = System.Windows.Forms.PictureBoxSizeMode.StretchImage; this.pictureBox_Border.TabIndex = 5; this.pictureBox_Border.TabStop = false; // // navBarControl_Main // this.navBarControl_Main.ActiveGroup = this.navBarGroup_GardenInfo; this.navBarControl_Main.AllowDrop = true; this.navBarControl_Main.Appearance.GroupHeaderActive.Options.UseTextOptions = true; this.navBarControl_Main.Appearance.GroupHeaderActive.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center; this.navBarControl_Main.Appearance.Item.Options.UseTextOptions = true; this.navBarControl_Main.Appearance.Item.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center; this.navBarControl_Main.Appearance.ItemActive.Options.UseTextOptions = true; this.navBarControl_Main.Appearance.ItemActive.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center; this.navBarControl_Main.BackColor = System.Drawing.Color.WhiteSmoke; this.navBarControl_Main.Dock = System.Windows.Forms.DockStyle.Left; this.navBarControl_Main.Groups.AddRange(new DevExpress.XtraNavBar.NavBarGroup[] { this.navBarGroup_GardenInfo, this.navBarGroup_TeacherInfo, this.navBarGroup_StudentInfo, this.navBarGroup_GardenAffair}); this.navBarControl_Main.Items.AddRange(new DevExpress.XtraNavBar.NavBarItem[] { this.navBarItem_GardenInfo, this.navBarItem_TeaBaseInfo, this.navBarItem_StuBaseInfo, this.navBarItem_TeaDutyInfo, this.navBarItem_StuDutyInfo, this.navBarItem_StuHealth, this.navBarItem_SMSInfo, this.navBarItem_AffairNotify, this.navBarItem_Finance, this.navBarItem_CardManagement, this.navBarItem_RealTimeInfo, this.navBarItem_StuVisit, this.navBarItem_RealtimeInfo_Teacher, this.navBarItem_Camera}); this.navBarControl_Main.Location = new System.Drawing.Point(32, 52); this.navBarControl_Main.Name = "navBarControl_Main"; this.navBarControl_Main.Size = new System.Drawing.Size(168, 559); this.navBarControl_Main.TabIndex = 6; this.navBarControl_Main.Text = "主导航栏"; this.navBarControl_Main.HotTrackedLinkChanged += new DevExpress.XtraNavBar.NavBarLinkEventHandler(this.navBarControl_Main_HotTrackedLinkChanged); this.navBarControl_Main.MouseLeave += new System.EventHandler(this.navBarControl_Main_MouseLeave); // // navBarGroup_GardenInfo // this.navBarGroup_GardenInfo.Appearance.Options.UseTextOptions = true; this.navBarGroup_GardenInfo.Appearance.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center; this.navBarGroup_GardenInfo.AppearanceHotTracked.Options.UseTextOptions = true; this.navBarGroup_GardenInfo.AppearanceHotTracked.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center; this.navBarGroup_GardenInfo.AppearancePressed.Options.UseTextOptions = true; this.navBarGroup_GardenInfo.AppearancePressed.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center; this.navBarGroup_GardenInfo.Caption = "园所信息管理"; this.navBarGroup_GardenInfo.DragDropFlags = DevExpress.XtraNavBar.NavBarDragDrop.None; this.navBarGroup_GardenInfo.Expanded = true; this.navBarGroup_GardenInfo.GroupStyle = DevExpress.XtraNavBar.NavBarGroupStyle.SmallIconsText; this.navBarGroup_GardenInfo.ItemLinks.AddRange(new DevExpress.XtraNavBar.NavBarItemLink[] { new DevExpress.XtraNavBar.NavBarItemLink(this.navBarItem_GardenInfo)}); // this.navBarGroup_GardenInfo.LargeImage = ((System.Drawing.Image)(resources.GetObject("navBarGroup_GardenInfo.LargeImage"))); this.navBarGroup_GardenInfo.Name = "navBarGroup_GardenInfo"; // // navBarItem_GardenInfo // this.navBarItem_GardenInfo.Caption = "基本信息管理"; this.navBarItem_GardenInfo.Name = "navBarItem_GardenInfo"; // this.navBarItem_GardenInfo.SmallImage = ((System.Drawing.Image)(resources.GetObject("navBarItem_GardenInfo.SmallImage"))); this.navBarItem_GardenInfo.LinkClicked += new DevExpress.XtraNavBar.NavBarLinkEventHandler(this.navBarItem_GardenInfo_LinkClicked); // // navBarGroup_TeacherInfo // this.navBarGroup_TeacherInfo.Appearance.Options.UseTextOptions = true; this.navBarGroup_TeacherInfo.Appearance.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center; this.navBarGroup_TeacherInfo.Caption = "教师信息管理"; this.navBarGroup_TeacherInfo.Expanded = true; this.navBarGroup_TeacherInfo.DragDropFlags = DevExpress.XtraNavBar.NavBarDragDrop.None; this.navBarGroup_TeacherInfo.GroupStyle = DevExpress.XtraNavBar.NavBarGroupStyle.SmallIconsText; this.navBarGroup_TeacherInfo.ItemLinks.AddRange(new DevExpress.XtraNavBar.NavBarItemLink[] { new DevExpress.XtraNavBar.NavBarItemLink(this.navBarItem_TeaBaseInfo), new DevExpress.XtraNavBar.NavBarItemLink(this.navBarItem_RealtimeInfo_Teacher), new DevExpress.XtraNavBar.NavBarItemLink(this.navBarItem_TeaDutyInfo)}); // this.navBarGroup_TeacherInfo.LargeImage = ((System.Drawing.Image)(resources.GetObject("navBarGroup_TeacherInfo.LargeImage"))); this.navBarGroup_TeacherInfo.Name = "navBarGroup_TeacherInfo"; // // navBarItem_TeaBaseInfo // this.navBarItem_TeaBaseInfo.Caption = "基本信息管理"; this.navBarItem_TeaBaseInfo.Name = "navBarItem_TeaBaseInfo"; // this.navBarItem_TeaBaseInfo.SmallImage = ((System.Drawing.Image)(resources.GetObject("navBarItem_TeaBaseInfo.SmallImage"))); this.navBarItem_TeaBaseInfo.LinkClicked += new DevExpress.XtraNavBar.NavBarLinkEventHandler(this.navBarItem_TeaBaseInfo_LinkClicked); // // navBarItem_TeaDutyInfo // this.navBarItem_TeaDutyInfo.Caption = "出勤信息管理"; this.navBarItem_TeaDutyInfo.Name = "navBarItem_TeaDutyInfo"; // this.navBarItem_TeaDutyInfo.SmallImage = ((System.Drawing.Image)(resources.GetObject("navBarItem_TeaDutyInfo.SmallImage"))); this.navBarItem_TeaDutyInfo.LinkClicked += new DevExpress.XtraNavBar.NavBarLinkEventHandler(this.navBarItem_TeaDutyInfo_LinkClicked); // // navBarGroup_StudentInfo // this.navBarGroup_StudentInfo.Appearance.Options.UseTextOptions = true; this.navBarGroup_StudentInfo.Appearance.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center; this.navBarGroup_StudentInfo.Caption = "学生信息管理"; this.navBarGroup_StudentInfo.Expanded = true; this.navBarGroup_StudentInfo.DragDropFlags = DevExpress.XtraNavBar.NavBarDragDrop.None; this.navBarGroup_StudentInfo.GroupStyle = DevExpress.XtraNavBar.NavBarGroupStyle.SmallIconsText; this.navBarGroup_StudentInfo.ItemLinks.AddRange(new DevExpress.XtraNavBar.NavBarItemLink[] { new DevExpress.XtraNavBar.NavBarItemLink(this.navBarItem_StuBaseInfo), new DevExpress.XtraNavBar.NavBarItemLink(this.navBarItem_StuDutyInfo), new DevExpress.XtraNavBar.NavBarItemLink(this.navBarItem_RealTimeInfo), new DevExpress.XtraNavBar.NavBarItemLink(this.navBarItem_StuHealth), new DevExpress.XtraNavBar.NavBarItemLink(this.navBarItem_StuVisit)}); // this.navBarGroup_StudentInfo.LargeImage = ((System.Drawing.Image)(resources.GetObject("navBarGroup_StudentInfo.LargeImage"))); this.navBarGroup_StudentInfo.Name = "navBarGroup_StudentInfo"; // // navBarItem_StuBaseInfo // this.navBarItem_StuBaseInfo.Caption = "基本信息管理"; this.navBarItem_StuBaseInfo.Name = "navBarItem_StuBaseInfo"; // this.navBarItem_StuBaseInfo.SmallImage = ((System.Drawing.Image)(resources.GetObject("navBarItem_StuBaseInfo.SmallImage"))); this.navBarItem_StuBaseInfo.LinkClicked += new DevExpress.XtraNavBar.NavBarLinkEventHandler(this.navBarItem_StuBaseInfo_LinkClicked); // // navBarItem_StuDutyInfo // this.navBarItem_StuDutyInfo.Caption = "出勤信息管理"; this.navBarItem_StuDutyInfo.Name = "navBarItem_StuDutyInfo"; // this.navBarItem_StuDutyInfo.SmallImage = ((System.Drawing.Image)(resources.GetObject("navBarItem_StuDutyInfo.SmallImage"))); this.navBarItem_StuDutyInfo.LinkClicked += new DevExpress.XtraNavBar.NavBarLinkEventHandler(this.navBarItem_StuDutyInfo_LinkClicked); // // navBarItem_RealTimeInfo // this.navBarItem_RealTimeInfo.Caption = "实时统计信息"; this.navBarItem_RealTimeInfo.Name = "navBarItem_RealTimeInfo"; // this.navBarItem_RealTimeInfo.SmallImage = ((System.Drawing.Image)(resources.GetObject("navBarItem_RealTimeInfo.SmallImage"))); this.navBarItem_RealTimeInfo.LinkClicked += new DevExpress.XtraNavBar.NavBarLinkEventHandler(this.navBarItem_RealTimeInfo_LinkClicked); // // navBarItem_StuHealth // this.navBarItem_StuHealth.Caption = "健康保健管理"; this.navBarItem_StuHealth.Name = "navBarItem_StuHealth"; // this.navBarItem_StuHealth.SmallImage = ((System.Drawing.Image)(resources.GetObject("navBarItem_StuHealth.SmallImage"))); this.navBarItem_StuHealth.LinkClicked += new DevExpress.XtraNavBar.NavBarLinkEventHandler(this.navBarItem_StuHealth_LinkClicked); // // navBarItem_StuVisit // this.navBarItem_StuVisit.Caption = "家访信息管理"; this.navBarItem_StuVisit.Name = "navBarItem_StuVisit"; this.navBarItem_StuVisit.Visible = false; this.navBarItem_StuVisit.LinkClicked += new DevExpress.XtraNavBar.NavBarLinkEventHandler(this.navBarItem_StuVisit_LinkClicked); // // navBarGroup_GardenAffair // this.navBarGroup_GardenAffair.Appearance.Options.UseTextOptions = true; this.navBarGroup_GardenAffair.Appearance.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center; this.navBarGroup_GardenAffair.Caption = "园务辅助功能"; this.navBarGroup_GardenAffair.Expanded = true; this.navBarGroup_GardenAffair.DragDropFlags = DevExpress.XtraNavBar.NavBarDragDrop.None; this.navBarGroup_GardenAffair.GroupStyle = DevExpress.XtraNavBar.NavBarGroupStyle.SmallIconsText; this.navBarGroup_GardenAffair.ItemLinks.AddRange(new DevExpress.XtraNavBar.NavBarItemLink[] { new DevExpress.XtraNavBar.NavBarItemLink(this.navBarItem_CardManagement), new DevExpress.XtraNavBar.NavBarItemLink(this.navBarItem_Finance), new DevExpress.XtraNavBar.NavBarItemLink(this.navBarItem_SMSInfo), new DevExpress.XtraNavBar.NavBarItemLink(this.navBarItem_AffairNotify), new DevExpress.XtraNavBar.NavBarItemLink(this.navBarItem_Camera)}); // this.navBarGroup_GardenAffair.LargeImage = ((System.Drawing.Image)(resources.GetObject("navBarGroup_GardenAffair.LargeImage"))); this.navBarGroup_GardenAffair.Name = "navBarGroup_GardenAffair"; // // navBarItem_CardManagement // this.navBarItem_CardManagement.Caption = "晨检卡管理"; this.navBarItem_CardManagement.Name = "navBarItem_CardManagement"; // this.navBarItem_CardManagement.SmallImage = ((System.Drawing.Image)(resources.GetObject("navBarItem_CardManagement.SmallImage"))); this.navBarItem_CardManagement.LinkClicked += new DevExpress.XtraNavBar.NavBarLinkEventHandler(this.navBarItem_CardManagement_LinkClicked); // // navBarItem_Finance // this.navBarItem_Finance.Caption = "财务功能"; this.navBarItem_Finance.Name = "navBarItem_Finance"; // this.navBarItem_Finance.SmallImage = ((System.Drawing.Image)(resources.GetObject("navBarItem_Finance.SmallImage"))); this.navBarItem_Finance.LinkClicked += new DevExpress.XtraNavBar.NavBarLinkEventHandler(this.navBarItem_Finance_LinkClicked); // // navBarItem_SMSInfo // this.navBarItem_SMSInfo.Caption = "短信功能"; this.navBarItem_SMSInfo.Name = "navBarItem_SMSInfo"; // this.navBarItem_SMSInfo.SmallImage = ((System.Drawing.Image)(resources.GetObject("navBarItem_SMSInfo.SmallImage"))); this.navBarItem_SMSInfo.LinkClicked += new DevExpress.XtraNavBar.NavBarLinkEventHandler(this.navBarItem_SMSInfo_LinkClicked); // // navBarItem_AffairNotify // this.navBarItem_AffairNotify.Caption = "事务提醒功能"; this.navBarItem_AffairNotify.Name = "navBarItem_AffairNotify"; // this.navBarItem_AffairNotify.SmallImage = ((System.Drawing.Image)(resources.GetObject("navBarItem_AffairNotify.SmallImage"))); this.navBarItem_AffairNotify.LinkClicked += new DevExpress.XtraNavBar.NavBarLinkEventHandler(this.navBarItem_AffairNotify_LinkClicked); // // navBarItem_Camera // this.navBarItem_Camera.Caption = "摄像监控"; this.navBarItem_Camera.Name = "navBarItem_Camera"; // this.navBarItem_AffairNotify.SmallImage = ((System.Drawing.Image)(resources.GetObject("navBarItem_AffairNotify.SmallImage"))); this.navBarItem_Camera.LinkClicked += new DevExpress.XtraNavBar.NavBarLinkEventHandler(this.navBarItem_Camera_LinkClicked); // // splitterControlMain // this.splitterControlMain.Location = new System.Drawing.Point(200, 52); this.splitterControlMain.Name = "splitterControlMain"; this.splitterControlMain.Size = new System.Drawing.Size(4, 559); this.splitterControlMain.TabIndex = 8; this.splitterControlMain.TabStop = false; // // paneCaption_Title // this.paneCaption_Title.AllowActive = false; this.paneCaption_Title.AntiAlias = false; this.paneCaption_Title.Caption = "客服电话:021-58455584 021-50879915 公司网址:www.shchuangzhi.com"; this.paneCaption_Title.Dock = System.Windows.Forms.DockStyle.Top; this.paneCaption_Title.Font = new System.Drawing.Font("Tahoma", 10F, System.Drawing.FontStyle.Bold); this.paneCaption_Title.InactiveGradientHighColor = System.Drawing.Color.FromArgb(((System.Byte)(224)), ((System.Byte)(224)), ((System.Byte)(224))); this.paneCaption_Title.InactiveGradientLowColor = System.Drawing.Color.DarkGray; this.paneCaption_Title.Location = new System.Drawing.Point(204, 52); this.paneCaption_Title.Name = "paneCaption_Title"; this.paneCaption_Title.Size = new System.Drawing.Size(728, 28); this.paneCaption_Title.TabIndex = 9; // // pictureBox_BackLogo // this.pictureBox_BackLogo.BackgroundImage = ((System.Drawing.Image)(resources.GetObject("pictureBox_BackLogo.BackgroundImage"))); this.pictureBox_BackLogo.Dock = System.Windows.Forms.DockStyle.Fill; this.pictureBox_BackLogo.Image = ((System.Drawing.Image)(resources.GetObject("pictureBox_BackLogo.Image"))); this.pictureBox_BackLogo.Location = new System.Drawing.Point(204, 80); this.pictureBox_BackLogo.Name = "pictureBox_BackLogo"; this.pictureBox_BackLogo.Size = new System.Drawing.Size(728, 531); this.pictureBox_BackLogo.SizeMode = System.Windows.Forms.PictureBoxSizeMode.StretchImage; this.pictureBox_BackLogo.TabIndex = 17; this.pictureBox_BackLogo.TabStop = false; // // panelControl_Center // // this.panelControl_Center.Controls.Add(this.gardenInfo1); // this.panelControl_Center.Controls.Add(this.smsInfo1); // this.panelControl_Center.Controls.Add(this.teacherOnDutyInfo1); // this.panelControl_Center.Controls.Add(this.realtimeInfo_Teacher1); // this.panelControl_Center.Controls.Add(this.nutritionManagement1); // this.panelControl_Center.Controls.Add(this.finanManagement1); // this.panelControl_Center.Controls.Add(this.studentVisitInfo1); // this.panelControl_Center.Controls.Add(this.realtimeInfo1); // this.panelControl_Center.Controls.Add(this.teacherBaseInfo1); // this.panelControl_Center.Controls.Add(this.studentBaseInfo1); // this.panelControl_Center.Controls.Add(this.studentMorningCheckInfo1); // this.panelControl_Center.Controls.Add(this.cardManagement2); // this.panelControl_Center.Controls.Add(this.transactionReminding1); this.panelControl_Center.Dock = System.Windows.Forms.DockStyle.Fill; this.panelControl_Center.Location = new System.Drawing.Point(204, 80); this.panelControl_Center.Name = "panelControl_Center"; this.panelControl_Center.Size = new System.Drawing.Size(728, 531); this.panelControl_Center.TabIndex = 25; this.panelControl_Center.Text = "panelControlCenter"; this.panelControl_Center.Visible = false; // //gardenInfo1 // // this.gardenInfo1.Location = new System.Drawing.Point(40,40); // this.gardenInfo1.Name = "gardenInfo1"; // this.gardenInfo1.Size = new System.Drawing.Size(40,40); // this.gardenInfo1.TabIndex = 4; // this.gardenInfo1.Visible = false; // //teacherOnDutyInfo1 // // this.teacherOnDutyInfo1.Location = new System.Drawing.Point(30,30); // this.teacherOnDutyInfo1.Name = "teacherOnDutyInfo1"; // this.teacherOnDutyInfo1.Size = new System.Drawing.Size(30,30); // this.teacherOnDutyInfo1.TabIndex = 3; // this.teacherOnDutyInfo1.Visible = false; // //smsInfo1 // // this.smsInfo1.Location = new System.Drawing.Point(50,50); // this.smsInfo1.Name = "smsInfo1"; // this.smsInfo1.Size = new System.Drawing.Size(50,50); // this.smsInfo1.TabIndex = 6; // this.smsInfo1.Visible = false; // // // //realtimeInfo_Teacher1 // // // this.realtimeInfo_Teacher1.Location = new System.Drawing.Point(60,60); // this.realtimeInfo_Teacher1.Name = "realtimeInfo_Teacher1"; // this.realtimeInfo_Teacher1.Size = new System.Drawing.Size(60,60); // this.realtimeInfo_Teacher1.TabIndex = 12; // this.realtimeInfo_Teacher1.Visible = false; // // // // nutritionManagement1 // // // this.nutritionManagement1.Location = new System.Drawing.Point(232, 336); // this.nutritionManagement1.Name = "nutritionManagement1"; // this.nutritionManagement1.Size = new System.Drawing.Size(144, 128); // this.nutritionManagement1.TabIndex = 10; // this.nutritionManagement1.Visible = false; // // // // finanManagement1 // // // this.finanManagement1.Location = new System.Drawing.Point(264, 152); // this.finanManagement1.Name = "finanManagement1"; // this.finanManagement1.Size = new System.Drawing.Size(88, 56); // this.finanManagement1.TabIndex = 9; // this.finanManagement1.Visible = false; // // // // studentVisitInfo1 // // // this.studentVisitInfo1.Location = new System.Drawing.Point(48, 160); // this.studentVisitInfo1.Name = "studentVisitInfo1"; // this.studentVisitInfo1.Size = new System.Drawing.Size(136, 120); // this.studentVisitInfo1.TabIndex = 8; // // // // realtimeInfo1 // // // this.realtimeInfo1.Appearance.BackColor = System.Drawing.Color.WhiteSmoke; // this.realtimeInfo1.Appearance.Options.UseBackColor = true; // this.realtimeInfo1.Location = new System.Drawing.Point(96, 88); // this.realtimeInfo1.Name = "realtimeInfo1"; // this.realtimeInfo1.Size = new System.Drawing.Size(120, 48); // this.realtimeInfo1.TabIndex = 7; // this.realtimeInfo1.Visible = false; // // // // teacherBaseInfo1 // // // this.teacherBaseInfo1.Appearance.BackColor = System.Drawing.Color.WhiteSmoke; // this.teacherBaseInfo1.Appearance.Options.UseBackColor = true; // this.teacherBaseInfo1.Location = new System.Drawing.Point(216, 32); // this.teacherBaseInfo1.Name = "teacherBaseInfo1"; // this.teacherBaseInfo1.Size = new System.Drawing.Size(136, 112); // this.teacherBaseInfo1.TabIndex = 1; // this.teacherBaseInfo1.Visible = false; // // // // studentBaseInfo1 // // // this.studentBaseInfo1.Appearance.BackColor = System.Drawing.Color.WhiteSmoke; // this.studentBaseInfo1.Appearance.Options.UseBackColor = true; // this.studentBaseInfo1.Location = new System.Drawing.Point(384, 32); // this.studentBaseInfo1.Name = "studentBaseInfo1"; // this.studentBaseInfo1.Size = new System.Drawing.Size(136, 112); // this.studentBaseInfo1.TabIndex = 2; // this.studentBaseInfo1.Visible = false; // // // // studentMorningCheckInfo1 // // // this.studentMorningCheckInfo1.BackColor = System.Drawing.Color.WhiteSmoke; // this.studentMorningCheckInfo1.Location = new System.Drawing.Point(48, 32); // this.studentMorningCheckInfo1.Name = "studentMorningCheckInfo1"; // this.studentMorningCheckInfo1.Size = new System.Drawing.Size(136, 112); // this.studentMorningCheckInfo1.TabIndex = 0; // this.studentMorningCheckInfo1.Visible = false; // // // // cardManagement2 // // // this.cardManagement2.Location = new System.Drawing.Point(384, 184); // this.cardManagement2.Name = "cardManagement2"; // this.cardManagement2.Size = new System.Drawing.Size(136, 112); // this.cardManagement2.TabIndex = 5; // this.cardManagement2.Visible = false; // // // // transactionReminding1 // // // this.transactionReminding1.Appearance.BackColor = System.Drawing.Color.WhiteSmoke; // this.transactionReminding1.Appearance.Options.UseBackColor = true; // this.transactionReminding1.Location = new System.Drawing.Point(96, 88); // this.transactionReminding1.Name = "transactionReminding1"; // this.transactionReminding1.Size = new System.Drawing.Size(120, 250); // this.transactionReminding1.TabIndex = 11; // this.transactionReminding1.Visible = false; // // notifyIcon_MainForm // this.notifyIcon_MainForm.ContextMenu = this.contextMenu_NotifyIcon; this.notifyIcon_MainForm.Icon = ((System.Drawing.Icon)(resources.GetObject("notifyIcon_MainForm.Icon"))); this.notifyIcon_MainForm.Text = "创智智能晨检网络管理系统"+SystemFramework.Util.PROJECT_VERSION; this.notifyIcon_MainForm.DoubleClick += new System.EventHandler(this.notifyIcon_MainForm_DoubleClick); // // contextMenu_NotifyIcon // this.contextMenu_NotifyIcon.MenuItems.AddRange(new System.Windows.Forms.MenuItem[] { this.menuItem_ShowMainForm, this.menuItem_Exit}); // // menuItem_ShowMainForm // this.menuItem_ShowMainForm.Index = 0; this.menuItem_ShowMainForm.Text = "显示主窗体"; this.menuItem_ShowMainForm.Click += new System.EventHandler(this.menuItem1_Click); // // menuItem_Exit // this.menuItem_Exit.Index = 1; this.menuItem_Exit.Text = "退出"; this.menuItem_Exit.Click += new System.EventHandler(this.menuItem_Exit_Click); // // navBarItem_RealtimeInfo_Teacher // this.navBarItem_RealtimeInfo_Teacher.Caption = "实时统计信息"; this.navBarItem_RealtimeInfo_Teacher.Name = "navBarItem_RealtimeInfo_Teacher"; this.navBarItem_RealtimeInfo_Teacher.LinkClicked += new DevExpress.XtraNavBar.NavBarLinkEventHandler(this.navBarItem_RealtimeInfo_Teacher_LinkClicked); // // timerSynSession // this.timerSynSession.Enabled = true; this.timerSynSession.Interval = 5000; this.timerSynSession.SynchronizingObject = this; this.timerSynSession.Elapsed += new System.Timers.ElapsedEventHandler(this.timerSynSession_Elapsed); // // MainForm // this.Appearance.BackColor = System.Drawing.Color.WhiteSmoke; this.Appearance.Options.UseBackColor = true; this.AutoScaleBaseSize = new System.Drawing.Size(6, 15); this.ClientSize = new System.Drawing.Size(952, 629); this.Controls.Add(this.panelControl_Center); this.Controls.Add(this.pictureBox_BackLogo); this.Controls.Add(this.paneCaption_Title); this.Controls.Add(this.splitterControlMain); this.Controls.Add(this.navBarControl_Main); this.Controls.Add(this.pictureBox_Border); this.Controls.Add(this.hideContainerRight); this.Controls.Add(this.barDockControlLeft); this.Controls.Add(this.barDockControlRight); this.Controls.Add(this.barDockControlBottom); this.Controls.Add(this.barDockControlTop); this.Name = "创智智能晨检网络管理系统"+SystemFramework.Util.PROJECT_VERSION; this.Text = "创智智能晨检网络管理系统"+SystemFramework.Util.PROJECT_VERSION; this.Icon = ((System.Drawing.Icon)(resources.GetObject("notifyIcon_MainForm.Icon"))); this.Resize += new System.EventHandler(this.MainForm_Resize); this.Closing += new System.ComponentModel.CancelEventHandler(this.MainForm_Closing); this.Load += new System.EventHandler(this.MainForm_Load); ((System.ComponentModel.ISupportInitialize)(this.timerSynSession)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.barManager_Main)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.dockManager_CurrentStuCheckInfo)).EndInit(); this.hideContainerRight.ResumeLayout(false); this.currentStuCheckInfo.ResumeLayout(false); ((System.ComponentModel.ISupportInitialize)(this.navBarControl_Main)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.panelControl_Center)).EndInit(); this.panelControl_Center.ResumeLayout(false); this.ResumeLayout(false); }
/// <summary> /// Required method for Designer support - do not modify /// the contents of this method with the code editor. /// </summary> private void InitializeComponent() { this.components = new System.ComponentModel.Container(); this.barManager1 = new DevExpress.XtraBars.BarManager(this.components); this.bar1 = new DevExpress.XtraBars.Bar(); this.barButtonItem1 = new DevExpress.XtraBars.BarButtonItem(); this.barButtonItem2 = new DevExpress.XtraBars.BarButtonItem(); this.barButtonItem3 = new DevExpress.XtraBars.BarButtonItem(); this.barButtonItem4 = new DevExpress.XtraBars.BarButtonItem(); this.barDockControlTop = new DevExpress.XtraBars.BarDockControl(); this.barDockControlBottom = new DevExpress.XtraBars.BarDockControl(); this.barDockControlLeft = new DevExpress.XtraBars.BarDockControl(); this.barDockControlRight = new DevExpress.XtraBars.BarDockControl(); this.simpleButton1 = new DevExpress.XtraEditors.SimpleButton(); ((System.ComponentModel.ISupportInitialize)(this.barManager1)).BeginInit(); this.SuspendLayout(); // // barManager1 // this.barManager1.Bars.AddRange(new DevExpress.XtraBars.Bar[] { this.bar1 }); this.barManager1.DockControls.Add(this.barDockControlTop); this.barManager1.DockControls.Add(this.barDockControlBottom); this.barManager1.DockControls.Add(this.barDockControlLeft); this.barManager1.DockControls.Add(this.barDockControlRight); this.barManager1.Form = this; this.barManager1.Items.AddRange(new DevExpress.XtraBars.BarItem[] { this.barButtonItem1, this.barButtonItem2, this.barButtonItem3, this.barButtonItem4 }); this.barManager1.MaxItemId = 4; // // bar1 // this.bar1.BarName = "Custom 1"; this.bar1.DockCol = 0; this.bar1.DockRow = 0; this.bar1.DockStyle = DevExpress.XtraBars.BarDockStyle.Top; this.bar1.LinksPersistInfo.AddRange(new DevExpress.XtraBars.LinkPersistInfo[] { new DevExpress.XtraBars.LinkPersistInfo(this.barButtonItem1), new DevExpress.XtraBars.LinkPersistInfo(this.barButtonItem2), new DevExpress.XtraBars.LinkPersistInfo(this.barButtonItem3), new DevExpress.XtraBars.LinkPersistInfo(this.barButtonItem4) }); this.bar1.Text = "Custom 1"; // // barButtonItem1 // this.barButtonItem1.Caption = "Item1"; this.barButtonItem1.Id = 0; this.barButtonItem1.Name = "barButtonItem1"; // // barButtonItem2 // this.barButtonItem2.Caption = "barButtonItem2"; this.barButtonItem2.Id = 1; this.barButtonItem2.Name = "barButtonItem2"; // // barButtonItem3 // this.barButtonItem3.Caption = "barButtonItem3"; this.barButtonItem3.Id = 2; this.barButtonItem3.Name = "barButtonItem3"; // // barButtonItem4 // this.barButtonItem4.Caption = "barButtonItem4"; this.barButtonItem4.Id = 3; this.barButtonItem4.Name = "barButtonItem4"; // // barDockControlTop // this.barDockControlTop.Dock = System.Windows.Forms.DockStyle.Top; this.barDockControlTop.Location = new System.Drawing.Point(0, 0); this.barDockControlTop.Size = new System.Drawing.Size(292, 24); // // barDockControlBottom // this.barDockControlBottom.Dock = System.Windows.Forms.DockStyle.Bottom; this.barDockControlBottom.Location = new System.Drawing.Point(0, 266); this.barDockControlBottom.Size = new System.Drawing.Size(292, 0); // // barDockControlLeft // this.barDockControlLeft.Dock = System.Windows.Forms.DockStyle.Left; this.barDockControlLeft.Location = new System.Drawing.Point(0, 24); this.barDockControlLeft.Size = new System.Drawing.Size(0, 242); // // barDockControlRight // this.barDockControlRight.Dock = System.Windows.Forms.DockStyle.Right; this.barDockControlRight.Location = new System.Drawing.Point(292, 24); this.barDockControlRight.Size = new System.Drawing.Size(0, 242); // // simpleButton1 // this.simpleButton1.Location = new System.Drawing.Point(72, 160); this.simpleButton1.Name = "simpleButton1"; this.simpleButton1.Size = new System.Drawing.Size(152, 23); this.simpleButton1.TabIndex = 4; this.simpleButton1.Text = "Drag me"; this.simpleButton1.MouseMove += new System.Windows.Forms.MouseEventHandler(this.simpleButton1_MouseMove); // // Form1 // this.AllowDrop = true; this.AutoScaleBaseSize = new System.Drawing.Size(5, 13); this.ClientSize = new System.Drawing.Size(292, 266); this.Controls.Add(this.simpleButton1); this.Controls.Add(this.barDockControlLeft); this.Controls.Add(this.barDockControlRight); this.Controls.Add(this.barDockControlBottom); this.Controls.Add(this.barDockControlTop); this.Name = "Form1"; this.Text = "How to drag a custom object and drop it onto an XtraBars toolbar item"; this.DragDrop += new System.Windows.Forms.DragEventHandler(this.Form1_DragDrop); this.DragOver += new System.Windows.Forms.DragEventHandler(this.Form1_DragOver); ((System.ComponentModel.ISupportInitialize)(this.barManager1)).EndInit(); this.ResumeLayout(false); }
private void InitializeComponent() { this.components = new System.ComponentModel.Container(); this.BarManager1 = new DevExpress.XtraBars.BarManager(this.components); this.Bar1 = new DevExpress.XtraBars.Bar(); this.BarEditItem1 = new DevExpress.XtraBars.BarEditItem(); this.RepositoryItemCheckEdit1 = new DevExpress.XtraEditors.Repository.RepositoryItemCheckEdit(); this.BarEditItem2 = new DevExpress.XtraBars.BarEditItem(); this.RepositoryItemTextEdit1 = new DevExpress.XtraEditors.Repository.RepositoryItemTextEdit(); this.BarButtonItem1 = new DevExpress.XtraBars.BarButtonItem(); this.barCheckItem1 = new DevExpress.XtraBars.BarCheckItem(); this.barDockControlTop = new DevExpress.XtraBars.BarDockControl(); this.barDockControlBottom = new DevExpress.XtraBars.BarDockControl(); this.barDockControlLeft = new DevExpress.XtraBars.BarDockControl(); this.barDockControlRight = new DevExpress.XtraBars.BarDockControl(); this.TextEdit1 = new DevExpress.XtraEditors.TextEdit(); ((System.ComponentModel.ISupportInitialize)(this.BarManager1)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.RepositoryItemCheckEdit1)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.RepositoryItemTextEdit1)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.TextEdit1.Properties)).BeginInit(); this.SuspendLayout(); // // BarManager1 // this.BarManager1.Bars.AddRange(new DevExpress.XtraBars.Bar[] { this.Bar1}); this.BarManager1.DockControls.Add(this.barDockControlTop); this.BarManager1.DockControls.Add(this.barDockControlBottom); this.BarManager1.DockControls.Add(this.barDockControlLeft); this.BarManager1.DockControls.Add(this.barDockControlRight); this.BarManager1.Form = this; this.BarManager1.Items.AddRange(new DevExpress.XtraBars.BarItem[] { this.BarEditItem1, this.BarEditItem2, this.BarButtonItem1, this.barCheckItem1}); this.BarManager1.MaxItemId = 4; this.BarManager1.RepositoryItems.AddRange(new DevExpress.XtraEditors.Repository.RepositoryItem[] { this.RepositoryItemCheckEdit1, this.RepositoryItemTextEdit1}); // // Bar1 // this.Bar1.BarName = "Custom 1"; this.Bar1.DockCol = 0; this.Bar1.DockRow = 0; this.Bar1.DockStyle = DevExpress.XtraBars.BarDockStyle.Top; this.Bar1.LinksPersistInfo.AddRange(new DevExpress.XtraBars.LinkPersistInfo[] { new DevExpress.XtraBars.LinkPersistInfo(this.BarEditItem1), new DevExpress.XtraBars.LinkPersistInfo(DevExpress.XtraBars.BarLinkUserDefines.Width, this.BarEditItem2, "", false, true, true, 135), new DevExpress.XtraBars.LinkPersistInfo(this.BarButtonItem1), new DevExpress.XtraBars.LinkPersistInfo(this.barCheckItem1)}); this.Bar1.Text = "Custom 1"; // // BarEditItem1 // this.BarEditItem1.Caption = "BarEditItem1"; this.BarEditItem1.Edit = this.RepositoryItemCheckEdit1; this.BarEditItem1.Id = 0; this.BarEditItem1.Name = "BarEditItem1"; this.BarEditItem1.EditValueChanged += new System.EventHandler(this.OnBarEditItemValueChanged); // // RepositoryItemCheckEdit1 // this.RepositoryItemCheckEdit1.AutoHeight = false; this.RepositoryItemCheckEdit1.Name = "RepositoryItemCheckEdit1"; // // BarEditItem2 // this.BarEditItem2.Caption = "BarEditItem2"; this.BarEditItem2.Edit = this.RepositoryItemTextEdit1; this.BarEditItem2.Id = 1; this.BarEditItem2.Name = "BarEditItem2"; this.BarEditItem2.EditValueChanged += new System.EventHandler(this.OnBarEditItemValueChanged); // // RepositoryItemTextEdit1 // this.RepositoryItemTextEdit1.AutoHeight = false; this.RepositoryItemTextEdit1.Name = "RepositoryItemTextEdit1"; // // BarButtonItem1 // this.BarButtonItem1.Caption = "BarButtonItem1"; this.BarButtonItem1.Id = 2; this.BarButtonItem1.Name = "BarButtonItem1"; // // barCheckItem1 // this.barCheckItem1.Caption = "SaveImmediately"; this.barCheckItem1.Id = 3; this.barCheckItem1.Name = "barCheckItem1"; this.barCheckItem1.CheckedChanged += new DevExpress.XtraBars.ItemClickEventHandler(this.barCheckItem1_CheckedChanged); // // barDockControlTop // this.barDockControlTop.CausesValidation = false; this.barDockControlTop.Dock = System.Windows.Forms.DockStyle.Top; this.barDockControlTop.Location = new System.Drawing.Point(0, 0); this.barDockControlTop.Size = new System.Drawing.Size(472, 29); // // barDockControlBottom // this.barDockControlBottom.CausesValidation = false; this.barDockControlBottom.Dock = System.Windows.Forms.DockStyle.Bottom; this.barDockControlBottom.Location = new System.Drawing.Point(0, 261); this.barDockControlBottom.Size = new System.Drawing.Size(472, 0); // // barDockControlLeft // this.barDockControlLeft.CausesValidation = false; this.barDockControlLeft.Dock = System.Windows.Forms.DockStyle.Left; this.barDockControlLeft.Location = new System.Drawing.Point(0, 29); this.barDockControlLeft.Size = new System.Drawing.Size(0, 232); // // barDockControlRight // this.barDockControlRight.CausesValidation = false; this.barDockControlRight.Dock = System.Windows.Forms.DockStyle.Right; this.barDockControlRight.Location = new System.Drawing.Point(472, 29); this.barDockControlRight.Size = new System.Drawing.Size(0, 232); // // TextEdit1 // this.TextEdit1.EditValue = "TextEdit1"; this.TextEdit1.Location = new System.Drawing.Point(27, 76); this.TextEdit1.Name = "TextEdit1"; this.TextEdit1.Size = new System.Drawing.Size(173, 20); this.TextEdit1.TabIndex = 4; // // Form1 // this.AutoScaleBaseSize = new System.Drawing.Size(5, 13); this.ClientSize = new System.Drawing.Size(472, 261); this.Controls.Add(this.TextEdit1); this.Controls.Add(this.barDockControlLeft); this.Controls.Add(this.barDockControlRight); this.Controls.Add(this.barDockControlBottom); this.Controls.Add(this.barDockControlTop); this.Name = "Form1"; this.Text = "How to save an in-place editor\'s value to a BarEditItem immediately when it\'s cha" + "nged"; ((System.ComponentModel.ISupportInitialize)(this.BarManager1)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.RepositoryItemCheckEdit1)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.RepositoryItemTextEdit1)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.TextEdit1.Properties)).EndInit(); this.ResumeLayout(false); }
private void InitMenuBar( ) { mainBar = new DevExpress.XtraBars.Bar(); mainBar.BarName = "Main menu"; mainBar.DockCol = 0; mainBar.DockRow = 0; mainBar.DockStyle = DevExpress.XtraBars.BarDockStyle.Top; mainBar.OptionsBar.AllowQuickCustomization = false; mainBar.OptionsBar.DrawDragBorder = false; mainBar.OptionsBar.MultiLine = true; mainBar.OptionsBar.UseWholeRow = true; mainBar.Text = "Main menu"; ToolbarManager = new DevExpress.XtraBars.BarManager(); ToolbarManager.Bars.AddRange(new DevExpress.XtraBars.Bar[] { mainBar }); ToolbarManager.Form = this; ToolbarManager.MainMenu = mainBar; ToolbarManager.MaxItemId = 5; ToolbarManager.Images = ABCImageList.List24x24; ToolbarManager.ItemClick += new DevExpress.XtraBars.ItemClickEventHandler(Toolbar_ItemClick); String strCaption = "Save"; if (ABCApp.ABCDataGlobal.Language == "VN") { strCaption = "Lưu"; } SaveItem = AddNewToolbarButton(strCaption, ScreenBarButton.Save, "SaveItem", 51); strCaption = "New"; if (ABCApp.ABCDataGlobal.Language == "VN") { strCaption = "Thêm"; } NewItem = AddNewToolbarButton(strCaption, ScreenBarButton.New, "NewItem", 46); strCaption = "Edit"; if (ABCApp.ABCDataGlobal.Language == "VN") { strCaption = "Sửa"; } EditItem = AddNewToolbarButton(strCaption, ScreenBarButton.Edit, "EditItem", 47); strCaption = "Delete"; if (ABCApp.ABCDataGlobal.Language == "VN") { strCaption = "Xóa"; } DeleteItem = AddNewToolbarButton(strCaption, ScreenBarButton.Delete, "DeleteItem", 48); strCaption = "Cancel"; if (ABCApp.ABCDataGlobal.Language == "VN") { strCaption = "Tạm ngưng"; } CancelItem = AddNewToolbarButton(strCaption, ScreenBarButton.Cancel, "CancelItem", 53); strCaption = "Duplicate"; if (ABCApp.ABCDataGlobal.Language == "VN") { strCaption = "x2"; } DuplicateItem = AddNewToolbarButton(strCaption, ScreenBarButton.Duplicate, "DuplicateItem", 56); strCaption = "Approve"; if (ABCApp.ABCDataGlobal.Language == "VN") { strCaption = "Duyệt"; } ApproveItem = AddNewToolbarButton(strCaption, ScreenBarButton.Approve, "ApproveItem", 55); strCaption = "Reject"; if (ABCApp.ABCDataGlobal.Language == "VN") { strCaption = "Giữ lại"; } RejectItem = AddNewToolbarButton(strCaption, ScreenBarButton.Reject, "RejectItem", 58); strCaption = "Lock"; if (ABCApp.ABCDataGlobal.Language == "VN") { strCaption = ""; } LockItem = AddNewToolbarButton(strCaption, ScreenBarButton.Lock, "LockItem", 59); strCaption = "UnLock"; if (ABCApp.ABCDataGlobal.Language == "VN") { strCaption = ""; } UnLockItem = AddNewToolbarButton(strCaption, ScreenBarButton.UnLock, "UnLockItem", 60); strCaption = "Post"; if (ABCApp.ABCDataGlobal.Language == "VN") { strCaption = "Ghi Sổ"; } PostItem = AddNewToolbarButton(strCaption, ScreenBarButton.Post, "PostItem", 16); strCaption = "UnPost"; if (ABCApp.ABCDataGlobal.Language == "VN") { strCaption = "Hủy Ghi Sổ"; } UnPostItem = AddNewToolbarButton(strCaption, ScreenBarButton.UnPost, "UnPostItem", 10); strCaption = "Refresh"; if (ABCApp.ABCDataGlobal.Language == "VN") { strCaption = ""; } RefreshItem = AddNewToolbarButton(strCaption, ScreenBarButton.Refresh, "RefreshItem", 54); strCaption = "Search"; if (ABCApp.ABCDataGlobal.Language == "VN") { strCaption = ""; } SearchItem = AddNewToolbarButton(strCaption, ScreenBarButton.Search, "SearchItem", 25); strCaption = "Print"; if (ABCApp.ABCDataGlobal.Language == "VN") { strCaption = ""; } PrintItem = AddNewToolbarButton(strCaption, ScreenBarButton.Print, "PrintItem", 64); PrintItem.Visibility = BarItemVisibility.Never; InfoItem = AddNewToolbarButton("", ScreenBarButton.Info, "InfoItem", 61); InfoItem.Visibility = BarItemVisibility.Never; UtilitiesSubItem = AddNewParentToolbarButton("Tiện ích", ScreenBarButton.Utilities, "UtilitiesItem", 26); UtilitiesSubItem.Visibility = BarItemVisibility.Never; strCaption = "Studio"; if (ABCApp.ABCDataGlobal.Language == "VN") { strCaption = "Studio"; } StudioItem = AddNewToolbarButton("UtilitiesItem", strCaption, ScreenBarButton.Studio, "StudioItem", 26); }
/// <summary> /// Required method for Designer support - do not modify /// the contents of this method with the code editor. /// </summary> private void InitializeComponent() { this.components = new System.ComponentModel.Container(); this.barManager1 = new DevExpress.XtraBars.BarManager(this.components); this.bar1 = new DevExpress.XtraBars.Bar(); this.barButtonItem1 = new DevExpress.XtraBars.BarButtonItem(); this.barDockControlTop = new DevExpress.XtraBars.BarDockControl(); this.barDockControlBottom = new DevExpress.XtraBars.BarDockControl(); this.barDockControlLeft = new DevExpress.XtraBars.BarDockControl(); this.barDockControlRight = new DevExpress.XtraBars.BarDockControl(); this.textEdit1 = new DevExpress.XtraEditors.TextEdit(); ((System.ComponentModel.ISupportInitialize)(this.barManager1)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.textEdit1.Properties)).BeginInit(); this.SuspendLayout(); // // barManager1 // this.barManager1.Bars.AddRange(new DevExpress.XtraBars.Bar[] { this.bar1 }); this.barManager1.DockControls.Add(this.barDockControlTop); this.barManager1.DockControls.Add(this.barDockControlBottom); this.barManager1.DockControls.Add(this.barDockControlLeft); this.barManager1.DockControls.Add(this.barDockControlRight); this.barManager1.Form = this; this.barManager1.Items.AddRange(new DevExpress.XtraBars.BarItem[] { this.barButtonItem1 }); this.barManager1.MaxItemId = 1; // // bar1 // this.bar1.BarName = "Custom 1"; this.bar1.DockCol = 0; this.bar1.DockRow = 0; this.bar1.DockStyle = DevExpress.XtraBars.BarDockStyle.Top; this.bar1.LinksPersistInfo.AddRange(new DevExpress.XtraBars.LinkPersistInfo[] { new DevExpress.XtraBars.LinkPersistInfo(this.barButtonItem1) }); this.bar1.Text = "Custom 1"; // // barButtonItem1 // this.barButtonItem1.Caption = "ModuleButton (Ctrl+M)"; this.barButtonItem1.Id = 0; this.barButtonItem1.ItemShortcut = new DevExpress.XtraBars.BarShortcut((System.Windows.Forms.Keys.Control | System.Windows.Forms.Keys.M)); this.barButtonItem1.Name = "barButtonItem1"; this.barButtonItem1.ItemClick += new DevExpress.XtraBars.ItemClickEventHandler(this.barButtonItem1_ItemClick); // // textEdit1 // this.textEdit1.Location = new System.Drawing.Point(48, 88); this.textEdit1.Name = "textEdit1"; this.textEdit1.Size = new System.Drawing.Size(100, 20); this.textEdit1.TabIndex = 4; // // UserControl1 // this.BackColor = System.Drawing.SystemColors.ControlDark; this.Controls.Add(this.textEdit1); this.Controls.Add(this.barDockControlLeft); this.Controls.Add(this.barDockControlRight); this.Controls.Add(this.barDockControlBottom); this.Controls.Add(this.barDockControlTop); this.Name = "UserControl1"; this.Size = new System.Drawing.Size(314, 173); ((System.ComponentModel.ISupportInitialize)(this.barManager1)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.textEdit1.Properties)).EndInit(); this.ResumeLayout(false); }
/// <summary> /// Required method for Designer support - do not modify /// the contents of this method with the code editor. /// </summary> private void InitializeComponent() { this.components = new System.ComponentModel.Container(); this.barManager1 = new DevExpress.XtraBars.BarManager(this.components); this.bar1 = new DevExpress.XtraBars.Bar(); this.BarSubItem1 = new DevExpress.XtraBars.BarSubItem(); this.BarButtonItem1 = new DevExpress.XtraBars.BarButtonItem(); this.bar2 = new DevExpress.XtraBars.Bar(); this.BarStaticItem1 = new DevExpress.XtraBars.BarStaticItem(); this.bar3 = new DevExpress.XtraBars.Bar(); this.barButtonItem2 = new DevExpress.XtraBars.BarButtonItem(); this.barDockControl1 = new DevExpress.XtraBars.BarDockControl(); this.barDockControl2 = new DevExpress.XtraBars.BarDockControl(); this.barDockControl3 = new DevExpress.XtraBars.BarDockControl(); this.barDockControl4 = new DevExpress.XtraBars.BarDockControl(); ((System.ComponentModel.ISupportInitialize)(this.barManager1)).BeginInit(); this.SuspendLayout(); // // barManager1 // this.barManager1.Bars.AddRange(new DevExpress.XtraBars.Bar[] { this.bar1, this.bar2, this.bar3 }); this.barManager1.DockControls.Add(this.barDockControl1); this.barManager1.DockControls.Add(this.barDockControl2); this.barManager1.DockControls.Add(this.barDockControl3); this.barManager1.DockControls.Add(this.barDockControl4); this.barManager1.Form = this; this.barManager1.Items.AddRange(new DevExpress.XtraBars.BarItem[] { this.BarSubItem1, this.BarStaticItem1, this.BarButtonItem1, this.barButtonItem2 }); this.barManager1.MainMenu = this.bar1; this.barManager1.MaxItemId = 4; this.barManager1.StatusBar = this.bar2; this.barManager1.UnMerge += new DevExpress.XtraBars.BarManagerMergeEventHandler(this.barManager1_UnMerge); this.barManager1.Merge += new DevExpress.XtraBars.BarManagerMergeEventHandler(this.barManager1_Merge); // // bar1 // this.bar1.BarName = "Main menu"; this.bar1.DockCol = 0; this.bar1.DockRow = 0; this.bar1.DockStyle = DevExpress.XtraBars.BarDockStyle.Top; this.bar1.FloatLocation = new System.Drawing.Point(52, 165); this.bar1.FloatSize = new System.Drawing.Size(29, 25); this.bar1.LinksPersistInfo.AddRange(new DevExpress.XtraBars.LinkPersistInfo[] { new DevExpress.XtraBars.LinkPersistInfo(this.BarSubItem1) }); this.bar1.OptionsBar.MultiLine = true; this.bar1.OptionsBar.UseWholeRow = true; this.bar1.Text = "Main menu"; // // BarSubItem1 // this.BarSubItem1.Caption = "Menu"; this.BarSubItem1.Id = 1; this.BarSubItem1.LinksPersistInfo.AddRange(new DevExpress.XtraBars.LinkPersistInfo[] { new DevExpress.XtraBars.LinkPersistInfo(this.BarButtonItem1) }); this.BarSubItem1.MergeType = DevExpress.XtraBars.BarMenuMerge.MergeItems; this.BarSubItem1.Name = "BarSubItem1"; // // BarButtonItem1 // this.BarButtonItem1.Caption = "Open"; this.BarButtonItem1.Id = 2; this.BarButtonItem1.Name = "BarButtonItem1"; this.BarButtonItem1.ItemClick += new DevExpress.XtraBars.ItemClickEventHandler(this.BarButtonItem1_ItemClick); // // bar2 // this.bar2.BarName = "Status bar"; this.bar2.CanDockStyle = DevExpress.XtraBars.BarCanDockStyle.Bottom; this.bar2.DockCol = 0; this.bar2.DockRow = 0; this.bar2.DockStyle = DevExpress.XtraBars.BarDockStyle.Bottom; this.bar2.FloatLocation = new System.Drawing.Point(65, 425); this.bar2.FloatSize = new System.Drawing.Size(29, 25); this.bar2.LinksPersistInfo.AddRange(new DevExpress.XtraBars.LinkPersistInfo[] { new DevExpress.XtraBars.LinkPersistInfo(this.BarStaticItem1) }); this.bar2.OptionsBar.AllowQuickCustomization = false; this.bar2.OptionsBar.DrawDragBorder = false; this.bar2.OptionsBar.UseWholeRow = true; this.bar2.Text = "Status bar"; // // BarStaticItem1 // this.BarStaticItem1.Caption = "Status"; this.BarStaticItem1.Id = 0; this.BarStaticItem1.Name = "BarStaticItem1"; this.BarStaticItem1.TextAlignment = System.Drawing.StringAlignment.Near; // // bar3 // this.bar3.BarName = "Custom 3"; this.bar3.DockCol = 0; this.bar3.DockRow = 1; this.bar3.DockStyle = DevExpress.XtraBars.BarDockStyle.Top; this.bar3.FloatLocation = new System.Drawing.Point(335, 269); this.bar3.LinksPersistInfo.AddRange(new DevExpress.XtraBars.LinkPersistInfo[] { new DevExpress.XtraBars.LinkPersistInfo(this.barButtonItem2) }); this.bar3.Text = "Custom 3"; // // barButtonItem2 // this.barButtonItem2.Caption = "Main Toolbar"; this.barButtonItem2.Id = 3; this.barButtonItem2.Name = "barButtonItem2"; // // Form1 // this.AutoScaleBaseSize = new System.Drawing.Size(5, 13); this.ClientSize = new System.Drawing.Size(471, 356); this.Controls.Add(this.barDockControl3); this.Controls.Add(this.barDockControl4); this.Controls.Add(this.barDockControl2); this.Controls.Add(this.barDockControl1); this.IsMdiContainer = true; this.Name = "Form1"; this.Text = "Form1"; ((System.ComponentModel.ISupportInitialize)(this.barManager1)).EndInit(); this.ResumeLayout(false); }