| | |
| | | /// </summary> |
| | | private void InitializeComponent() |
| | | { |
| | | components = new Container(); |
| | | ComponentResourceManager resources = new ComponentResourceManager(typeof(PumpChartMainPage)); |
| | | ribbonControl1 = new DevExpress.XtraBars.Ribbon.RibbonControl(); |
| | | BtnAdd = new DevExpress.XtraBars.BarButtonItem(); |
| | |
| | | barBtnUpdateimportance = new DevExpress.XtraBars.BarButtonItem(); |
| | | barBtnOtherName = new DevExpress.XtraBars.BarButtonItem(); |
| | | barBtnEditChart = new DevExpress.XtraBars.BarButtonItem(); |
| | | barBtnImportByPicture = new DevExpress.XtraBars.BarButtonItem(); |
| | | ribbonPage1 = new DevExpress.XtraBars.Ribbon.RibbonPage(); |
| | | ribbonPageGroup1 = new DevExpress.XtraBars.Ribbon.RibbonPageGroup(); |
| | | ribbonPageGroup2 = new DevExpress.XtraBars.Ribbon.RibbonPageGroup(); |
| | | dockManager1 = new DevExpress.XtraBars.Docking.DockManager(components); |
| | | dockPanel1 = new DevExpress.XtraBars.Docking.DockPanel(); |
| | | dockPanel1_Container = new DevExpress.XtraBars.Docking.ControlContainer(); |
| | | phartDiagramRelationListCtrl1 = new PhartDiagramRelationListCtrl(); |
| | | pumpChartViewCtrl1 = new PumpChartViewCtrl(); |
| | | ((ISupportInitialize)ribbonControl1).BeginInit(); |
| | | ((ISupportInitialize)dockManager1).BeginInit(); |
| | | dockPanel1.SuspendLayout(); |
| | | dockPanel1_Container.SuspendLayout(); |
| | | SuspendLayout(); |
| | | // |
| | | // ribbonControl1 |
| | | // |
| | | ribbonControl1.ExpandCollapseItem.Id = 0; |
| | | ribbonControl1.ItemPanelStyle = DevExpress.XtraBars.Ribbon.RibbonItemPanelStyle.Classic; |
| | | ribbonControl1.Items.AddRange(new DevExpress.XtraBars.BarItem[] { ribbonControl1.ExpandCollapseItem, BtnAdd, barBtnImportByExcel, barBtnDelete, barBtnUpdateimportance, barBtnOtherName, barBtnEditChart }); |
| | | ribbonControl1.Items.AddRange(new DevExpress.XtraBars.BarItem[] { ribbonControl1.ExpandCollapseItem, BtnAdd, barBtnImportByExcel, barBtnDelete, barBtnUpdateimportance, barBtnOtherName, barBtnEditChart, barBtnImportByPicture }); |
| | | ribbonControl1.Location = new Point(0, 0); |
| | | ribbonControl1.MaxItemId = 33; |
| | | ribbonControl1.MaxItemId = 34; |
| | | ribbonControl1.Name = "ribbonControl1"; |
| | | ribbonControl1.Pages.AddRange(new DevExpress.XtraBars.Ribbon.RibbonPage[] { ribbonPage1 }); |
| | | ribbonControl1.ShowApplicationButton = DevExpress.Utils.DefaultBoolean.False; |
| | |
| | | barBtnEditChart.Name = "barBtnEditChart"; |
| | | barBtnEditChart.ItemClick += barBtnEditChart_ItemClick; |
| | | // |
| | | // barBtnImportByPicture |
| | | // |
| | | barBtnImportByPicture.Caption = "图片"; |
| | | barBtnImportByPicture.Id = 33; |
| | | barBtnImportByPicture.ImageOptions.SvgImage = (DevExpress.Utils.Svg.SvgImage)resources.GetObject("barBtnImportByPicture.ImageOptions.SvgImage"); |
| | | barBtnImportByPicture.Name = "barBtnImportByPicture"; |
| | | barBtnImportByPicture.ItemClick += barBtnImportByPicture_ItemClick; |
| | | // |
| | | // ribbonPage1 |
| | | // |
| | | ribbonPage1.Groups.AddRange(new DevExpress.XtraBars.Ribbon.RibbonPageGroup[] { ribbonPageGroup1, ribbonPageGroup2 }); |
| | |
| | | // ribbonPageGroup1 |
| | | // |
| | | ribbonPageGroup1.ItemLinks.Add(barBtnImportByExcel, true); |
| | | ribbonPageGroup1.ItemLinks.Add(barBtnImportByPicture); |
| | | ribbonPageGroup1.Name = "ribbonPageGroup1"; |
| | | ribbonPageGroup1.Text = "导入"; |
| | | // |
| | |
| | | ribbonPageGroup2.Name = "ribbonPageGroup2"; |
| | | ribbonPageGroup2.Text = "操作"; |
| | | // |
| | | // dockManager1 |
| | | // |
| | | dockManager1.Form = this; |
| | | dockManager1.RootPanels.AddRange(new DevExpress.XtraBars.Docking.DockPanel[] { dockPanel1 }); |
| | | dockManager1.TopZIndexControls.AddRange(new string[] { "DevExpress.XtraBars.BarDockControl", "DevExpress.XtraBars.StandaloneBarDockControl", "System.Windows.Forms.MenuStrip", "System.Windows.Forms.StatusStrip", "System.Windows.Forms.StatusBar", "DevExpress.XtraBars.Ribbon.RibbonStatusBar", "DevExpress.XtraBars.Ribbon.RibbonControl", "DevExpress.XtraBars.Navigation.OfficeNavigationBar", "DevExpress.XtraBars.Navigation.TileNavPane", "DevExpress.XtraBars.TabFormControl", "DevExpress.XtraBars.FluentDesignSystem.FluentDesignFormControl", "DevExpress.XtraBars.ToolbarForm.ToolbarFormControl" }); |
| | | // |
| | | // dockPanel1 |
| | | // |
| | | dockPanel1.Controls.Add(dockPanel1_Container); |
| | | dockPanel1.Dock = DevExpress.XtraBars.Docking.DockingStyle.Left; |
| | | dockPanel1.ID = new Guid("7665f850-caee-40d7-a6f4-2718b4e99f9d"); |
| | | dockPanel1.Location = new Point(0, 101); |
| | | dockPanel1.Name = "dockPanel1"; |
| | | dockPanel1.OriginalSize = new Size(200, 200); |
| | | dockPanel1.Size = new Size(200, 462); |
| | | dockPanel1.Text = "曲线列表"; |
| | | // |
| | | // dockPanel1_Container |
| | | // |
| | | dockPanel1_Container.Controls.Add(phartDiagramRelationListCtrl1); |
| | | dockPanel1_Container.Location = new Point(3, 26); |
| | | dockPanel1_Container.Name = "dockPanel1_Container"; |
| | | dockPanel1_Container.Size = new Size(193, 433); |
| | | dockPanel1_Container.TabIndex = 0; |
| | | // |
| | | // phartDiagramRelationListCtrl1 |
| | | // |
| | | phartDiagramRelationListCtrl1.BorderVisible = true; |
| | | phartDiagramRelationListCtrl1.Dock = DockStyle.Fill; |
| | | phartDiagramRelationListCtrl1.Location = new Point(0, 0); |
| | | phartDiagramRelationListCtrl1.Name = "phartDiagramRelationListCtrl1"; |
| | | phartDiagramRelationListCtrl1.Size = new Size(193, 433); |
| | | phartDiagramRelationListCtrl1.TabIndex = 0; |
| | | // |
| | | // pumpChartViewCtrl1 |
| | | // |
| | | pumpChartViewCtrl1.Dock = DockStyle.Fill; |
| | | pumpChartViewCtrl1.Location = new Point(200, 101); |
| | | pumpChartViewCtrl1.Margin = new Padding(2, 2, 2, 2); |
| | | pumpChartViewCtrl1.Name = "pumpChartViewCtrl1"; |
| | | pumpChartViewCtrl1.Size = new Size(678, 462); |
| | | pumpChartViewCtrl1.TabIndex = 2; |
| | | // |
| | | // PumpChartMainPage |
| | | // |
| | | Appearance.BackColor = SystemColors.Control; |
| | | Appearance.Options.UseBackColor = true; |
| | | AutoScaleDimensions = new SizeF(7F, 14F); |
| | | AutoScaleMode = AutoScaleMode.Font; |
| | | Controls.Add(pumpChartViewCtrl1); |
| | | Controls.Add(dockPanel1); |
| | | Controls.Add(ribbonControl1); |
| | | Name = "PumpChartMainPage"; |
| | | Size = new Size(878, 563); |
| | | ((ISupportInitialize)ribbonControl1).EndInit(); |
| | | ((ISupportInitialize)dockManager1).EndInit(); |
| | | dockPanel1.ResumeLayout(false); |
| | | dockPanel1_Container.ResumeLayout(false); |
| | | ResumeLayout(false); |
| | | PerformLayout(); |
| | | } |
| | |
| | | private DevExpress.XtraBars.Ribbon.RibbonPage ribbonPage1; |
| | | private DevExpress.XtraBars.Ribbon.RibbonPageGroup ribbonPageGroup1; |
| | | private DevExpress.XtraBars.Ribbon.RibbonPageGroup ribbonPageGroup2; |
| | | private DevExpress.XtraBars.BarButtonItem barBtnImportByPicture; |
| | | private DevExpress.XtraBars.Docking.DockManager dockManager1; |
| | | private PumpChartViewCtrl pumpChartViewCtrl1; |
| | | private DevExpress.XtraBars.Docking.DockPanel dockPanel1; |
| | | private DevExpress.XtraBars.Docking.ControlContainer dockPanel1_Container; |
| | | private PhartDiagramRelationListCtrl phartDiagramRelationListCtrl1; |
| | | } |
| | | } |