| | |
| | | /// </summary> |
| | | private void InitializeComponent() |
| | | { |
| | | components = new System.ComponentModel.Container(); |
| | | System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(PumpProductMainPage)); |
| | | components = new Container(); |
| | | ComponentResourceManager resources = new ComponentResourceManager(typeof(PumpProductMainPage)); |
| | | ribbonControl1 = new DevExpress.XtraBars.Ribbon.RibbonControl(); |
| | | BtnAdd = new DevExpress.XtraBars.BarButtonItem(); |
| | | BtnEdit = new DevExpress.XtraBars.BarButtonItem(); |
| | |
| | | layoutControlItem1 = new DevExpress.XtraLayout.LayoutControlItem(); |
| | | popupPump = new DevExpress.XtraBars.PopupMenu(components); |
| | | svgImage32 = new DevExpress.Utils.SvgImageCollection(components); |
| | | ((System.ComponentModel.ISupportInitialize)ribbonControl1).BeginInit(); |
| | | ((System.ComponentModel.ISupportInitialize)dockManager1).BeginInit(); |
| | | ((ISupportInitialize)ribbonControl1).BeginInit(); |
| | | ((ISupportInitialize)dockManager1).BeginInit(); |
| | | dockPanel1.SuspendLayout(); |
| | | dockPanel1_Container.SuspendLayout(); |
| | | ((System.ComponentModel.ISupportInitialize)gridControl1).BeginInit(); |
| | | ((System.ComponentModel.ISupportInitialize)currentViewModelBindingSource).BeginInit(); |
| | | ((System.ComponentModel.ISupportInitialize)gridView1).BeginInit(); |
| | | ((System.ComponentModel.ISupportInitialize)layoutControl1).BeginInit(); |
| | | ((ISupportInitialize)gridControl1).BeginInit(); |
| | | ((ISupportInitialize)currentViewModelBindingSource).BeginInit(); |
| | | ((ISupportInitialize)gridView1).BeginInit(); |
| | | ((ISupportInitialize)layoutControl1).BeginInit(); |
| | | layoutControl1.SuspendLayout(); |
| | | sidePanel1.SuspendLayout(); |
| | | ((System.ComponentModel.ISupportInitialize)Root).BeginInit(); |
| | | ((System.ComponentModel.ISupportInitialize)layoutControlItem1).BeginInit(); |
| | | ((System.ComponentModel.ISupportInitialize)popupPump).BeginInit(); |
| | | ((System.ComponentModel.ISupportInitialize)svgImage32).BeginInit(); |
| | | ((ISupportInitialize)Root).BeginInit(); |
| | | ((ISupportInitialize)layoutControlItem1).BeginInit(); |
| | | ((ISupportInitialize)popupPump).BeginInit(); |
| | | ((ISupportInitialize)svgImage32).BeginInit(); |
| | | SuspendLayout(); |
| | | // |
| | | // ribbonControl1 |
| | | // |
| | | ribbonControl1.DrawGroupsBorderMode = DevExpress.Utils.DefaultBoolean.False; |
| | | ribbonControl1.EmptyAreaImageOptions.ImagePadding = new Padding(43, 47, 43, 47); |
| | | ribbonControl1.ExpandCollapseItem.Id = 0; |
| | | ribbonControl1.ItemPanelStyle = DevExpress.XtraBars.Ribbon.RibbonItemPanelStyle.Classic; |
| | | ribbonControl1.Items.AddRange(new DevExpress.XtraBars.BarItem[] { ribbonControl1.ExpandCollapseItem, BtnAdd, BtnEdit, barBtnEditPumpCurve, BarBtnEidtPumpPart, barButtonItem1, BarBtnPumpinformation, BarBtnEidtPumpProp, BtnDeleteAssetsPumpSeries }); |
| | | ribbonControl1.Location = new Point(0, 0); |
| | | ribbonControl1.Margin = new Padding(4, 5, 4, 5); |
| | | ribbonControl1.MaxItemId = 26; |
| | | ribbonControl1.Name = "ribbonControl1"; |
| | | ribbonControl1.OptionsMenuMinWidth = 471; |
| | | ribbonControl1.Pages.AddRange(new DevExpress.XtraBars.Ribbon.RibbonPage[] { ribbonPage1 }); |
| | | ribbonControl1.ShowApplicationButton = DevExpress.Utils.DefaultBoolean.False; |
| | | ribbonControl1.ShowExpandCollapseButton = DevExpress.Utils.DefaultBoolean.False; |
| | | ribbonControl1.ShowPageHeadersInFormCaption = DevExpress.Utils.DefaultBoolean.True; |
| | | ribbonControl1.ShowPageHeadersMode = DevExpress.XtraBars.Ribbon.ShowPageHeadersMode.ShowOnMultiplePages; |
| | | ribbonControl1.Size = new Size(1105, 113); |
| | | ribbonControl1.Size = new Size(682, 77); |
| | | ribbonControl1.ToolbarLocation = DevExpress.XtraBars.Ribbon.RibbonQuickAccessToolbarLocation.Hidden; |
| | | // |
| | | // BtnAdd |
| | |
| | | BarBtnPumpinformation.Id = 23; |
| | | BarBtnPumpinformation.ImageOptions.SvgImage = (DevExpress.Utils.Svg.SvgImage)resources.GetObject("BarBtnPumpinformation.ImageOptions.SvgImage"); |
| | | BarBtnPumpinformation.Name = "BarBtnPumpinformation"; |
| | | BarBtnPumpinformation.Visibility = DevExpress.XtraBars.BarItemVisibility.Never; |
| | | BarBtnPumpinformation.ItemClick += BarBtnPumpinformation_ItemClick; |
| | | // |
| | | // BarBtnEidtPumpProp |
| | |
| | | dockPanel1.Margin = new Padding(0); |
| | | dockPanel1.Name = "dockPanel1"; |
| | | dockPanel1.Options.ShowAutoHideButton = false; |
| | | dockPanel1.OriginalSize = new Size(202, 200); |
| | | dockPanel1.Size = new Size(202, 827); |
| | | dockPanel1.OriginalSize = new Size(233, 200); |
| | | dockPanel1.Size = new Size(233, 526); |
| | | dockPanel1.Text = "水泵系列"; |
| | | // |
| | | // dockPanel1_Container |
| | | // |
| | | dockPanel1_Container.Controls.Add(AssetsPumpSeriesTreeListCtrl1); |
| | | dockPanel1_Container.Location = new Point(4, 38); |
| | | dockPanel1_Container.Margin = new Padding(4, 5, 4, 5); |
| | | dockPanel1_Container.Location = new Point(3, 26); |
| | | dockPanel1_Container.Name = "dockPanel1_Container"; |
| | | dockPanel1_Container.Size = new Size(191, 785); |
| | | dockPanel1_Container.Size = new Size(226, 497); |
| | | dockPanel1_Container.TabIndex = 0; |
| | | // |
| | | // AssetsPumpSeriesTreeListCtrl1 |
| | |
| | | AssetsPumpSeriesTreeListCtrl1.Appearance.Options.UseBackColor = true; |
| | | AssetsPumpSeriesTreeListCtrl1.Dock = DockStyle.Fill; |
| | | AssetsPumpSeriesTreeListCtrl1.Location = new Point(0, 0); |
| | | AssetsPumpSeriesTreeListCtrl1.Margin = new Padding(6, 8, 6, 8); |
| | | AssetsPumpSeriesTreeListCtrl1.Margin = new Padding(4, 5, 4, 5); |
| | | AssetsPumpSeriesTreeListCtrl1.Name = "AssetsPumpSeriesTreeListCtrl1"; |
| | | AssetsPumpSeriesTreeListCtrl1.Size = new Size(191, 785); |
| | | AssetsPumpSeriesTreeListCtrl1.Size = new Size(226, 497); |
| | | AssetsPumpSeriesTreeListCtrl1.TabIndex = 0; |
| | | // |
| | | // gridControl1 |
| | | // |
| | | gridControl1.DataSource = currentViewModelBindingSource; |
| | | gridControl1.Dock = DockStyle.Fill; |
| | | gridControl1.EmbeddedNavigator.Margin = new Padding(13, 20, 13, 20); |
| | | gridControl1.Location = new Point(0, 113); |
| | | gridControl1.Location = new Point(0, 77); |
| | | gridControl1.MainView = gridView1; |
| | | gridControl1.Margin = new Padding(4, 5, 4, 5); |
| | | gridControl1.MenuManager = ribbonControl1; |
| | | gridControl1.Name = "gridControl1"; |
| | | gridControl1.Size = new Size(1105, 714); |
| | | gridControl1.Size = new Size(682, 449); |
| | | gridControl1.TabIndex = 0; |
| | | gridControl1.ViewCollection.AddRange(new DevExpress.XtraGrid.Views.Base.BaseView[] { gridView1 }); |
| | | // |
| | |
| | | gridView1.Appearance.HeaderPanel.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center; |
| | | gridView1.BorderStyle = DevExpress.XtraEditors.Controls.BorderStyles.NoBorder; |
| | | gridView1.Columns.AddRange(new DevExpress.XtraGrid.Columns.GridColumn[] { colName, colTagName, colDescription, colRatedFlow, colRatedHead, colD2, colErosion, colRatedEfficiency, colRatedPower, colRatedSpeed }); |
| | | gridView1.DetailHeight = 550; |
| | | gridView1.GridControl = gridControl1; |
| | | gridView1.Name = "gridView1"; |
| | | gridView1.OptionsEditForm.PopupEditFormWidth = 1143; |
| | | gridView1.OptionsView.ShowGroupPanel = false; |
| | | gridView1.MouseUp += gridView1_MouseUp; |
| | | // |
| | |
| | | colName.AppearanceCell.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center; |
| | | colName.Caption = "型号"; |
| | | colName.FieldName = "Name"; |
| | | colName.MinWidth = 29; |
| | | colName.Name = "colName"; |
| | | colName.Visible = true; |
| | | colName.VisibleIndex = 0; |
| | | colName.Width = 296; |
| | | colName.Width = 207; |
| | | // |
| | | // colTagName |
| | | // |
| | |
| | | colTagName.AppearanceCell.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center; |
| | | colTagName.Caption = "标签"; |
| | | colTagName.FieldName = "TagName"; |
| | | colTagName.MinWidth = 29; |
| | | colTagName.Name = "colTagName"; |
| | | colTagName.Visible = true; |
| | | colTagName.VisibleIndex = 8; |
| | | colTagName.Width = 191; |
| | | colTagName.Width = 134; |
| | | // |
| | | // colDescription |
| | | // |
| | |
| | | colDescription.AppearanceCell.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center; |
| | | colDescription.Caption = "说明"; |
| | | colDescription.FieldName = "Description"; |
| | | colDescription.MinWidth = 29; |
| | | colDescription.Name = "colDescription"; |
| | | colDescription.Visible = true; |
| | | colDescription.VisibleIndex = 9; |
| | | colDescription.Width = 191; |
| | | colDescription.Width = 134; |
| | | // |
| | | // colRatedFlow |
| | | // |
| | |
| | | colRatedFlow.AppearanceCell.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center; |
| | | colRatedFlow.Caption = "额定流量(m³/h)"; |
| | | colRatedFlow.FieldName = "RatedFlow"; |
| | | colRatedFlow.MinWidth = 29; |
| | | colRatedFlow.Name = "colRatedFlow"; |
| | | colRatedFlow.Visible = true; |
| | | colRatedFlow.VisibleIndex = 1; |
| | | colRatedFlow.Width = 136; |
| | | colRatedFlow.Width = 95; |
| | | // |
| | | // colRatedHead |
| | | // |
| | |
| | | colRatedHead.AppearanceCell.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center; |
| | | colRatedHead.Caption = "额定扬程(m)"; |
| | | colRatedHead.FieldName = "RatedHead"; |
| | | colRatedHead.MinWidth = 29; |
| | | colRatedHead.Name = "colRatedHead"; |
| | | colRatedHead.Visible = true; |
| | | colRatedHead.VisibleIndex = 2; |
| | | colRatedHead.Width = 136; |
| | | colRatedHead.Width = 95; |
| | | // |
| | | // colD2 |
| | | // |
| | |
| | | colD2.AppearanceCell.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center; |
| | | colD2.Caption = "叶轮外径(mm)"; |
| | | colD2.FieldName = "D2"; |
| | | colD2.MinWidth = 29; |
| | | colD2.Name = "colD2"; |
| | | colD2.Visible = true; |
| | | colD2.VisibleIndex = 3; |
| | | colD2.Width = 136; |
| | | colD2.Width = 95; |
| | | // |
| | | // colErosion |
| | | // |
| | |
| | | colErosion.AppearanceCell.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center; |
| | | colErosion.Caption = "气蚀(m)"; |
| | | colErosion.FieldName = "Erosion"; |
| | | colErosion.MinWidth = 29; |
| | | colErosion.Name = "colErosion"; |
| | | colErosion.Visible = true; |
| | | colErosion.VisibleIndex = 4; |
| | | colErosion.Width = 136; |
| | | colErosion.Width = 95; |
| | | // |
| | | // colRatedEfficiency |
| | | // |
| | |
| | | colRatedEfficiency.AppearanceCell.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center; |
| | | colRatedEfficiency.Caption = "额定效率(%)"; |
| | | colRatedEfficiency.FieldName = "RatedEfficiency"; |
| | | colRatedEfficiency.MinWidth = 29; |
| | | colRatedEfficiency.Name = "colRatedEfficiency"; |
| | | colRatedEfficiency.Visible = true; |
| | | colRatedEfficiency.VisibleIndex = 5; |
| | | colRatedEfficiency.Width = 136; |
| | | colRatedEfficiency.Width = 95; |
| | | // |
| | | // colRatedPower |
| | | // |
| | |
| | | colRatedPower.AppearanceCell.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center; |
| | | colRatedPower.Caption = "额定功率(KW)"; |
| | | colRatedPower.FieldName = "RatedPower"; |
| | | colRatedPower.MinWidth = 29; |
| | | colRatedPower.Name = "colRatedPower"; |
| | | colRatedPower.Visible = true; |
| | | colRatedPower.VisibleIndex = 6; |
| | | colRatedPower.Width = 136; |
| | | colRatedPower.Width = 95; |
| | | // |
| | | // colRatedSpeed |
| | | // |
| | | colRatedSpeed.Caption = "额定转速(r/min)"; |
| | | colRatedSpeed.FieldName = "RatedSpeed"; |
| | | colRatedSpeed.MinWidth = 29; |
| | | colRatedSpeed.Name = "colRatedSpeed"; |
| | | colRatedSpeed.Visible = true; |
| | | colRatedSpeed.VisibleIndex = 7; |
| | | colRatedSpeed.Width = 136; |
| | | colRatedSpeed.Width = 95; |
| | | // |
| | | // layoutControl1 |
| | | // |
| | | layoutControl1.Controls.Add(sidePanel1); |
| | | layoutControl1.Dock = DockStyle.Fill; |
| | | layoutControl1.Location = new Point(202, 0); |
| | | layoutControl1.Margin = new Padding(4, 5, 4, 5); |
| | | layoutControl1.Location = new Point(233, 0); |
| | | layoutControl1.Name = "layoutControl1"; |
| | | layoutControl1.Root = Root; |
| | | layoutControl1.Size = new Size(1105, 827); |
| | | layoutControl1.Size = new Size(682, 526); |
| | | layoutControl1.TabIndex = 6; |
| | | layoutControl1.Text = "layoutControl1"; |
| | | // |
| | |
| | | sidePanel1.Controls.Add(gridControl1); |
| | | sidePanel1.Controls.Add(ribbonControl1); |
| | | sidePanel1.Location = new Point(0, 0); |
| | | sidePanel1.Margin = new Padding(4, 5, 4, 5); |
| | | sidePanel1.Name = "sidePanel1"; |
| | | sidePanel1.Size = new Size(1105, 827); |
| | | sidePanel1.Size = new Size(682, 526); |
| | | sidePanel1.TabIndex = 3; |
| | | sidePanel1.Text = "sidePanel1"; |
| | | // |
| | |
| | | Root.Items.AddRange(new DevExpress.XtraLayout.BaseLayoutItem[] { layoutControlItem1 }); |
| | | Root.Name = "Root"; |
| | | Root.Padding = new DevExpress.XtraLayout.Utils.Padding(0, 0, 0, 0); |
| | | Root.Size = new Size(1105, 827); |
| | | Root.Size = new Size(682, 526); |
| | | Root.TextVisible = false; |
| | | // |
| | | // layoutControlItem1 |
| | |
| | | layoutControlItem1.Location = new Point(0, 0); |
| | | layoutControlItem1.Name = "layoutControlItem1"; |
| | | layoutControlItem1.Padding = new DevExpress.XtraLayout.Utils.Padding(0, 0, 0, 0); |
| | | layoutControlItem1.Size = new Size(1105, 827); |
| | | layoutControlItem1.Size = new Size(682, 526); |
| | | layoutControlItem1.TextSize = new Size(0, 0); |
| | | layoutControlItem1.TextVisible = false; |
| | | // |
| | |
| | | // |
| | | Appearance.BackColor = SystemColors.Control; |
| | | Appearance.Options.UseBackColor = true; |
| | | AutoScaleDimensions = new SizeF(10F, 22F); |
| | | AutoScaleDimensions = new SizeF(7F, 14F); |
| | | AutoScaleMode = AutoScaleMode.Font; |
| | | Controls.Add(layoutControl1); |
| | | Controls.Add(dockPanel1); |
| | | Margin = new Padding(3); |
| | | Margin = new Padding(2); |
| | | Name = "PumpProductMainPage"; |
| | | Size = new Size(1307, 827); |
| | | ((System.ComponentModel.ISupportInitialize)ribbonControl1).EndInit(); |
| | | ((System.ComponentModel.ISupportInitialize)dockManager1).EndInit(); |
| | | Size = new Size(915, 526); |
| | | ((ISupportInitialize)ribbonControl1).EndInit(); |
| | | ((ISupportInitialize)dockManager1).EndInit(); |
| | | dockPanel1.ResumeLayout(false); |
| | | dockPanel1_Container.ResumeLayout(false); |
| | | ((System.ComponentModel.ISupportInitialize)gridControl1).EndInit(); |
| | | ((System.ComponentModel.ISupportInitialize)currentViewModelBindingSource).EndInit(); |
| | | ((System.ComponentModel.ISupportInitialize)gridView1).EndInit(); |
| | | ((System.ComponentModel.ISupportInitialize)layoutControl1).EndInit(); |
| | | ((ISupportInitialize)gridControl1).EndInit(); |
| | | ((ISupportInitialize)currentViewModelBindingSource).EndInit(); |
| | | ((ISupportInitialize)gridView1).EndInit(); |
| | | ((ISupportInitialize)layoutControl1).EndInit(); |
| | | layoutControl1.ResumeLayout(false); |
| | | sidePanel1.ResumeLayout(false); |
| | | sidePanel1.PerformLayout(); |
| | | ((System.ComponentModel.ISupportInitialize)Root).EndInit(); |
| | | ((System.ComponentModel.ISupportInitialize)layoutControlItem1).EndInit(); |
| | | ((System.ComponentModel.ISupportInitialize)popupPump).EndInit(); |
| | | ((System.ComponentModel.ISupportInitialize)svgImage32).EndInit(); |
| | | ((ISupportInitialize)Root).EndInit(); |
| | | ((ISupportInitialize)layoutControlItem1).EndInit(); |
| | | ((ISupportInitialize)popupPump).EndInit(); |
| | | ((ISupportInitialize)svgImage32).EndInit(); |
| | | ResumeLayout(false); |
| | | } |
| | | |