| | |
| | | { |
| | | components = new System.ComponentModel.Container(); |
| | | System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(MainForm)); |
| | | DevExpress.Utils.SuperToolTip superToolTip1 = new DevExpress.Utils.SuperToolTip(); |
| | | DevExpress.Utils.ToolTipItem toolTipItem1 = new DevExpress.Utils.ToolTipItem(); |
| | | DevExpress.Utils.SuperToolTip superToolTip2 = new DevExpress.Utils.SuperToolTip(); |
| | | DevExpress.Utils.ToolTipItem toolTipItem2 = new DevExpress.Utils.ToolTipItem(); |
| | | tileNavPane = new DevExpress.XtraBars.Navigation.TileNavPane(); |
| | | nbTitle = new DevExpress.XtraBars.Navigation.NavButton(); |
| | | navBtnPrevious = new DevExpress.XtraBars.Navigation.NavButton(); |
| | | navBtnCurrent = new DevExpress.XtraBars.Navigation.NavButton(); |
| | | navBtnNext = new DevExpress.XtraBars.Navigation.NavButton(); |
| | | nbProjectMgr = new DevExpress.XtraBars.Navigation.NavButton(); |
| | | nbModelMgr = new DevExpress.XtraBars.Navigation.NavButton(); |
| | | nbProductManage = new DevExpress.XtraBars.Navigation.NavButton(); |
| | | navButton2 = new DevExpress.XtraBars.Navigation.NavButton(); |
| | | nbSystemConfig = new DevExpress.XtraBars.Navigation.NavButton(); |
| | | nbMin = new DevExpress.XtraBars.Navigation.NavButton(); |
| | | nbNormal = new DevExpress.XtraBars.Navigation.NavButton(); |
| | |
| | | // |
| | | // tileNavPane |
| | | // |
| | | tileNavPane.AllowGlyphSkinning = true; |
| | | tileNavPane.Buttons.Add(nbTitle); |
| | | tileNavPane.Buttons.Add(navBtnPrevious); |
| | | tileNavPane.Buttons.Add(navBtnCurrent); |
| | | tileNavPane.Buttons.Add(navBtnNext); |
| | | tileNavPane.Buttons.Add(nbProjectMgr); |
| | | tileNavPane.Buttons.Add(nbModelMgr); |
| | | tileNavPane.Buttons.Add(nbProductManage); |
| | | tileNavPane.Buttons.Add(navButton2); |
| | | tileNavPane.Buttons.Add(nbSystemConfig); |
| | | tileNavPane.Buttons.Add(nbMin); |
| | | tileNavPane.Buttons.Add(nbNormal); |
| | |
| | | nbTitle.Name = "nbTitle"; |
| | | nbTitle.ElementClick += nbTitle_ElementClick; |
| | | // |
| | | // navBtnPrevious |
| | | // |
| | | navBtnPrevious.Alignment = DevExpress.XtraBars.Navigation.NavButtonAlignment.Left; |
| | | navBtnPrevious.Caption = null; |
| | | navBtnPrevious.ImageOptions.SvgImage = (DevExpress.Utils.Svg.SvgImage)resources.GetObject("navBtnPrevious.ImageOptions.SvgImage"); |
| | | navBtnPrevious.Name = "navBtnPrevious"; |
| | | toolTipItem1.Text = "后退"; |
| | | superToolTip1.Items.Add(toolTipItem1); |
| | | navBtnPrevious.SuperTip = superToolTip1; |
| | | navBtnPrevious.Visible = false; |
| | | navBtnPrevious.ElementClick += navBtnPrevious_ElementClick; |
| | | // |
| | | // navBtnCurrent |
| | | // |
| | | navBtnCurrent.Alignment = DevExpress.XtraBars.Navigation.NavButtonAlignment.Left; |
| | | navBtnCurrent.Appearance.BackColor = Color.FromArgb(255, 128, 0); |
| | | navBtnCurrent.Appearance.ForeColor = Color.White; |
| | | navBtnCurrent.Appearance.Options.UseBackColor = true; |
| | | navBtnCurrent.Appearance.Options.UseForeColor = true; |
| | | navBtnCurrent.AppearanceDisabled.BackColor = Color.FromArgb(255, 128, 0); |
| | | navBtnCurrent.AppearanceDisabled.ForeColor = Color.White; |
| | | navBtnCurrent.AppearanceDisabled.Options.UseBackColor = true; |
| | | navBtnCurrent.AppearanceDisabled.Options.UseForeColor = true; |
| | | navBtnCurrent.AppearanceHovered.BackColor = Color.FromArgb(255, 128, 0); |
| | | navBtnCurrent.AppearanceHovered.ForeColor = Color.White; |
| | | navBtnCurrent.AppearanceHovered.Options.UseBackColor = true; |
| | | navBtnCurrent.AppearanceHovered.Options.UseForeColor = true; |
| | | navBtnCurrent.AppearanceSelected.BackColor = Color.FromArgb(255, 128, 0); |
| | | navBtnCurrent.AppearanceSelected.ForeColor = Color.White; |
| | | navBtnCurrent.AppearanceSelected.Options.UseBackColor = true; |
| | | navBtnCurrent.AppearanceSelected.Options.UseForeColor = true; |
| | | navBtnCurrent.Caption = "首页"; |
| | | navBtnCurrent.ImageOptions.SvgImage = (DevExpress.Utils.Svg.SvgImage)resources.GetObject("navBtnCurrent.ImageOptions.SvgImage"); |
| | | navBtnCurrent.Name = "navBtnCurrent"; |
| | | // |
| | | // navBtnNext |
| | | // |
| | | navBtnNext.Alignment = DevExpress.XtraBars.Navigation.NavButtonAlignment.Left; |
| | | navBtnNext.Caption = null; |
| | | navBtnNext.ImageOptions.SvgImage = (DevExpress.Utils.Svg.SvgImage)resources.GetObject("navBtnNext.ImageOptions.SvgImage"); |
| | | navBtnNext.Name = "navBtnNext"; |
| | | toolTipItem2.Text = "前进"; |
| | | superToolTip2.Items.Add(toolTipItem2); |
| | | navBtnNext.SuperTip = superToolTip2; |
| | | navBtnNext.Visible = false; |
| | | navBtnNext.ElementClick += navBtnNext_ElementClick; |
| | | // |
| | | // nbProjectMgr |
| | | // |
| | | nbProjectMgr.Alignment = DevExpress.XtraBars.Navigation.NavButtonAlignment.Right; |
| | | nbProjectMgr.Caption = "项目管理"; |
| | | nbProjectMgr.ImageOptions.AllowGlyphSkinning = DevExpress.Utils.DefaultBoolean.False; |
| | | nbProjectMgr.ImageOptions.SvgImage = (DevExpress.Utils.Svg.SvgImage)resources.GetObject("nbProjectMgr.ImageOptions.SvgImage"); |
| | | nbProjectMgr.ImageOptions.SvgImageSize = new Size(24, 24); |
| | | nbProjectMgr.Name = "nbProjectMgr"; |
| | |
| | | // |
| | | nbModelMgr.Alignment = DevExpress.XtraBars.Navigation.NavButtonAlignment.Right; |
| | | nbModelMgr.Caption = "模型管理"; |
| | | nbModelMgr.ImageOptions.AllowGlyphSkinning = DevExpress.Utils.DefaultBoolean.False; |
| | | nbModelMgr.ImageOptions.SvgImage = (DevExpress.Utils.Svg.SvgImage)resources.GetObject("nbModelMgr.ImageOptions.SvgImage"); |
| | | nbModelMgr.ImageOptions.SvgImageSize = new Size(24, 24); |
| | | nbModelMgr.Name = "nbModelMgr"; |
| | | nbModelMgr.ElementClick += nbModelMgr_ElementClick; |
| | | // |
| | | // nbProductManage |
| | | // |
| | | nbProductManage.Alignment = DevExpress.XtraBars.Navigation.NavButtonAlignment.Right; |
| | | nbProductManage.Caption = "产品管理"; |
| | | nbProductManage.ImageOptions.SvgImage = (DevExpress.Utils.Svg.SvgImage)resources.GetObject("nbProductManage.ImageOptions.SvgImage"); |
| | | nbProductManage.Name = "nbProductManage"; |
| | | nbProductManage.ElementClick += nbProductManage_ElementClick; |
| | | // |
| | | // navButton2 |
| | | // |
| | | navButton2.Alignment = DevExpress.XtraBars.Navigation.NavButtonAlignment.Right; |
| | | navButton2.Caption = "型号管理"; |
| | | navButton2.Name = "navButton2"; |
| | | navButton2.Visible = false; |
| | | // |
| | | // nbSystemConfig |
| | | // |
| | |
| | | // |
| | | barDockControlBottom.CausesValidation = false; |
| | | barDockControlBottom.Dock = DockStyle.Bottom; |
| | | barDockControlBottom.Location = new Point(0, 710); |
| | | barDockControlBottom.Location = new Point(0, 669); |
| | | barDockControlBottom.Manager = barManager1; |
| | | barDockControlBottom.Size = new Size(1189, 30); |
| | | // |
| | |
| | | barDockControlLeft.Dock = DockStyle.Left; |
| | | barDockControlLeft.Location = new Point(0, 0); |
| | | barDockControlLeft.Manager = barManager1; |
| | | barDockControlLeft.Size = new Size(0, 710); |
| | | barDockControlLeft.Size = new Size(0, 669); |
| | | // |
| | | // barDockControlRight |
| | | // |
| | |
| | | barDockControlRight.Dock = DockStyle.Right; |
| | | barDockControlRight.Location = new Point(1189, 0); |
| | | barDockControlRight.Manager = barManager1; |
| | | barDockControlRight.Size = new Size(0, 710); |
| | | barDockControlRight.Size = new Size(0, 669); |
| | | // |
| | | // dockManager1 |
| | | // |
| | |
| | | // |
| | | // tabbedView1 |
| | | // |
| | | tabbedView1.DocumentGroupProperties.ShowTabHeader = false; |
| | | tabbedView1.DocumentProperties.AllowPin = true; |
| | | tabbedView1.Style = DevExpress.XtraBars.Docking2010.Views.DockingViewStyle.Light; |
| | | tabbedView1.DocumentSelected += tabbedView1_DocumentSelected; |
| | | tabbedView1.DocumentAdded += tabbedView1_DocumentAdded; |
| | | tabbedView1.DocumentActivated += tabbedView1_DocumentActivated; |
| | |
| | | svgImg32Model.Add("actions_book", "image://svgimages/icon builder/actions_book.svg"); |
| | | svgImg32Model.Add("charttype_stepline", "image://svgimages/chart/charttype_stepline.svg"); |
| | | svgImg32Model.Add("bletter", "image://svgimages/outlook inspired/bletter.svg"); |
| | | svgImg32Model.Add("propertiespanel", "image://svgimages/diagramicons/propertiespanel.svg"); |
| | | svgImg32Model.Add("columntotalsposition", "image://svgimages/dashboards/columntotalsposition.svg"); |
| | | svgImg32Model.Add("bo_category", "image://svgimages/business objects/bo_category.svg"); |
| | | svgImg32Model.Add("documentproperties", "image://svgimages/richedit/documentproperties.svg"); |
| | | svgImg32Model.Add("showallvalue", "image://svgimages/dashboards/showallvalue.svg"); |
| | | svgImg32Model.Add("gaugestylelinearhorizontal", "image://svgimages/dashboards/gaugestylelinearhorizontal.svg"); |
| | | svgImg32Model.Add("createlinechartnomarkers", "image://svgimages/spreadsheet/createlinechartnomarkers.svg"); |
| | | // |
| | | // MainForm |
| | | // |
| | | AutoScaleDimensions = new SizeF(7F, 14F); |
| | | AutoScaleMode = AutoScaleMode.Font; |
| | | ClientSize = new Size(1189, 740); |
| | | ClientSize = new Size(1189, 699); |
| | | Controls.Add(flyoutPanel1); |
| | | Controls.Add(tileNavPane); |
| | | Controls.Add(barDockControlLeft); |
| | |
| | | private DevExpress.Utils.FlyoutPanel flyoutPanel1; |
| | | private DevExpress.Utils.FlyoutPanelControl flyoutPanelControl1; |
| | | private DevExpress.Utils.SvgImageCollection svgImg32Model; |
| | | private DevExpress.XtraBars.Navigation.NavButton nbProductManage; |
| | | private DevExpress.XtraBars.Navigation.NavButton nbSystemConfig; |
| | | private DevExpress.XtraBars.Navigation.NavButton navButton2; |
| | | private DevExpress.XtraBars.Navigation.NavButton navBtnCurrent; |
| | | private DevExpress.XtraBars.Navigation.NavButton navBtnPrevious; |
| | | private DevExpress.XtraBars.Navigation.NavButton navBtnNext; |
| | | } |
| | | } |