| | |
| | | // |
| | | // tileNavPane |
| | | // |
| | | tileNavPane.AllowGlyphSkinning = true; |
| | | tileNavPane.Buttons.Add(nbTitle); |
| | | tileNavPane.Buttons.Add(nbProjectMgr); |
| | | tileNavPane.Buttons.Add(nbModelMgr); |
| | |
| | | tileNavPane.DefaultCategory.Tile.DropDownOptions.BeakColor = Color.Empty; |
| | | tileNavPane.Dock = DockStyle.Top; |
| | | tileNavPane.Location = new Point(0, 0); |
| | | tileNavPane.Margin = new Padding(4, 5, 4, 5); |
| | | tileNavPane.Name = "tileNavPane"; |
| | | tileNavPane.Size = new Size(1189, 53); |
| | | tileNavPane.Size = new Size(1699, 84); |
| | | tileNavPane.TabIndex = 0; |
| | | tileNavPane.Text = "tileNavPane1"; |
| | | tileNavPane.ElementClick += tileNavPane_ElementClick; |
| | |
| | | // |
| | | 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"; |
| | |
| | | barDockControlTop.Dock = DockStyle.Top; |
| | | barDockControlTop.Location = new Point(0, 0); |
| | | barDockControlTop.Manager = barManager1; |
| | | barDockControlTop.Size = new Size(1189, 0); |
| | | barDockControlTop.Margin = new Padding(4, 5, 4, 5); |
| | | barDockControlTop.Size = new Size(1699, 0); |
| | | // |
| | | // barDockControlBottom |
| | | // |
| | | barDockControlBottom.CausesValidation = false; |
| | | barDockControlBottom.Dock = DockStyle.Bottom; |
| | | barDockControlBottom.Location = new Point(0, 710); |
| | | barDockControlBottom.Location = new Point(0, 1117); |
| | | barDockControlBottom.Manager = barManager1; |
| | | barDockControlBottom.Size = new Size(1189, 30); |
| | | barDockControlBottom.Margin = new Padding(4, 5, 4, 5); |
| | | barDockControlBottom.Size = new Size(1699, 46); |
| | | // |
| | | // barDockControlLeft |
| | | // |
| | |
| | | barDockControlLeft.Dock = DockStyle.Left; |
| | | barDockControlLeft.Location = new Point(0, 0); |
| | | barDockControlLeft.Manager = barManager1; |
| | | barDockControlLeft.Size = new Size(0, 710); |
| | | barDockControlLeft.Margin = new Padding(4, 5, 4, 5); |
| | | barDockControlLeft.Size = new Size(0, 1117); |
| | | // |
| | | // barDockControlRight |
| | | // |
| | | barDockControlRight.CausesValidation = false; |
| | | barDockControlRight.Dock = DockStyle.Right; |
| | | barDockControlRight.Location = new Point(1189, 0); |
| | | barDockControlRight.Location = new Point(1699, 0); |
| | | barDockControlRight.Manager = barManager1; |
| | | barDockControlRight.Size = new Size(0, 710); |
| | | barDockControlRight.Margin = new Padding(4, 5, 4, 5); |
| | | barDockControlRight.Size = new Size(0, 1117); |
| | | // |
| | | // dockManager1 |
| | | // |
| | |
| | | // tabbedView1 |
| | | // |
| | | tabbedView1.DocumentProperties.AllowPin = true; |
| | | tabbedView1.Style = DevExpress.XtraBars.Docking2010.Views.DockingViewStyle.Light; |
| | | tabbedView1.DocumentSelected += tabbedView1_DocumentSelected; |
| | | tabbedView1.DocumentAdded += tabbedView1_DocumentAdded; |
| | | tabbedView1.DocumentActivated += tabbedView1_DocumentActivated; |
| | |
| | | // |
| | | flyoutPanel1.AnimationRate = 100; |
| | | flyoutPanel1.Controls.Add(flyoutPanelControl1); |
| | | flyoutPanel1.Location = new Point(494, 133); |
| | | flyoutPanel1.Location = new Point(706, 209); |
| | | flyoutPanel1.Margin = new Padding(4, 5, 4, 5); |
| | | flyoutPanel1.Name = "flyoutPanel1"; |
| | | flyoutPanel1.Options.CloseOnOuterClick = true; |
| | | flyoutPanel1.OptionsBeakPanel.BeakLocation = DevExpress.Utils.BeakPanelBeakLocation.Top; |
| | | flyoutPanel1.OptionsButtonPanel.ButtonPanelHeight = 47; |
| | | flyoutPanel1.ParentForm = this; |
| | | flyoutPanel1.Size = new Size(200, 100); |
| | | flyoutPanel1.Size = new Size(286, 157); |
| | | flyoutPanel1.TabIndex = 5; |
| | | // |
| | | // flyoutPanelControl1 |
| | |
| | | flyoutPanelControl1.Dock = DockStyle.Fill; |
| | | flyoutPanelControl1.FlyoutPanel = flyoutPanel1; |
| | | flyoutPanelControl1.Location = new Point(0, 0); |
| | | flyoutPanelControl1.Margin = new Padding(4, 5, 4, 5); |
| | | flyoutPanelControl1.Name = "flyoutPanelControl1"; |
| | | flyoutPanelControl1.Size = new Size(200, 100); |
| | | flyoutPanelControl1.Size = new Size(286, 157); |
| | | flyoutPanelControl1.TabIndex = 0; |
| | | // |
| | | // svgImg32Model |
| | |
| | | // |
| | | // MainForm |
| | | // |
| | | AutoScaleDimensions = new SizeF(7F, 14F); |
| | | AutoScaleDimensions = new SizeF(10F, 22F); |
| | | AutoScaleMode = AutoScaleMode.Font; |
| | | ClientSize = new Size(1189, 740); |
| | | ClientSize = new Size(1699, 1163); |
| | | Controls.Add(flyoutPanel1); |
| | | Controls.Add(tileNavPane); |
| | | Controls.Add(barDockControlLeft); |
| | | Controls.Add(barDockControlRight); |
| | | Controls.Add(barDockControlBottom); |
| | | Controls.Add(barDockControlTop); |
| | | Margin = new Padding(3, 2, 3, 2); |
| | | Margin = new Padding(4, 3, 4, 3); |
| | | Name = "MainForm"; |
| | | Text = "Form1"; |
| | | WindowState = FormWindowState.Maximized; |