| | |
| | | // |
| | | mapViewProjectListContainer1.Dock = DockStyle.Fill; |
| | | mapViewProjectListContainer1.Location = new Point(0, 0); |
| | | mapViewProjectListContainer1.Margin = new Padding(4, 3, 4, 3); |
| | | mapViewProjectListContainer1.Margin = new Padding(3, 2, 3, 2); |
| | | mapViewProjectListContainer1.Name = "mapViewProjectListContainer1"; |
| | | mapViewProjectListContainer1.Padding = new Padding(1, 2, 1, 2); |
| | | mapViewProjectListContainer1.Size = new Size(950, 882); |
| | | mapViewProjectListContainer1.Padding = new Padding(1, 1, 1, 1); |
| | | mapViewProjectListContainer1.Size = new Size(713, 560); |
| | | mapViewProjectListContainer1.TabIndex = 5; |
| | | mapViewProjectListContainer1.JumpDirectEvent += homeXhsProjectPropertyCtrl1_JumpDirectEvent; |
| | | // |
| | |
| | | // |
| | | homeXhsProjectPropertyCtrl1.Dock = DockStyle.Fill; |
| | | homeXhsProjectPropertyCtrl1.Location = new Point(0, 0); |
| | | homeXhsProjectPropertyCtrl1.Margin = new Padding(6, 8, 6, 8); |
| | | homeXhsProjectPropertyCtrl1.Margin = new Padding(4, 5, 4, 5); |
| | | homeXhsProjectPropertyCtrl1.Name = "homeXhsProjectPropertyCtrl1"; |
| | | homeXhsProjectPropertyCtrl1.SelectedObject = null; |
| | | homeXhsProjectPropertyCtrl1.Size = new Size(295, 882); |
| | | homeXhsProjectPropertyCtrl1.Size = new Size(199, 560); |
| | | homeXhsProjectPropertyCtrl1.TabIndex = 0; |
| | | homeXhsProjectPropertyCtrl1.JumpDirectEvent += homeXhsProjectPropertyCtrl1_JumpDirectEvent; |
| | | // |
| | |
| | | // |
| | | homeXhsProjectTreeListCtrl1.Dock = DockStyle.Fill; |
| | | homeXhsProjectTreeListCtrl1.Location = new Point(0, 0); |
| | | homeXhsProjectTreeListCtrl1.Margin = new Padding(6, 8, 6, 8); |
| | | homeXhsProjectTreeListCtrl1.Margin = new Padding(4, 5, 4, 5); |
| | | homeXhsProjectTreeListCtrl1.Name = "homeXhsProjectTreeListCtrl1"; |
| | | homeXhsProjectTreeListCtrl1.Size = new Size(272, 882); |
| | | homeXhsProjectTreeListCtrl1.Size = new Size(149, 560); |
| | | homeXhsProjectTreeListCtrl1.TabIndex = 0; |
| | | homeXhsProjectTreeListCtrl1.SelectProjectEvent += homeXhsProjectTreeListCtrl1_SelectProjectEvent; |
| | | homeXhsProjectTreeListCtrl1.RefreshDataEvent += homeXhsProjectTreeListCtrl1_RefreshDataEvent; |
| | |
| | | sidePanel1.Controls.Add(gridControl1); |
| | | sidePanel1.Dock = DockStyle.Top; |
| | | sidePanel1.Location = new Point(0, 0); |
| | | sidePanel1.Margin = new Padding(4, 5, 4, 5); |
| | | sidePanel1.Name = "sidePanel1"; |
| | | sidePanel1.Size = new Size(1519, 148); |
| | | sidePanel1.Size = new Size(1063, 94); |
| | | sidePanel1.TabIndex = 1; |
| | | sidePanel1.Text = "sidePanel1"; |
| | | // |
| | | // gridControl1 |
| | | // |
| | | gridControl1.Dock = DockStyle.Fill; |
| | | gridControl1.EmbeddedNavigator.Margin = new Padding(2, 2, 2, 2); |
| | | gridControl1.Location = new Point(0, 0); |
| | | gridControl1.MainView = layoutView1; |
| | | gridControl1.Margin = new Padding(2, 2, 2, 2); |
| | | gridControl1.Name = "gridControl1"; |
| | | gridControl1.RepositoryItems.AddRange(new DevExpress.XtraEditors.Repository.RepositoryItem[] { repPicEdit }); |
| | | gridControl1.Size = new Size(1519, 147); |
| | | gridControl1.Size = new Size(1063, 93); |
| | | gridControl1.TabIndex = 0; |
| | | gridControl1.ViewCollection.AddRange(new DevExpress.XtraGrid.Views.Base.BaseView[] { layoutView1, gridView1 }); |
| | | // |
| | |
| | | layoutView1.Appearance.FieldValue.Options.UseBackColor = true; |
| | | layoutView1.BorderStyle = BorderStyles.NoBorder; |
| | | layoutView1.CardHorzInterval = 4; |
| | | layoutView1.CardMinSize = new Size(300, 108); |
| | | layoutView1.CardMinSize = new Size(210, 69); |
| | | layoutView1.CardVertInterval = 0; |
| | | layoutView1.Columns.AddRange(new DevExpress.XtraGrid.Columns.LayoutViewColumn[] { colName, colCount, colPicture }); |
| | | layoutView1.DetailHeight = 223; |
| | | layoutView1.GridControl = gridControl1; |
| | | layoutView1.Name = "layoutView1"; |
| | | layoutView1.OptionsBehavior.Editable = false; |
| | |
| | | colName.Caption = "名称"; |
| | | colName.FieldName = "Name"; |
| | | colName.LayoutViewField = layoutViewField_colName; |
| | | colName.MinWidth = 30; |
| | | colName.MinWidth = 21; |
| | | colName.Name = "colName"; |
| | | colName.Width = 111; |
| | | colName.Width = 78; |
| | | // |
| | | // layoutViewField_colName |
| | | // |
| | | layoutViewField_colName.ContentHorzAlignment = DevExpress.Utils.HorzAlignment.Center; |
| | | layoutViewField_colName.ContentVertAlignment = DevExpress.Utils.VertAlignment.Center; |
| | | layoutViewField_colName.EditorPreferredWidth = 151; |
| | | layoutViewField_colName.EditorPreferredWidth = 106; |
| | | layoutViewField_colName.Location = new Point(133, 0); |
| | | layoutViewField_colName.Name = "layoutViewField_colName"; |
| | | layoutViewField_colName.Padding = new DevExpress.XtraLayout.Utils.Padding(4, 4, 5, 5); |
| | | layoutViewField_colName.Padding = new DevExpress.XtraLayout.Utils.Padding(3, 3, 3, 3); |
| | | layoutViewField_colName.Size = new Size(159, 36); |
| | | layoutViewField_colName.TextSize = new Size(0, 0); |
| | | layoutViewField_colName.TextVisible = false; |
| | |
| | | colCount.Caption = "数量"; |
| | | colCount.FieldName = "Count"; |
| | | colCount.LayoutViewField = layoutViewField_colCount; |
| | | colCount.MinWidth = 30; |
| | | colCount.MinWidth = 21; |
| | | colCount.Name = "colCount"; |
| | | colCount.Width = 111; |
| | | colCount.Width = 78; |
| | | // |
| | | // layoutViewField_colCount |
| | | // |
| | | layoutViewField_colCount.ContentHorzAlignment = DevExpress.Utils.HorzAlignment.Center; |
| | | layoutViewField_colCount.ContentVertAlignment = DevExpress.Utils.VertAlignment.Center; |
| | | layoutViewField_colCount.EditorPreferredWidth = 151; |
| | | layoutViewField_colCount.EditorPreferredWidth = 106; |
| | | layoutViewField_colCount.Location = new Point(133, 36); |
| | | layoutViewField_colCount.Name = "layoutViewField_colCount"; |
| | | layoutViewField_colCount.Padding = new DevExpress.XtraLayout.Utils.Padding(4, 4, 5, 5); |
| | | layoutViewField_colCount.Padding = new DevExpress.XtraLayout.Utils.Padding(3, 3, 3, 3); |
| | | layoutViewField_colCount.Size = new Size(159, 65); |
| | | layoutViewField_colCount.TextSize = new Size(0, 0); |
| | | layoutViewField_colCount.TextVisible = false; |
| | |
| | | colPicture.ColumnEdit = repPicEdit; |
| | | colPicture.FieldName = "Image"; |
| | | colPicture.LayoutViewField = layoutViewField_colPicture; |
| | | colPicture.MinWidth = 30; |
| | | colPicture.MinWidth = 21; |
| | | colPicture.Name = "colPicture"; |
| | | colPicture.Width = 111; |
| | | colPicture.Width = 78; |
| | | // |
| | | // repPicEdit |
| | | // |
| | |
| | | // |
| | | // layoutViewField_colPicture |
| | | // |
| | | layoutViewField_colPicture.EditorPreferredWidth = 124; |
| | | layoutViewField_colPicture.EditorPreferredWidth = 87; |
| | | layoutViewField_colPicture.Location = new Point(0, 0); |
| | | layoutViewField_colPicture.Name = "layoutViewField_colPicture"; |
| | | layoutViewField_colPicture.Padding = new DevExpress.XtraLayout.Utils.Padding(4, 4, 5, 5); |
| | | layoutViewField_colPicture.Padding = new DevExpress.XtraLayout.Utils.Padding(3, 3, 3, 3); |
| | | layoutViewField_colPicture.Size = new Size(133, 101); |
| | | layoutViewField_colPicture.StartNewLine = true; |
| | | layoutViewField_colPicture.TextSize = new Size(0, 0); |
| | |
| | | layoutViewCard1.Items.AddRange(new DevExpress.XtraLayout.BaseLayoutItem[] { layoutViewField_colCount, layoutViewField_colPicture, layoutViewField_colName }); |
| | | layoutViewCard1.Name = "layoutViewCard1"; |
| | | layoutViewCard1.OptionsItemText.TextToControlDistance = 3; |
| | | layoutViewCard1.Padding = new DevExpress.XtraLayout.Utils.Padding(4, 4, 5, 5); |
| | | layoutViewCard1.Padding = new DevExpress.XtraLayout.Utils.Padding(3, 3, 3, 3); |
| | | layoutViewCard1.Text = "TemplateCard"; |
| | | // |
| | | // gridView1 |
| | | // |
| | | gridView1.DetailHeight = 223; |
| | | gridView1.GridControl = gridControl1; |
| | | gridView1.Name = "gridView1"; |
| | | gridView1.OptionsEditForm.PopupEditFormWidth = 560; |
| | | // |
| | | // sidePanelBottom |
| | | // |
| | |
| | | sidePanelBottom.Controls.Add(dockPanelRight); |
| | | sidePanelBottom.Controls.Add(dockPanelLeft); |
| | | sidePanelBottom.Dock = DockStyle.Fill; |
| | | sidePanelBottom.Location = new Point(0, 148); |
| | | sidePanelBottom.Margin = new Padding(4, 5, 4, 5); |
| | | sidePanelBottom.Location = new Point(0, 94); |
| | | sidePanelBottom.Name = "sidePanelBottom"; |
| | | sidePanelBottom.Size = new Size(1519, 916); |
| | | sidePanelBottom.Size = new Size(1063, 583); |
| | | sidePanelBottom.TabIndex = 7; |
| | | sidePanelBottom.Text = "sidePanel3"; |
| | | // |
| | |
| | | dockPanelFill.Controls.Add(controlContainer2); |
| | | dockPanelFill.Dock = DevExpress.XtraBars.Docking.DockingStyle.Fill; |
| | | dockPanelFill.ID = new Guid("136389ea-6552-4166-8c2a-b2ffe8b01953"); |
| | | dockPanelFill.Location = new Point(273, 0); |
| | | dockPanelFill.Location = new Point(150, 0); |
| | | dockPanelFill.Margin = new Padding(2, 2, 2, 2); |
| | | dockPanelFill.Name = "dockPanelFill"; |
| | | dockPanelFill.Options.ShowCloseButton = false; |
| | | dockPanelFill.OriginalSize = new Size(287, 200); |
| | | dockPanelFill.Size = new Size(950, 916); |
| | | dockPanelFill.OriginalSize = new Size(1019, 200); |
| | | dockPanelFill.Size = new Size(713, 583); |
| | | dockPanelFill.Text = "地图"; |
| | | // |
| | | // controlContainer2 |
| | | // |
| | | controlContainer2.Controls.Add(mapViewProjectListContainer1); |
| | | controlContainer2.Location = new Point(0, 34); |
| | | controlContainer2.Location = new Point(0, 23); |
| | | controlContainer2.Margin = new Padding(2, 2, 2, 2); |
| | | controlContainer2.Name = "controlContainer2"; |
| | | controlContainer2.Size = new Size(950, 882); |
| | | controlContainer2.Size = new Size(713, 560); |
| | | controlContainer2.TabIndex = 0; |
| | | // |
| | | // dockPanelRight |
| | |
| | | dockPanelRight.Controls.Add(controlContainer1); |
| | | dockPanelRight.Dock = DevExpress.XtraBars.Docking.DockingStyle.Right; |
| | | dockPanelRight.ID = new Guid("18c9fca9-8ae9-473c-9cd2-0467d818af3f"); |
| | | dockPanelRight.Location = new Point(1223, 0); |
| | | dockPanelRight.Location = new Point(863, 0); |
| | | dockPanelRight.Margin = new Padding(2, 2, 2, 2); |
| | | dockPanelRight.Name = "dockPanelRight"; |
| | | dockPanelRight.Options.ShowCloseButton = false; |
| | | dockPanelRight.OriginalSize = new Size(207, 200); |
| | | dockPanelRight.Size = new Size(296, 916); |
| | | dockPanelRight.OriginalSize = new Size(286, 200); |
| | | dockPanelRight.Size = new Size(200, 583); |
| | | dockPanelRight.Text = "项目属性"; |
| | | // |
| | | // controlContainer1 |
| | | // |
| | | controlContainer1.Controls.Add(homeXhsProjectPropertyCtrl1); |
| | | controlContainer1.Location = new Point(1, 34); |
| | | controlContainer1.Location = new Point(1, 23); |
| | | controlContainer1.Margin = new Padding(2, 2, 2, 2); |
| | | controlContainer1.Name = "controlContainer1"; |
| | | controlContainer1.Size = new Size(295, 882); |
| | | controlContainer1.Size = new Size(199, 560); |
| | | controlContainer1.TabIndex = 0; |
| | | // |
| | | // dockPanelLeft |
| | |
| | | dockPanelLeft.Dock = DevExpress.XtraBars.Docking.DockingStyle.Left; |
| | | dockPanelLeft.ID = new Guid("fba93cbc-dfe6-4982-8aee-be8baff1ea68"); |
| | | dockPanelLeft.Location = new Point(0, 0); |
| | | dockPanelLeft.Margin = new Padding(2, 2, 2, 2); |
| | | dockPanelLeft.Name = "dockPanelLeft"; |
| | | dockPanelLeft.Options.ShowCloseButton = false; |
| | | dockPanelLeft.OriginalSize = new Size(191, 200); |
| | | dockPanelLeft.Size = new Size(273, 916); |
| | | dockPanelLeft.OriginalSize = new Size(214, 200); |
| | | dockPanelLeft.Size = new Size(150, 583); |
| | | dockPanelLeft.Text = "项目列表"; |
| | | // |
| | | // dockPanel1_Container |
| | | // |
| | | dockPanel1_Container.Controls.Add(homeXhsProjectTreeListCtrl1); |
| | | dockPanel1_Container.Location = new Point(0, 34); |
| | | dockPanel1_Container.Location = new Point(0, 23); |
| | | dockPanel1_Container.Margin = new Padding(2, 2, 2, 2); |
| | | dockPanel1_Container.Name = "dockPanel1_Container"; |
| | | dockPanel1_Container.Size = new Size(272, 882); |
| | | dockPanel1_Container.Size = new Size(149, 560); |
| | | dockPanel1_Container.TabIndex = 0; |
| | | // |
| | | // dockManager1 |
| | |
| | | // |
| | | Appearance.BackColor = SystemColors.Control; |
| | | Appearance.Options.UseBackColor = true; |
| | | AutoScaleDimensions = new SizeF(10F, 22F); |
| | | AutoScaleDimensions = new SizeF(7F, 14F); |
| | | AutoScaleMode = AutoScaleMode.Font; |
| | | Controls.Add(sidePanelBottom); |
| | | Controls.Add(sidePanel1); |
| | | Margin = new Padding(6, 8, 6, 8); |
| | | Margin = new Padding(4, 5, 4, 5); |
| | | Name = "HomeXhsProjectPage"; |
| | | Size = new Size(1519, 1064); |
| | | Size = new Size(1063, 677); |
| | | ((ISupportInitialize)svgImg32).EndInit(); |
| | | sidePanel1.ResumeLayout(false); |
| | | ((ISupportInitialize)gridControl1).EndInit(); |
| | |
| | | <?xml version="1.0" encoding="utf-8"?> |
| | | <root> |
| | | <!-- |
| | | Microsoft ResX Schema |
| | | Microsoft ResX Schema |
| | | |
| | | Version 2.0 |
| | | |
| | |
| | | value : The object must be serialized with |
| | | : System.Runtime.Serialization.Formatters.Binary.BinaryFormatter |
| | | : and then encoded with base64 encoding. |
| | | |
| | | |
| | | mimetype: application/x-microsoft.net.object.soap.base64 |
| | | value : The object must be serialized with |
| | | : System.Runtime.Serialization.Formatters.Soap.SoapFormatter |
| | |
| | | setHydroPumpCalcuPrefixListCtrl1 = new SetHydroPumpCalcuPrefixListCtrl(); |
| | | setHydroWaterboxCalcuPrefixListCtrl1 = new SetHydroWaterboxCalcuPrefixListCtrl(); |
| | | dockManager1 = new DevExpress.XtraBars.Docking.DockManager(components); |
| | | panelContainer1 = new DevExpress.XtraBars.Docking.DockPanel(); |
| | | dockPanelNozzle = new DevExpress.XtraBars.Docking.DockPanel(); |
| | | dockPanel3_Container = new DevExpress.XtraBars.Docking.ControlContainer(); |
| | | dockPanelWaterBox = new DevExpress.XtraBars.Docking.DockPanel(); |
| | | dockPanel2_Container = new DevExpress.XtraBars.Docking.ControlContainer(); |
| | | dockPanelPump = new DevExpress.XtraBars.Docking.DockPanel(); |
| | | dockPanel1_Container = new DevExpress.XtraBars.Docking.ControlContainer(); |
| | | dockPanelNozzle = new DevExpress.XtraBars.Docking.DockPanel(); |
| | | dockPanel3_Container = new DevExpress.XtraBars.Docking.ControlContainer(); |
| | | panelContainer1 = new DevExpress.XtraBars.Docking.DockPanel(); |
| | | ((ISupportInitialize)dockManager1).BeginInit(); |
| | | dockPanelNozzle.SuspendLayout(); |
| | | dockPanel3_Container.SuspendLayout(); |
| | | dockPanelWaterBox.SuspendLayout(); |
| | | dockPanel2_Container.SuspendLayout(); |
| | | dockPanelPump.SuspendLayout(); |
| | | dockPanel1_Container.SuspendLayout(); |
| | | dockPanelNozzle.SuspendLayout(); |
| | | dockPanel3_Container.SuspendLayout(); |
| | | SuspendLayout(); |
| | | // |
| | | // setHydroNozzleCalcuPrefixListCtrl1 |
| | | // |
| | | setHydroNozzleCalcuPrefixListCtrl1.Dock = DockStyle.Fill; |
| | | setHydroNozzleCalcuPrefixListCtrl1.Location = new Point(0, 0); |
| | | setHydroNozzleCalcuPrefixListCtrl1.Margin = new Padding(4, 5, 4, 5); |
| | | setHydroNozzleCalcuPrefixListCtrl1.Name = "setHydroNozzleCalcuPrefixListCtrl1"; |
| | | setHydroNozzleCalcuPrefixListCtrl1.Size = new Size(856, 174); |
| | | setHydroNozzleCalcuPrefixListCtrl1.Size = new Size(599, 189); |
| | | setHydroNozzleCalcuPrefixListCtrl1.TabIndex = 6; |
| | | // |
| | | // setHydroPumpCalcuPrefixListCtrl1 |
| | | // |
| | | setHydroPumpCalcuPrefixListCtrl1.Dock = DockStyle.Fill; |
| | | setHydroPumpCalcuPrefixListCtrl1.Location = new Point(0, 0); |
| | | setHydroPumpCalcuPrefixListCtrl1.Margin = new Padding(4, 5, 4, 5); |
| | | setHydroPumpCalcuPrefixListCtrl1.Name = "setHydroPumpCalcuPrefixListCtrl1"; |
| | | setHydroPumpCalcuPrefixListCtrl1.Size = new Size(856, 355); |
| | | setHydroPumpCalcuPrefixListCtrl1.Size = new Size(599, 151); |
| | | setHydroPumpCalcuPrefixListCtrl1.TabIndex = 5; |
| | | // |
| | | // setHydroWaterboxCalcuPrefixListCtrl1 |
| | | // |
| | | setHydroWaterboxCalcuPrefixListCtrl1.Dock = DockStyle.Fill; |
| | | setHydroWaterboxCalcuPrefixListCtrl1.Location = new Point(0, 0); |
| | | setHydroWaterboxCalcuPrefixListCtrl1.Margin = new Padding(4, 5, 4, 5); |
| | | setHydroWaterboxCalcuPrefixListCtrl1.Name = "setHydroWaterboxCalcuPrefixListCtrl1"; |
| | | setHydroWaterboxCalcuPrefixListCtrl1.Size = new Size(856, 155); |
| | | setHydroWaterboxCalcuPrefixListCtrl1.Size = new Size(599, 90); |
| | | setHydroWaterboxCalcuPrefixListCtrl1.TabIndex = 4; |
| | | // |
| | | // dockManager1 |
| | |
| | | dockManager1.Form = this; |
| | | dockManager1.RootPanels.AddRange(new DevExpress.XtraBars.Docking.DockPanel[] { dockPanelNozzle, dockPanelWaterBox, dockPanelPump }); |
| | | 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" }); |
| | | // |
| | | // dockPanelNozzle |
| | | // |
| | | dockPanelNozzle.Controls.Add(dockPanel3_Container); |
| | | dockPanelNozzle.Dock = DevExpress.XtraBars.Docking.DockingStyle.Bottom; |
| | | dockPanelNozzle.FloatVertical = true; |
| | | dockPanelNozzle.ID = new Guid("468cf46a-9e59-450e-a1a9-39fb5a2b6917"); |
| | | dockPanelNozzle.Location = new Point(0, 300); |
| | | dockPanelNozzle.Margin = new Padding(2); |
| | | dockPanelNozzle.Name = "dockPanelNozzle"; |
| | | dockPanelNozzle.OriginalSize = new Size(835, 219); |
| | | dockPanelNozzle.Size = new Size(605, 219); |
| | | dockPanelNozzle.Text = "喷嘴"; |
| | | // |
| | | // dockPanel3_Container |
| | | // |
| | | dockPanel3_Container.Controls.Add(setHydroNozzleCalcuPrefixListCtrl1); |
| | | dockPanel3_Container.Location = new Point(3, 27); |
| | | dockPanel3_Container.Margin = new Padding(2); |
| | | dockPanel3_Container.Name = "dockPanel3_Container"; |
| | | dockPanel3_Container.Size = new Size(599, 189); |
| | | dockPanel3_Container.TabIndex = 0; |
| | | // |
| | | // dockPanelWaterBox |
| | | // |
| | | dockPanelWaterBox.Controls.Add(dockPanel2_Container); |
| | | dockPanelWaterBox.Dock = DevExpress.XtraBars.Docking.DockingStyle.Top; |
| | | dockPanelWaterBox.FloatVertical = true; |
| | | dockPanelWaterBox.ID = new Guid("9512442b-9798-4630-b5ae-c89d8d13641a"); |
| | | dockPanelWaterBox.Location = new Point(0, 0); |
| | | dockPanelWaterBox.Margin = new Padding(2); |
| | | dockPanelWaterBox.Name = "dockPanelWaterBox"; |
| | | dockPanelWaterBox.OriginalSize = new Size(485, 120); |
| | | dockPanelWaterBox.Size = new Size(605, 120); |
| | | dockPanelWaterBox.Text = "水箱"; |
| | | // |
| | | // dockPanel2_Container |
| | | // |
| | | dockPanel2_Container.Controls.Add(setHydroWaterboxCalcuPrefixListCtrl1); |
| | | dockPanel2_Container.Location = new Point(3, 26); |
| | | dockPanel2_Container.Margin = new Padding(2); |
| | | dockPanel2_Container.Name = "dockPanel2_Container"; |
| | | dockPanel2_Container.Size = new Size(599, 90); |
| | | dockPanel2_Container.TabIndex = 0; |
| | | // |
| | | // dockPanelPump |
| | | // |
| | | dockPanelPump.Controls.Add(dockPanel1_Container); |
| | | dockPanelPump.Dock = DevExpress.XtraBars.Docking.DockingStyle.Fill; |
| | | dockPanelPump.ID = new Guid("2c964a58-73a3-479c-a1f8-4e0051ec5b45"); |
| | | dockPanelPump.Location = new Point(0, 120); |
| | | dockPanelPump.Margin = new Padding(2); |
| | | dockPanelPump.Name = "dockPanelPump"; |
| | | dockPanelPump.OriginalSize = new Size(605, 272); |
| | | dockPanelPump.SavedDock = DevExpress.XtraBars.Docking.DockingStyle.Fill; |
| | | dockPanelPump.SavedIndex = 2; |
| | | dockPanelPump.SavedSizeFactor = 1.43137D; |
| | | dockPanelPump.Size = new Size(605, 180); |
| | | dockPanelPump.Text = "水泵"; |
| | | // |
| | | // dockPanel1_Container |
| | | // |
| | | dockPanel1_Container.Controls.Add(setHydroPumpCalcuPrefixListCtrl1); |
| | | dockPanel1_Container.Location = new Point(3, 26); |
| | | dockPanel1_Container.Margin = new Padding(2); |
| | | dockPanel1_Container.Name = "dockPanel1_Container"; |
| | | dockPanel1_Container.Size = new Size(599, 151); |
| | | dockPanel1_Container.TabIndex = 0; |
| | | // |
| | | // panelContainer1 |
| | | // |
| | |
| | | panelContainer1.Size = new Size(864, 816); |
| | | panelContainer1.Text = "panelContainer1"; |
| | | // |
| | | // dockPanelWaterBox |
| | | // |
| | | dockPanelWaterBox.Controls.Add(dockPanel2_Container); |
| | | dockPanelWaterBox.Dock = DevExpress.XtraBars.Docking.DockingStyle.Top; |
| | | dockPanelWaterBox.FloatVertical = true; |
| | | dockPanelWaterBox.ID = new Guid("9512442b-9798-4630-b5ae-c89d8d13641a"); |
| | | dockPanelWaterBox.Location = new Point(0, 0); |
| | | dockPanelWaterBox.Name = "dockPanelWaterBox"; |
| | | dockPanelWaterBox.OriginalSize = new Size(485, 200); |
| | | dockPanelWaterBox.Size = new Size(864, 200); |
| | | dockPanelWaterBox.Text = "水箱"; |
| | | // |
| | | // dockPanel2_Container |
| | | // |
| | | dockPanel2_Container.Controls.Add(setHydroWaterboxCalcuPrefixListCtrl1); |
| | | dockPanel2_Container.Location = new Point(4, 38); |
| | | dockPanel2_Container.Name = "dockPanel2_Container"; |
| | | dockPanel2_Container.Size = new Size(856, 155); |
| | | dockPanel2_Container.TabIndex = 0; |
| | | // |
| | | // dockPanelPump |
| | | // |
| | | dockPanelPump.Controls.Add(dockPanel1_Container); |
| | | dockPanelPump.Dock = DevExpress.XtraBars.Docking.DockingStyle.Fill; |
| | | dockPanelPump.ID = new Guid("2c964a58-73a3-479c-a1f8-4e0051ec5b45"); |
| | | dockPanelPump.Location = new Point(0, 200); |
| | | dockPanelPump.Name = "dockPanelPump"; |
| | | dockPanelPump.OriginalSize = new Size(864, 272); |
| | | dockPanelPump.SavedDock = DevExpress.XtraBars.Docking.DockingStyle.Fill; |
| | | dockPanelPump.SavedIndex = 2; |
| | | dockPanelPump.SavedSizeFactor = 1.43137D; |
| | | dockPanelPump.Size = new Size(864, 397); |
| | | dockPanelPump.Text = "水泵"; |
| | | // |
| | | // dockPanel1_Container |
| | | // |
| | | dockPanel1_Container.Controls.Add(setHydroPumpCalcuPrefixListCtrl1); |
| | | dockPanel1_Container.Location = new Point(4, 38); |
| | | dockPanel1_Container.Name = "dockPanel1_Container"; |
| | | dockPanel1_Container.Size = new Size(856, 355); |
| | | dockPanel1_Container.TabIndex = 0; |
| | | // |
| | | // dockPanelNozzle |
| | | // |
| | | dockPanelNozzle.Controls.Add(dockPanel3_Container); |
| | | dockPanelNozzle.Dock = DevExpress.XtraBars.Docking.DockingStyle.Bottom; |
| | | dockPanelNozzle.FloatVertical = true; |
| | | dockPanelNozzle.ID = new Guid("468cf46a-9e59-450e-a1a9-39fb5a2b6917"); |
| | | dockPanelNozzle.Location = new Point(0, 597); |
| | | dockPanelNozzle.Name = "dockPanelNozzle"; |
| | | dockPanelNozzle.OriginalSize = new Size(835, 219); |
| | | dockPanelNozzle.Size = new Size(864, 219); |
| | | dockPanelNozzle.Text = "喷嘴"; |
| | | // |
| | | // dockPanel3_Container |
| | | // |
| | | dockPanel3_Container.Controls.Add(setHydroNozzleCalcuPrefixListCtrl1); |
| | | dockPanel3_Container.Location = new Point(4, 41); |
| | | dockPanel3_Container.Name = "dockPanel3_Container"; |
| | | dockPanel3_Container.Size = new Size(856, 174); |
| | | dockPanel3_Container.TabIndex = 0; |
| | | // |
| | | // SetHydroCalcuPrefixCtrl |
| | | // |
| | | AutoScaleDimensions = new SizeF(10F, 22F); |
| | | AutoScaleDimensions = new SizeF(7F, 14F); |
| | | AutoScaleMode = AutoScaleMode.Font; |
| | | Controls.Add(dockPanelPump); |
| | | Controls.Add(dockPanelWaterBox); |
| | | Controls.Add(dockPanelNozzle); |
| | | Margin = new Padding(4, 5, 4, 5); |
| | | Name = "SetHydroCalcuPrefixCtrl"; |
| | | Size = new Size(864, 816); |
| | | Size = new Size(605, 519); |
| | | ((ISupportInitialize)dockManager1).EndInit(); |
| | | dockPanelNozzle.ResumeLayout(false); |
| | | dockPanel3_Container.ResumeLayout(false); |
| | | dockPanelWaterBox.ResumeLayout(false); |
| | | dockPanel2_Container.ResumeLayout(false); |
| | | dockPanelPump.ResumeLayout(false); |
| | | dockPanel1_Container.ResumeLayout(false); |
| | | dockPanelNozzle.ResumeLayout(false); |
| | | dockPanel3_Container.ResumeLayout(false); |
| | | ResumeLayout(false); |
| | | } |
| | | |
| | |
| | | <?xml version="1.0" encoding="utf-8"?> |
| | | <root> |
| | | <!-- |
| | | Microsoft ResX Schema |
| | | Microsoft ResX Schema |
| | | |
| | | Version 2.0 |
| | | |
| | |
| | | value : The object must be serialized with |
| | | : System.Runtime.Serialization.Formatters.Binary.BinaryFormatter |
| | | : and then encoded with base64 encoding. |
| | | |
| | | |
| | | mimetype: application/x-microsoft.net.object.soap.base64 |
| | | value : The object must be serialized with |
| | | : System.Runtime.Serialization.Formatters.Soap.SoapFormatter |
| | |
| | | // |
| | | // ribbon |
| | | // |
| | | ribbon.EmptyAreaImageOptions.ImagePadding = new Padding(21, 19, 21, 19); |
| | | ribbon.ExpandCollapseItem.Id = 0; |
| | | ribbon.ItemPanelStyle = DevExpress.XtraBars.Ribbon.RibbonItemPanelStyle.Classic; |
| | | ribbon.Items.AddRange(new DevExpress.XtraBars.BarItem[] { ribbon.ExpandCollapseItem, barBtnOK }); |
| | | ribbon.Location = new Point(0, 0); |
| | | ribbon.Margin = new Padding(2, 2, 2, 2); |
| | | ribbon.MaxItemId = 5; |
| | | ribbon.Name = "ribbon"; |
| | | ribbon.OptionsExpandCollapseMenu.EnableExpandCollapseMenu = DevExpress.Utils.DefaultBoolean.False; |
| | | ribbon.OptionsExpandCollapseMenu.ShowQuickAccessToolbarItem = DevExpress.Utils.DefaultBoolean.False; |
| | | ribbon.OptionsExpandCollapseMenu.ShowRibbonGroup = DevExpress.Utils.DefaultBoolean.False; |
| | | ribbon.OptionsExpandCollapseMenu.ShowRibbonLayoutGroup = DevExpress.Utils.DefaultBoolean.False; |
| | | ribbon.OptionsMenuMinWidth = 231; |
| | | ribbon.OptionsTouch.TouchUI = DevExpress.Utils.DefaultBoolean.False; |
| | | ribbon.Pages.AddRange(new DevExpress.XtraBars.Ribbon.RibbonPage[] { ribbonPage1 }); |
| | | ribbon.RibbonCaptionAlignment = DevExpress.XtraBars.Ribbon.RibbonCaptionAlignment.Left; |
| | |
| | | ribbon.ShowPageHeadersMode = DevExpress.XtraBars.Ribbon.ShowPageHeadersMode.Hide; |
| | | ribbon.ShowQatLocationSelector = false; |
| | | ribbon.ShowToolbarCustomizeItem = false; |
| | | ribbon.Size = new Size(912, 85); |
| | | ribbon.Size = new Size(773, 84); |
| | | ribbon.Toolbar.ShowCustomizeItem = false; |
| | | // |
| | | // barBtnOK |
| | |
| | | // setHydroCalcuPrefixCtrl1 |
| | | // |
| | | setHydroCalcuPrefixCtrl1.Dock = DockStyle.Fill; |
| | | setHydroCalcuPrefixCtrl1.Location = new Point(0, 85); |
| | | setHydroCalcuPrefixCtrl1.Margin = new Padding(4, 5, 4, 5); |
| | | setHydroCalcuPrefixCtrl1.Location = new Point(0, 84); |
| | | setHydroCalcuPrefixCtrl1.Name = "setHydroCalcuPrefixCtrl1"; |
| | | setHydroCalcuPrefixCtrl1.Size = new Size(912, 488); |
| | | setHydroCalcuPrefixCtrl1.Size = new Size(773, 349); |
| | | setHydroCalcuPrefixCtrl1.TabIndex = 1; |
| | | // |
| | | // SetHydroCalcuPrefixDlg1 |
| | | // |
| | | AutoScaleDimensions = new SizeF(10F, 22F); |
| | | AutoScaleDimensions = new SizeF(7F, 14F); |
| | | AutoScaleMode = AutoScaleMode.Font; |
| | | ClientSize = new Size(912, 573); |
| | | ClientSize = new Size(773, 433); |
| | | Controls.Add(setHydroCalcuPrefixCtrl1); |
| | | Controls.Add(ribbon); |
| | | Margin = new Padding(2, 2, 2, 2); |
| | | Name = "SetHydroCalcuPrefixDlg1"; |
| | | Ribbon = ribbon; |
| | | StartPosition = FormStartPosition.CenterScreen; |
| | |
| | | <?xml version="1.0" encoding="utf-8"?> |
| | | <root> |
| | | <!-- |
| | | Microsoft ResX Schema |
| | | Microsoft ResX Schema |
| | | |
| | | Version 2.0 |
| | | |
| | |
| | | value : The object must be serialized with |
| | | : System.Runtime.Serialization.Formatters.Binary.BinaryFormatter |
| | | : and then encoded with base64 encoding. |
| | | |
| | | |
| | | mimetype: application/x-microsoft.net.object.soap.base64 |
| | | value : The object must be serialized with |
| | | : System.Runtime.Serialization.Formatters.Soap.SoapFormatter |
| | |
| | | setHydroWaterboxCalcuPrefixViewModelBindingSource = new BindingSource(components); |
| | | layoutView1 = new DevExpress.XtraGrid.Views.Layout.LayoutView(); |
| | | colName = new DevExpress.XtraGrid.Columns.LayoutViewColumn(); |
| | | layoutViewField_colName = new DevExpress.XtraGrid.Views.Layout.LayoutViewField(); |
| | | colInitLevel = new DevExpress.XtraGrid.Columns.LayoutViewColumn(); |
| | | repositoryItemTextEdit1 = new DevExpress.XtraEditors.Repository.RepositoryItemTextEdit(); |
| | | layoutViewField_colInitLevel = new DevExpress.XtraGrid.Views.Layout.LayoutViewField(); |
| | | colIcon = new DevExpress.XtraGrid.Columns.LayoutViewColumn(); |
| | | repPicture = new DevExpress.XtraEditors.Repository.RepositoryItemPictureEdit(); |
| | | svgImageCollection1 = new DevExpress.Utils.SvgImageCollection(components); |
| | | layoutViewCard1 = new DevExpress.XtraGrid.Views.Layout.LayoutViewCard(); |
| | | layoutViewField_colInitLevel = new DevExpress.XtraGrid.Views.Layout.LayoutViewField(); |
| | | layoutViewField_colName = new DevExpress.XtraGrid.Views.Layout.LayoutViewField(); |
| | | layoutViewField_colIcon = new DevExpress.XtraGrid.Views.Layout.LayoutViewField(); |
| | | layoutViewCard1 = new DevExpress.XtraGrid.Views.Layout.LayoutViewCard(); |
| | | svgImageCollection1 = new DevExpress.Utils.SvgImageCollection(components); |
| | | ((ISupportInitialize)gridControl1).BeginInit(); |
| | | ((ISupportInitialize)setHydroWaterboxCalcuPrefixViewModelBindingSource).BeginInit(); |
| | | ((ISupportInitialize)layoutView1).BeginInit(); |
| | | ((ISupportInitialize)repPicture).BeginInit(); |
| | | ((ISupportInitialize)svgImageCollection1).BeginInit(); |
| | | ((ISupportInitialize)layoutViewCard1).BeginInit(); |
| | | ((ISupportInitialize)layoutViewField_colInitLevel).BeginInit(); |
| | | ((ISupportInitialize)layoutViewField_colName).BeginInit(); |
| | | ((ISupportInitialize)repositoryItemTextEdit1).BeginInit(); |
| | | ((ISupportInitialize)layoutViewField_colInitLevel).BeginInit(); |
| | | ((ISupportInitialize)repPicture).BeginInit(); |
| | | ((ISupportInitialize)layoutViewField_colIcon).BeginInit(); |
| | | ((ISupportInitialize)layoutViewCard1).BeginInit(); |
| | | ((ISupportInitialize)svgImageCollection1).BeginInit(); |
| | | SuspendLayout(); |
| | | // |
| | | // gridControl1 |
| | |
| | | gridControl1.MainView = layoutView1; |
| | | gridControl1.Margin = new Padding(2); |
| | | gridControl1.Name = "gridControl1"; |
| | | gridControl1.RepositoryItems.AddRange(new DevExpress.XtraEditors.Repository.RepositoryItem[] { repPicture }); |
| | | gridControl1.RepositoryItems.AddRange(new DevExpress.XtraEditors.Repository.RepositoryItem[] { repPicture, repositoryItemTextEdit1 }); |
| | | gridControl1.Size = new Size(824, 434); |
| | | gridControl1.TabIndex = 2; |
| | | gridControl1.ViewCollection.AddRange(new DevExpress.XtraGrid.Views.Base.BaseView[] { layoutView1 }); |
| | |
| | | layoutView1.ActiveFilterEnabled = false; |
| | | layoutView1.BorderStyle = BorderStyles.NoBorder; |
| | | layoutView1.CardHorzInterval = 6; |
| | | layoutView1.CardMinSize = new Size(127, 60); |
| | | layoutView1.CardMinSize = new Size(151, 60); |
| | | layoutView1.Columns.AddRange(new DevExpress.XtraGrid.Columns.LayoutViewColumn[] { colName, colInitLevel, colIcon }); |
| | | layoutView1.DetailHeight = 223; |
| | | layoutView1.GridControl = gridControl1; |
| | |
| | | layoutView1.OptionsItemText.TextToControlDistance = 0; |
| | | layoutView1.OptionsPrint.PrintCardCaption = false; |
| | | layoutView1.OptionsView.CardArrangeRule = DevExpress.XtraGrid.Views.Layout.LayoutCardArrangeRule.AllowPartialCards; |
| | | layoutView1.OptionsView.CardsAlignment = DevExpress.XtraGrid.Views.Layout.CardsAlignment.Near; |
| | | layoutView1.OptionsView.ContentAlignment = ContentAlignment.TopLeft; |
| | | layoutView1.OptionsView.ShowCardExpandButton = false; |
| | | layoutView1.OptionsView.ShowCardFieldBorders = true; |
| | |
| | | // colName |
| | | // |
| | | colName.AppearanceCell.Font = new Font("Tahoma", 11F, FontStyle.Bold, GraphicsUnit.Point); |
| | | colName.AppearanceCell.ForeColor = Color.FromArgb(0, 122, 204); |
| | | colName.AppearanceCell.Options.UseFont = true; |
| | | colName.AppearanceCell.Options.UseForeColor = true; |
| | | colName.FieldName = "Name"; |
| | | colName.LayoutViewField = layoutViewField_colName; |
| | | colName.MinWidth = 21; |
| | |
| | | colName.OptionsFilter.AllowFilter = false; |
| | | colName.Width = 78; |
| | | // |
| | | // layoutViewField_colName |
| | | // |
| | | layoutViewField_colName.EditorPreferredWidth = 137; |
| | | layoutViewField_colName.Location = new Point(0, 0); |
| | | layoutViewField_colName.Name = "layoutViewField_colName"; |
| | | layoutViewField_colName.Padding = new DevExpress.XtraLayout.Utils.Padding(3, 3, 3, 3); |
| | | layoutViewField_colName.Size = new Size(145, 26); |
| | | layoutViewField_colName.TextSize = new Size(0, 0); |
| | | layoutViewField_colName.TextVisible = false; |
| | | // |
| | | // colInitLevel |
| | | // |
| | | colInitLevel.AppearanceCell.ForeColor = DevExpress.LookAndFeel.DXSkinColors.ForeColors.Question; |
| | | colInitLevel.AppearanceCell.Options.UseForeColor = true; |
| | | colInitLevel.AppearanceCell.Options.UseTextOptions = true; |
| | | colInitLevel.AppearanceCell.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Near; |
| | | colInitLevel.ColumnEdit = repositoryItemTextEdit1; |
| | | colInitLevel.FieldName = "InitLevel"; |
| | | colInitLevel.LayoutViewField = layoutViewField_colInitLevel; |
| | | colInitLevel.MinWidth = 21; |
| | |
| | | colInitLevel.OptionsColumn.AllowSort = DevExpress.Utils.DefaultBoolean.False; |
| | | colInitLevel.OptionsFilter.AllowFilter = false; |
| | | colInitLevel.Width = 78; |
| | | // |
| | | // repositoryItemTextEdit1 |
| | | // |
| | | repositoryItemTextEdit1.Appearance.Options.UseTextOptions = true; |
| | | repositoryItemTextEdit1.Appearance.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Near; |
| | | repositoryItemTextEdit1.AppearanceFocused.Options.UseTextOptions = true; |
| | | repositoryItemTextEdit1.AppearanceFocused.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Near; |
| | | repositoryItemTextEdit1.AutoHeight = false; |
| | | repositoryItemTextEdit1.DisplayFormat.FormatString = "{0}m"; |
| | | repositoryItemTextEdit1.DisplayFormat.FormatType = DevExpress.Utils.FormatType.Custom; |
| | | repositoryItemTextEdit1.MaskSettings.Set("MaskManagerType", typeof(DevExpress.Data.Mask.NumericMaskManager)); |
| | | repositoryItemTextEdit1.Name = "repositoryItemTextEdit1"; |
| | | repositoryItemTextEdit1.NullValuePrompt = "m"; |
| | | // |
| | | // layoutViewField_colInitLevel |
| | | // |
| | | layoutViewField_colInitLevel.EditorPreferredWidth = 85; |
| | | layoutViewField_colInitLevel.Location = new Point(0, 26); |
| | | layoutViewField_colInitLevel.Name = "layoutViewField_colInitLevel"; |
| | | layoutViewField_colInitLevel.Padding = new DevExpress.XtraLayout.Utils.Padding(3, 3, 3, 3); |
| | | layoutViewField_colInitLevel.Size = new Size(145, 28); |
| | | layoutViewField_colInitLevel.TextSize = new Size(52, 14); |
| | | // |
| | | // colIcon |
| | | // |
| | |
| | | // |
| | | repPicture.Name = "repPicture"; |
| | | // |
| | | // svgImageCollection1 |
| | | // layoutViewField_colIcon |
| | | // |
| | | svgImageCollection1.Add("about", "image://svgimages/outlook inspired/about.svg"); |
| | | layoutViewField_colIcon.EditorPreferredWidth = 14; |
| | | layoutViewField_colIcon.HighlightFocusedItem = DevExpress.Utils.DefaultBoolean.False; |
| | | layoutViewField_colIcon.Location = new Point(0, 0); |
| | | layoutViewField_colIcon.Name = "layoutViewField_colIcon"; |
| | | layoutViewField_colIcon.Padding = new DevExpress.XtraLayout.Utils.Padding(3, 3, 3, 3); |
| | | layoutViewField_colIcon.Size = new Size(145, 52); |
| | | layoutViewField_colIcon.StartNewLine = true; |
| | | layoutViewField_colIcon.TextSize = new Size(0, 0); |
| | | layoutViewField_colIcon.TextVisible = false; |
| | | // |
| | | // layoutViewCard1 |
| | | // |
| | |
| | | layoutViewCard1.TextLocation = DevExpress.Utils.Locations.Default; |
| | | layoutViewCard1.TextVisible = false; |
| | | // |
| | | // layoutViewField_colInitLevel |
| | | // svgImageCollection1 |
| | | // |
| | | layoutViewField_colInitLevel.EditorPreferredWidth = 61; |
| | | layoutViewField_colInitLevel.Location = new Point(0, 26); |
| | | layoutViewField_colInitLevel.Name = "layoutViewField_colInitLevel"; |
| | | layoutViewField_colInitLevel.Padding = new DevExpress.XtraLayout.Utils.Padding(3, 3, 3, 3); |
| | | layoutViewField_colInitLevel.Size = new Size(121, 28); |
| | | layoutViewField_colInitLevel.TextSize = new Size(52, 14); |
| | | // |
| | | // layoutViewField_colName |
| | | // |
| | | layoutViewField_colName.EditorPreferredWidth = 113; |
| | | layoutViewField_colName.Location = new Point(0, 0); |
| | | layoutViewField_colName.Name = "layoutViewField_colName"; |
| | | layoutViewField_colName.Padding = new DevExpress.XtraLayout.Utils.Padding(3, 3, 3, 3); |
| | | layoutViewField_colName.Size = new Size(121, 26); |
| | | layoutViewField_colName.TextSize = new Size(0, 0); |
| | | layoutViewField_colName.TextVisible = false; |
| | | // |
| | | // layoutViewField_colIcon |
| | | // |
| | | layoutViewField_colIcon.EditorPreferredWidth = 14; |
| | | layoutViewField_colIcon.HighlightFocusedItem = DevExpress.Utils.DefaultBoolean.False; |
| | | layoutViewField_colIcon.Location = new Point(0, 0); |
| | | layoutViewField_colIcon.Name = "layoutViewField_colIcon"; |
| | | layoutViewField_colIcon.Padding = new DevExpress.XtraLayout.Utils.Padding(3, 3, 3, 3); |
| | | layoutViewField_colIcon.Size = new Size(100, 52); |
| | | layoutViewField_colIcon.StartNewLine = true; |
| | | layoutViewField_colIcon.TextSize = new Size(0, 0); |
| | | layoutViewField_colIcon.TextVisible = false; |
| | | svgImageCollection1.Add("about", "image://svgimages/outlook inspired/about.svg"); |
| | | // |
| | | // SetHydroWaterboxCalcuPrefixListCtrl |
| | | // |
| | |
| | | ((ISupportInitialize)gridControl1).EndInit(); |
| | | ((ISupportInitialize)setHydroWaterboxCalcuPrefixViewModelBindingSource).EndInit(); |
| | | ((ISupportInitialize)layoutView1).EndInit(); |
| | | ((ISupportInitialize)repPicture).EndInit(); |
| | | ((ISupportInitialize)svgImageCollection1).EndInit(); |
| | | ((ISupportInitialize)layoutViewCard1).EndInit(); |
| | | ((ISupportInitialize)layoutViewField_colInitLevel).EndInit(); |
| | | ((ISupportInitialize)layoutViewField_colName).EndInit(); |
| | | ((ISupportInitialize)repositoryItemTextEdit1).EndInit(); |
| | | ((ISupportInitialize)layoutViewField_colInitLevel).EndInit(); |
| | | ((ISupportInitialize)repPicture).EndInit(); |
| | | ((ISupportInitialize)layoutViewField_colIcon).EndInit(); |
| | | ((ISupportInitialize)layoutViewCard1).EndInit(); |
| | | ((ISupportInitialize)svgImageCollection1).EndInit(); |
| | | ResumeLayout(false); |
| | | } |
| | | |
| | |
| | | private DevExpress.XtraGrid.Columns.LayoutViewColumn colInitLevel; |
| | | private DevExpress.XtraGrid.Columns.LayoutViewColumn colIcon; |
| | | private DevExpress.Utils.SvgImageCollection svgImageCollection1; |
| | | private DevExpress.XtraEditors.Repository.RepositoryItemTextEdit repositoryItemTextEdit1; |
| | | private DevExpress.XtraGrid.Views.Layout.LayoutViewField layoutViewField_colName; |
| | | private DevExpress.XtraGrid.Views.Layout.LayoutViewField layoutViewField_colInitLevel; |
| | | private DevExpress.XtraGrid.Views.Layout.LayoutViewField layoutViewField_colIcon; |
| | |
| | | // |
| | | gridControl1.DataSource = setHydroPumpCalcuPrefixViewModelBindingSource; |
| | | gridControl1.Dock = DockStyle.Fill; |
| | | gridControl1.EmbeddedNavigator.Margin = new Padding(2, 2, 2, 2); |
| | | gridControl1.EmbeddedNavigator.Margin = new Padding(2); |
| | | gridControl1.Location = new Point(0, 0); |
| | | gridControl1.MainView = layoutView1; |
| | | gridControl1.Margin = new Padding(2, 2, 2, 2); |
| | | gridControl1.Margin = new Padding(2); |
| | | gridControl1.Name = "gridControl1"; |
| | | gridControl1.RepositoryItems.AddRange(new DevExpress.XtraEditors.Repository.RepositoryItem[] { repPicture, repImgCmbBox }); |
| | | gridControl1.Size = new Size(858, 445); |
| | |
| | | // |
| | | layoutView1.BorderStyle = BorderStyles.NoBorder; |
| | | layoutView1.CardHorzInterval = 6; |
| | | layoutView1.CardMinSize = new Size(120, 76); |
| | | layoutView1.CardMinSize = new Size(137, 86); |
| | | layoutView1.Columns.AddRange(new DevExpress.XtraGrid.Columns.LayoutViewColumn[] { colName, colRunStatus, colCurrentHz, colIcon }); |
| | | layoutView1.DetailHeight = 223; |
| | | layoutView1.GridControl = gridControl1; |
| | |
| | | layoutView1.OptionsItemText.TextToControlDistance = 0; |
| | | layoutView1.OptionsPrint.PrintCardCaption = false; |
| | | layoutView1.OptionsView.CardArrangeRule = DevExpress.XtraGrid.Views.Layout.LayoutCardArrangeRule.AllowPartialCards; |
| | | layoutView1.OptionsView.CardsAlignment = DevExpress.XtraGrid.Views.Layout.CardsAlignment.Near; |
| | | layoutView1.OptionsView.ContentAlignment = ContentAlignment.TopLeft; |
| | | layoutView1.OptionsView.ShowCardExpandButton = false; |
| | | layoutView1.OptionsView.ShowCardFieldBorders = true; |
| | |
| | | // colName |
| | | // |
| | | colName.AppearanceCell.Font = new Font("Tahoma", 11F, FontStyle.Bold, GraphicsUnit.Point); |
| | | colName.AppearanceCell.ForeColor = Color.FromArgb(0, 122, 204); |
| | | colName.AppearanceCell.Options.UseFont = true; |
| | | colName.AppearanceCell.Options.UseForeColor = true; |
| | | colName.FieldName = "Name"; |
| | | colName.LayoutViewField = layoutViewField_colName; |
| | | colName.MinWidth = 21; |
| | |
| | | // |
| | | // layoutViewField_colName |
| | | // |
| | | layoutViewField_colName.EditorPreferredWidth = 108; |
| | | layoutViewField_colName.EditorPreferredWidth = 123; |
| | | layoutViewField_colName.Location = new Point(0, 0); |
| | | layoutViewField_colName.Name = "layoutViewField_colName"; |
| | | layoutViewField_colName.Padding = new DevExpress.XtraLayout.Utils.Padding(3, 3, 3, 3); |
| | | layoutViewField_colName.Size = new Size(114, 22); |
| | | layoutViewField_colName.Size = new Size(131, 26); |
| | | layoutViewField_colName.TextSize = new Size(0, 0); |
| | | layoutViewField_colName.TextVisible = false; |
| | | // |
| | |
| | | // |
| | | // layoutViewField_colRunStatus |
| | | // |
| | | layoutViewField_colRunStatus.EditorPreferredWidth = 53; |
| | | layoutViewField_colRunStatus.Location = new Point(0, 22); |
| | | layoutViewField_colRunStatus.EditorPreferredWidth = 71; |
| | | layoutViewField_colRunStatus.Location = new Point(0, 26); |
| | | layoutViewField_colRunStatus.Name = "layoutViewField_colRunStatus"; |
| | | layoutViewField_colRunStatus.Padding = new DevExpress.XtraLayout.Utils.Padding(3, 3, 3, 3); |
| | | layoutViewField_colRunStatus.Size = new Size(114, 26); |
| | | layoutViewField_colRunStatus.Size = new Size(131, 26); |
| | | layoutViewField_colRunStatus.TextSize = new Size(52, 14); |
| | | // |
| | | // colCurrentHz |
| | | // |
| | | colCurrentHz.AppearanceCell.ForeColor = DevExpress.LookAndFeel.DXSkinColors.ForeColors.Question; |
| | | colCurrentHz.AppearanceCell.Options.UseForeColor = true; |
| | | colCurrentHz.AppearanceCell.Options.UseTextOptions = true; |
| | | colCurrentHz.AppearanceCell.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Near; |
| | | colCurrentHz.FieldName = "CurrentHz"; |
| | |
| | | // |
| | | // layoutViewField_colCurrentHz |
| | | // |
| | | layoutViewField_colCurrentHz.EditorPreferredWidth = 53; |
| | | layoutViewField_colCurrentHz.Location = new Point(0, 48); |
| | | layoutViewField_colCurrentHz.EditorPreferredWidth = 71; |
| | | layoutViewField_colCurrentHz.Location = new Point(0, 52); |
| | | layoutViewField_colCurrentHz.Name = "layoutViewField_colCurrentHz"; |
| | | layoutViewField_colCurrentHz.Padding = new DevExpress.XtraLayout.Utils.Padding(3, 3, 3, 3); |
| | | layoutViewField_colCurrentHz.Size = new Size(114, 26); |
| | | layoutViewField_colCurrentHz.Size = new Size(131, 28); |
| | | layoutViewField_colCurrentHz.TextSize = new Size(52, 14); |
| | | // |
| | | // colIcon |
| | |
| | | layoutViewField_colIcon.Location = new Point(0, 0); |
| | | layoutViewField_colIcon.Name = "layoutViewField_colIcon"; |
| | | layoutViewField_colIcon.Padding = new DevExpress.XtraLayout.Utils.Padding(3, 3, 3, 3); |
| | | layoutViewField_colIcon.Size = new Size(240, 108); |
| | | layoutViewField_colIcon.Size = new Size(123, 78); |
| | | layoutViewField_colIcon.StartNewLine = true; |
| | | layoutViewField_colIcon.TextSize = new Size(0, 0); |
| | | layoutViewField_colIcon.TextVisible = false; |
| | |
| | | #region 前提条件 |
| | | |
| | | //显示计算前提条件窗体 |
| | | private async void ShowCalcuPrefixDlg() |
| | | private void ShowCalcuPrefixDlg() |
| | | { |
| | | if (_hydroInfo == null) |
| | | { |
| | |
| | | return; |
| | | } |
| | | |
| | | WaitFormHelper.ShowWaitForm(this, "正在计算分析中,请稍候..."); |
| | | |
| | | await Task.Delay(5000); |
| | | |
| | | var netWork = Yw.Hydro.ParseHelper.ToNetwork(_hydroInfo); |
| | | _calcuResult = netWork.Calcu(); |
| | | |
| | | WaitFormHelper.HideWaitForm(); |
| | | if (_calcuResult.Succeed) |
| | | { |
| | | GetCalcuResultList(false); |
| | |
| | | <Compile Update="03-simulation\06-simulation\03-calcu\01-prefix\03-nozzle\SetHydroNozzleCalcuPrefixListCtrl.cs"> |
| | | <SubType>UserControl</SubType> |
| | | </Compile> |
| | | <Compile Update="03-simulation\06-simulation\03-calcu\01-prefix\99-failed\HydroCalcuFailedCtrl.cs"> |
| | | <Compile Update="03-simulation\06-simulation\03-calcu\99-failed\HydroCalcuFailedCtrl.cs"> |
| | | <SubType>UserControl</SubType> |
| | | </Compile> |
| | | <Compile Update="03-simulation\06-simulation\04-unmatching\00-core\XhsProjectSimulationUnMatchingListCtrl.cs"> |