已重命名3个文件
已修改22个文件
已添加6个文件
| | |
| | | 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"); |
| | | // |
| | | // MainForm |
| | | // |
| | |
| | | using DevExpress.XtraBars.Ribbon; |
| | | using DevExpress.XtraEditors; |
| | | using HStation.WinFrmUI; |
| | | using HStation.WinFrmUI.Assets; |
| | | using HStation.WinFrmUI.Basic; |
| | | using HStation.WinFrmUI.Xhs.PumpProduct; |
| | | using System.IO; |
| | |
| | | } |
| | | }, |
| | | new TilePeekItem(){ |
| | | Caption="éé¨ç®¡ç", |
| | | SvgImage=svgImg32Model[7], |
| | | SvgImageSize=new Size(24,24), |
| | | Click=()=>{ |
| | | this.flyoutPanel1.HideBeakForm(); |
| | | var guid=new PageGuid(){ |
| | | Modular="Asstes", |
| | | MoudingType=eMoudingType.Tab, |
| | | Function="ValveMgr", |
| | | }; |
| | | if(!IsExistPage(guid,true)) |
| | | { |
| | | var page=new ValveManageMainPanel(); |
| | | CreatePage(page,guid); |
| | | } |
| | | } |
| | | }, |
| | | new TilePeekItem(){ |
| | | Caption="ç±»å管ç", |
| | | SvgImage=svgImg32Model[4], |
| | | SvgImageSize=new Size(24,24), |
| | |
| | | colRatedPower = new DevExpress.XtraGrid.Columns.GridColumn(); |
| | | colRatedSpeed = new DevExpress.XtraGrid.Columns.GridColumn(); |
| | | layoutControl1 = new DevExpress.XtraLayout.LayoutControl(); |
| | | sidePanel1 = new DevExpress.XtraEditors.SidePanel(); |
| | | Root = new DevExpress.XtraLayout.LayoutControlGroup(); |
| | | layoutControlItem1 = new DevExpress.XtraLayout.LayoutControlItem(); |
| | | popupPump = new DevExpress.XtraBars.PopupMenu(components); |
| | |
| | | ((System.ComponentModel.ISupportInitialize)gridView1).BeginInit(); |
| | | ((System.ComponentModel.ISupportInitialize)layoutControl1).BeginInit(); |
| | | layoutControl1.SuspendLayout(); |
| | | sidePanel1.SuspendLayout(); |
| | | ((System.ComponentModel.ISupportInitialize)Root).BeginInit(); |
| | | ((System.ComponentModel.ISupportInitialize)layoutControlItem1).BeginInit(); |
| | | ((System.ComponentModel.ISupportInitialize)popupPump).BeginInit(); |
| | |
| | | ribbonControl1.ShowExpandCollapseButton = DevExpress.Utils.DefaultBoolean.False; |
| | | ribbonControl1.ShowPageHeadersInFormCaption = DevExpress.Utils.DefaultBoolean.True; |
| | | ribbonControl1.ShowPageHeadersMode = DevExpress.XtraBars.Ribbon.ShowPageHeadersMode.ShowOnMultiplePages; |
| | | ribbonControl1.Size = new Size(1133, 101); |
| | | ribbonControl1.Size = new Size(929, 101); |
| | | ribbonControl1.ToolbarLocation = DevExpress.XtraBars.Ribbon.RibbonQuickAccessToolbarLocation.Hidden; |
| | | // |
| | | // BtnAdd |
| | |
| | | // |
| | | // dockManager1 |
| | | // |
| | | dockManager1.DockingOptions.ShowCloseButton = false; |
| | | 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.Controls.Add(dockPanel1_Container); |
| | | dockPanel1.Dock = DevExpress.XtraBars.Docking.DockingStyle.Left; |
| | | dockPanel1.ID = new Guid("20cba9f0-4c76-45ad-a0f6-714fb6b14171"); |
| | | dockPanel1.Location = new Point(0, 101); |
| | | dockPanel1.Location = new Point(0, 0); |
| | | dockPanel1.Margin = new Padding(0); |
| | | dockPanel1.Name = "dockPanel1"; |
| | | dockPanel1.Options.ShowAutoHideButton = false; |
| | | dockPanel1.OriginalSize = new Size(200, 200); |
| | | dockPanel1.Size = new Size(200, 446); |
| | | dockPanel1.Size = new Size(200, 547); |
| | | dockPanel1.Text = "ç³»åå表"; |
| | | // |
| | | // dockPanel1_Container |
| | |
| | | dockPanel1_Container.Controls.Add(pumpSeriesTreeListCtrl1); |
| | | dockPanel1_Container.Location = new Point(3, 26); |
| | | dockPanel1_Container.Name = "dockPanel1_Container"; |
| | | dockPanel1_Container.Size = new Size(193, 417); |
| | | dockPanel1_Container.Size = new Size(193, 518); |
| | | dockPanel1_Container.TabIndex = 0; |
| | | // |
| | | // pumpSeriesTreeListCtrl1 |
| | |
| | | pumpSeriesTreeListCtrl1.Dock = DockStyle.Fill; |
| | | pumpSeriesTreeListCtrl1.Location = new Point(0, 0); |
| | | pumpSeriesTreeListCtrl1.Name = "pumpSeriesTreeListCtrl1"; |
| | | pumpSeriesTreeListCtrl1.Size = new Size(193, 417); |
| | | pumpSeriesTreeListCtrl1.Size = new Size(193, 518); |
| | | pumpSeriesTreeListCtrl1.TabIndex = 0; |
| | | // |
| | | // gridControl1 |
| | | // |
| | | gridControl1.DataSource = currentViewModelBindingSource; |
| | | gridControl1.Location = new Point(0, 0); |
| | | gridControl1.Dock = DockStyle.Fill; |
| | | gridControl1.Location = new Point(0, 101); |
| | | gridControl1.MainView = gridView1; |
| | | gridControl1.MenuManager = ribbonControl1; |
| | | gridControl1.Name = "gridControl1"; |
| | | gridControl1.Size = new Size(933, 446); |
| | | gridControl1.TabIndex = 3; |
| | | gridControl1.Size = new Size(929, 442); |
| | | gridControl1.TabIndex = 0; |
| | | gridControl1.ViewCollection.AddRange(new DevExpress.XtraGrid.Views.Base.BaseView[] { gridView1 }); |
| | | // |
| | | // currentViewModelBindingSource |
| | |
| | | // |
| | | // layoutControl1 |
| | | // |
| | | layoutControl1.Controls.Add(gridControl1); |
| | | layoutControl1.Controls.Add(sidePanel1); |
| | | layoutControl1.Dock = DockStyle.Fill; |
| | | layoutControl1.Location = new Point(200, 101); |
| | | layoutControl1.Location = new Point(200, 0); |
| | | layoutControl1.Name = "layoutControl1"; |
| | | layoutControl1.Root = Root; |
| | | layoutControl1.Size = new Size(933, 446); |
| | | layoutControl1.Size = new Size(933, 547); |
| | | layoutControl1.TabIndex = 6; |
| | | layoutControl1.Text = "layoutControl1"; |
| | | // |
| | | // sidePanel1 |
| | | // |
| | | sidePanel1.Controls.Add(gridControl1); |
| | | sidePanel1.Controls.Add(ribbonControl1); |
| | | sidePanel1.Location = new Point(2, 2); |
| | | sidePanel1.Name = "sidePanel1"; |
| | | sidePanel1.Size = new Size(929, 543); |
| | | sidePanel1.TabIndex = 3; |
| | | sidePanel1.Text = "sidePanel1"; |
| | | // |
| | | // Root |
| | | // |
| | |
| | | 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(933, 446); |
| | | Root.Size = new Size(933, 547); |
| | | Root.TextVisible = false; |
| | | // |
| | | // layoutControlItem1 |
| | | // |
| | | layoutControlItem1.Control = gridControl1; |
| | | layoutControlItem1.Control = sidePanel1; |
| | | layoutControlItem1.Location = new Point(0, 0); |
| | | layoutControlItem1.Name = "layoutControlItem1"; |
| | | layoutControlItem1.Padding = new DevExpress.XtraLayout.Utils.Padding(0, 0, 0, 0); |
| | | layoutControlItem1.Size = new Size(933, 446); |
| | | layoutControlItem1.Size = new Size(933, 547); |
| | | layoutControlItem1.TextSize = new Size(0, 0); |
| | | layoutControlItem1.TextVisible = false; |
| | | // |
| | |
| | | AutoScaleMode = AutoScaleMode.Font; |
| | | Controls.Add(layoutControl1); |
| | | Controls.Add(dockPanel1); |
| | | Controls.Add(ribbonControl1); |
| | | Name = "PumpProductMainPanel"; |
| | | Size = new Size(1133, 547); |
| | | ((System.ComponentModel.ISupportInitialize)ribbonControl1).EndInit(); |
| | |
| | | ((System.ComponentModel.ISupportInitialize)gridView1).EndInit(); |
| | | ((System.ComponentModel.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(); |
| | | ResumeLayout(false); |
| | | PerformLayout(); |
| | | } |
| | | |
| | | #endregion |
| | |
| | | private DevExpress.XtraGrid.Columns.GridColumn colDescription; |
| | | private DevExpress.XtraLayout.LayoutControl layoutControl1; |
| | | private DevExpress.XtraLayout.LayoutControlGroup Root; |
| | | private DevExpress.XtraLayout.LayoutControlItem layoutControlItem1; |
| | | private DevExpress.XtraGrid.Columns.GridColumn colRatedFlow; |
| | | private DevExpress.XtraGrid.Columns.GridColumn colRatedHead; |
| | | private DevExpress.XtraBars.BarButtonItem barBtnEditPumpCurve; |
| | |
| | | private DevExpress.XtraBars.PopupMenu popupPump; |
| | | private DevExpress.XtraBars.BarButtonItem BarBtnEidtPumpPart; |
| | | private DevExpress.Utils.SvgImageCollection svgImage32; |
| | | private DevExpress.XtraEditors.SidePanel sidePanel1; |
| | | private DevExpress.XtraLayout.LayoutControlItem layoutControlItem1; |
| | | } |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | namespace HStation.WinFrmUI.Assets |
| | | { |
| | | partial class ValveManageMainPanel |
| | | { |
| | | /// <summary> |
| | | /// Required designer variable. |
| | | /// </summary> |
| | | private System.ComponentModel.IContainer components = null; |
| | | |
| | | /// <summary> |
| | | /// Clean up any resources being used. |
| | | /// </summary> |
| | | /// <param name="disposing">true if managed resources should be disposed; otherwise, false.</param> |
| | | protected override void Dispose(bool disposing) |
| | | { |
| | | if (disposing && (components != null)) |
| | | { |
| | | components.Dispose(); |
| | | } |
| | | base.Dispose(disposing); |
| | | } |
| | | |
| | | #region Component Designer generated code |
| | | |
| | | /// <summary> |
| | | /// Required method for Designer support - do not modify |
| | | /// the contents of this method with the code editor. |
| | | /// </summary> |
| | | private void InitializeComponent() |
| | | { |
| | | components = new System.ComponentModel.Container(); |
| | | System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(ValveManageMainPanel)); |
| | | ribbonControl1 = new DevExpress.XtraBars.Ribbon.RibbonControl(); |
| | | BtnAdd = new DevExpress.XtraBars.BarButtonItem(); |
| | | BtnEdit = new DevExpress.XtraBars.BarButtonItem(); |
| | | BtnDelete = new DevExpress.XtraBars.BarButtonItem(); |
| | | BarBtnEidtPumpPart = new DevExpress.XtraBars.BarButtonItem(); |
| | | ribbonPage1 = new DevExpress.XtraBars.Ribbon.RibbonPage(); |
| | | ribbonPageGroup1 = new DevExpress.XtraBars.Ribbon.RibbonPageGroup(); |
| | | svgImageCollection1 = new DevExpress.Utils.SvgImageCollection(components); |
| | | sidePanel1 = new DevExpress.XtraEditors.SidePanel(); |
| | | gridControl1 = new DevExpress.XtraGrid.GridControl(); |
| | | gridView1 = new DevExpress.XtraGrid.Views.Grid.GridView(); |
| | | dockManager1 = new DevExpress.XtraBars.Docking.DockManager(components); |
| | | dockPanel1 = new DevExpress.XtraBars.Docking.DockPanel(); |
| | | dockPanel1_Container = new DevExpress.XtraBars.Docking.ControlContainer(); |
| | | valveTypeTreeListCtrl1 = new ValveTypeTreeListCtrl(); |
| | | ((System.ComponentModel.ISupportInitialize)ribbonControl1).BeginInit(); |
| | | ((System.ComponentModel.ISupportInitialize)svgImageCollection1).BeginInit(); |
| | | sidePanel1.SuspendLayout(); |
| | | ((System.ComponentModel.ISupportInitialize)gridControl1).BeginInit(); |
| | | ((System.ComponentModel.ISupportInitialize)gridView1).BeginInit(); |
| | | ((System.ComponentModel.ISupportInitialize)dockManager1).BeginInit(); |
| | | dockPanel1.SuspendLayout(); |
| | | dockPanel1_Container.SuspendLayout(); |
| | | SuspendLayout(); |
| | | // |
| | | // ribbonControl1 |
| | | // |
| | | ribbonControl1.DrawGroupsBorderMode = DevExpress.Utils.DefaultBoolean.True; |
| | | ribbonControl1.ExpandCollapseItem.Id = 0; |
| | | ribbonControl1.ItemPanelStyle = DevExpress.XtraBars.Ribbon.RibbonItemPanelStyle.Classic; |
| | | ribbonControl1.Items.AddRange(new DevExpress.XtraBars.BarItem[] { ribbonControl1.ExpandCollapseItem, BtnAdd, BtnEdit, BtnDelete, BarBtnEidtPumpPart }); |
| | | ribbonControl1.Location = new Point(0, 0); |
| | | ribbonControl1.MaxItemId = 22; |
| | | ribbonControl1.Name = "ribbonControl1"; |
| | | 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(690, 101); |
| | | ribbonControl1.ToolbarLocation = DevExpress.XtraBars.Ribbon.RibbonQuickAccessToolbarLocation.Hidden; |
| | | // |
| | | // BtnAdd |
| | | // |
| | | BtnAdd.Caption = "æ·»å åå·"; |
| | | BtnAdd.Id = 1; |
| | | BtnAdd.ImageOptions.SvgImage = (DevExpress.Utils.Svg.SvgImage)resources.GetObject("BtnAdd.ImageOptions.SvgImage"); |
| | | BtnAdd.Name = "BtnAdd"; |
| | | // |
| | | // BtnEdit |
| | | // |
| | | BtnEdit.Caption = "ç¼è¾åå·"; |
| | | BtnEdit.Id = 2; |
| | | BtnEdit.ImageOptions.SvgImage = (DevExpress.Utils.Svg.SvgImage)resources.GetObject("BtnEdit.ImageOptions.SvgImage"); |
| | | BtnEdit.Name = "BtnEdit"; |
| | | // |
| | | // BtnDelete |
| | | // |
| | | BtnDelete.Caption = "å é¤åå·"; |
| | | BtnDelete.Id = 3; |
| | | BtnDelete.ImageOptions.SvgImage = (DevExpress.Utils.Svg.SvgImage)resources.GetObject("BtnDelete.ImageOptions.SvgImage"); |
| | | BtnDelete.Name = "BtnDelete"; |
| | | // |
| | | // BarBtnEidtPumpPart |
| | | // |
| | | BarBtnEidtPumpPart.Caption = "ç¼è¾æ³µäº§å屿§"; |
| | | BarBtnEidtPumpPart.Id = 16; |
| | | BarBtnEidtPumpPart.Name = "BarBtnEidtPumpPart"; |
| | | // |
| | | // ribbonPage1 |
| | | // |
| | | ribbonPage1.Groups.AddRange(new DevExpress.XtraBars.Ribbon.RibbonPageGroup[] { ribbonPageGroup1 }); |
| | | ribbonPage1.Name = "ribbonPage1"; |
| | | ribbonPage1.Text = "ribbonPage1"; |
| | | // |
| | | // ribbonPageGroup1 |
| | | // |
| | | ribbonPageGroup1.ItemLinks.Add(BtnAdd); |
| | | ribbonPageGroup1.ItemLinks.Add(BtnEdit); |
| | | ribbonPageGroup1.ItemLinks.Add(BtnDelete); |
| | | ribbonPageGroup1.Name = "ribbonPageGroup1"; |
| | | ribbonPageGroup1.Text = "åºç¡åè½"; |
| | | // |
| | | // svgImageCollection1 |
| | | // |
| | | svgImageCollection1.Add("showallvalue", "image://svgimages/dashboards/showallvalue.svg"); |
| | | // |
| | | // sidePanel1 |
| | | // |
| | | sidePanel1.Controls.Add(gridControl1); |
| | | sidePanel1.Controls.Add(ribbonControl1); |
| | | sidePanel1.Dock = DockStyle.Fill; |
| | | sidePanel1.Location = new Point(200, 0); |
| | | sidePanel1.Name = "sidePanel1"; |
| | | sidePanel1.Size = new Size(690, 520); |
| | | sidePanel1.TabIndex = 2; |
| | | sidePanel1.Text = "sidePanel1"; |
| | | // |
| | | // gridControl1 |
| | | // |
| | | gridControl1.Dock = DockStyle.Fill; |
| | | gridControl1.Location = new Point(0, 101); |
| | | gridControl1.MainView = gridView1; |
| | | gridControl1.MenuManager = ribbonControl1; |
| | | gridControl1.Name = "gridControl1"; |
| | | gridControl1.Size = new Size(690, 419); |
| | | gridControl1.TabIndex = 1; |
| | | gridControl1.ViewCollection.AddRange(new DevExpress.XtraGrid.Views.Base.BaseView[] { gridView1 }); |
| | | // |
| | | // gridView1 |
| | | // |
| | | gridView1.GridControl = gridControl1; |
| | | gridView1.Name = "gridView1"; |
| | | gridView1.OptionsView.ShowGroupPanel = false; |
| | | // |
| | | // dockManager1 |
| | | // |
| | | dockManager1.DockingOptions.ShowAutoHideButton = false; |
| | | dockManager1.DockingOptions.ShowCloseButton = false; |
| | | 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("47edc533-9291-45bc-9b49-4f9f530da5d3"); |
| | | dockPanel1.Location = new Point(0, 0); |
| | | dockPanel1.Name = "dockPanel1"; |
| | | dockPanel1.OriginalSize = new Size(200, 200); |
| | | dockPanel1.Size = new Size(200, 520); |
| | | dockPanel1.Text = "éé¨ç±»å"; |
| | | // |
| | | // dockPanel1_Container |
| | | // |
| | | dockPanel1_Container.Controls.Add(valveTypeTreeListCtrl1); |
| | | dockPanel1_Container.Location = new Point(3, 26); |
| | | dockPanel1_Container.Name = "dockPanel1_Container"; |
| | | dockPanel1_Container.Size = new Size(193, 491); |
| | | dockPanel1_Container.TabIndex = 0; |
| | | // |
| | | // valveTypeTreeListCtrl1 |
| | | // |
| | | valveTypeTreeListCtrl1.Appearance.BackColor = SystemColors.Control; |
| | | valveTypeTreeListCtrl1.Appearance.Options.UseBackColor = true; |
| | | valveTypeTreeListCtrl1.Dock = DockStyle.Fill; |
| | | valveTypeTreeListCtrl1.Location = new Point(0, 0); |
| | | valveTypeTreeListCtrl1.Name = "valveTypeTreeListCtrl1"; |
| | | valveTypeTreeListCtrl1.Size = new Size(193, 491); |
| | | valveTypeTreeListCtrl1.TabIndex = 0; |
| | | // |
| | | // ValveManageMainPanel |
| | | // |
| | | Appearance.BackColor = SystemColors.Control; |
| | | Appearance.Options.UseBackColor = true; |
| | | AutoScaleDimensions = new SizeF(7F, 14F); |
| | | AutoScaleMode = AutoScaleMode.Font; |
| | | Controls.Add(sidePanel1); |
| | | Controls.Add(dockPanel1); |
| | | Name = "ValveManageMainPanel"; |
| | | Size = new Size(890, 520); |
| | | ((System.ComponentModel.ISupportInitialize)ribbonControl1).EndInit(); |
| | | ((System.ComponentModel.ISupportInitialize)svgImageCollection1).EndInit(); |
| | | sidePanel1.ResumeLayout(false); |
| | | sidePanel1.PerformLayout(); |
| | | ((System.ComponentModel.ISupportInitialize)gridControl1).EndInit(); |
| | | ((System.ComponentModel.ISupportInitialize)gridView1).EndInit(); |
| | | ((System.ComponentModel.ISupportInitialize)dockManager1).EndInit(); |
| | | dockPanel1.ResumeLayout(false); |
| | | dockPanel1_Container.ResumeLayout(false); |
| | | ResumeLayout(false); |
| | | } |
| | | |
| | | #endregion |
| | | |
| | | private DevExpress.XtraBars.Ribbon.RibbonControl ribbonControl1; |
| | | private DevExpress.XtraBars.BarButtonItem BtnAdd; |
| | | private DevExpress.XtraBars.BarButtonItem BtnEdit; |
| | | private DevExpress.XtraBars.BarButtonItem BtnDelete; |
| | | private DevExpress.XtraBars.BarButtonItem BarBtnEidtPumpPart; |
| | | private DevExpress.XtraBars.Ribbon.RibbonPage ribbonPage1; |
| | | private DevExpress.XtraBars.Ribbon.RibbonPageGroup ribbonPageGroup1; |
| | | private DevExpress.Utils.SvgImageCollection svgImageCollection1; |
| | | private DevExpress.XtraEditors.SidePanel sidePanel1; |
| | | private DevExpress.XtraGrid.GridControl gridControl1; |
| | | private DevExpress.XtraGrid.Views.Grid.GridView gridView1; |
| | | private DevExpress.XtraBars.Docking.DockManager dockManager1; |
| | | private DevExpress.XtraBars.Docking.DockPanel dockPanel1; |
| | | private DevExpress.XtraBars.Docking.ControlContainer dockPanel1_Container; |
| | | private ValveTypeTreeListCtrl valveTypeTreeListCtrl1; |
| | | } |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | namespace HStation.WinFrmUI.Assets |
| | | { |
| | | public partial class ValveManageMainPanel : DocumentPage |
| | | { |
| | | public ValveManageMainPanel() |
| | | { |
| | | InitializeComponent(); |
| | | this.PageTitle.Caption = "éé¨ç®¡ç"; |
| | | this.PageTitle.HeaderSvgImage = this.svgImageCollection1[0]; |
| | | this.PageTitle.SvgImageSize = new Size(24, 24); |
| | | } |
| | | } |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | <?xml version="1.0" encoding="utf-8"?> |
| | | <root> |
| | | <!-- |
| | | Microsoft ResX Schema |
| | | |
| | | Version 2.0 |
| | | |
| | | The primary goals of this format is to allow a simple XML format |
| | | that is mostly human readable. The generation and parsing of the |
| | | various data types are done through the TypeConverter classes |
| | | associated with the data types. |
| | | |
| | | Example: |
| | | |
| | | ... ado.net/XML headers & schema ... |
| | | <resheader name="resmimetype">text/microsoft-resx</resheader> |
| | | <resheader name="version">2.0</resheader> |
| | | <resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader> |
| | | <resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</resheader> |
| | | <data name="Name1"><value>this is my long string</value><comment>this is a comment</comment></data> |
| | | <data name="Color1" type="System.Drawing.Color, System.Drawing">Blue</data> |
| | | <data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64"> |
| | | <value>[base64 mime encoded serialized .NET Framework object]</value> |
| | | </data> |
| | | <data name="Icon1" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64"> |
| | | <value>[base64 mime encoded string representing a byte array form of the .NET Framework object]</value> |
| | | <comment>This is a comment</comment> |
| | | </data> |
| | | |
| | | There are any number of "resheader" rows that contain simple |
| | | name/value pairs. |
| | | |
| | | Each data row contains a name, and value. The row also contains a |
| | | type or mimetype. Type corresponds to a .NET class that support |
| | | text/value conversion through the TypeConverter architecture. |
| | | Classes that don't support this are serialized and stored with the |
| | | mimetype set. |
| | | |
| | | The mimetype is used for serialized objects, and tells the |
| | | ResXResourceReader how to depersist the object. This is currently not |
| | | extensible. For a given mimetype the value must be set accordingly: |
| | | |
| | | Note - application/x-microsoft.net.object.binary.base64 is the format |
| | | that the ResXResourceWriter will generate, however the reader can |
| | | read any of the formats listed below. |
| | | |
| | | mimetype: application/x-microsoft.net.object.binary.base64 |
| | | 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 |
| | | : and then encoded with base64 encoding. |
| | | |
| | | mimetype: application/x-microsoft.net.object.bytearray.base64 |
| | | value : The object must be serialized into a byte array |
| | | : using a System.ComponentModel.TypeConverter |
| | | : and then encoded with base64 encoding. |
| | | --> |
| | | <xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata"> |
| | | <xsd:import namespace="http://www.w3.org/XML/1998/namespace" /> |
| | | <xsd:element name="root" msdata:IsDataSet="true"> |
| | | <xsd:complexType> |
| | | <xsd:choice maxOccurs="unbounded"> |
| | | <xsd:element name="metadata"> |
| | | <xsd:complexType> |
| | | <xsd:sequence> |
| | | <xsd:element name="value" type="xsd:string" minOccurs="0" /> |
| | | </xsd:sequence> |
| | | <xsd:attribute name="name" use="required" type="xsd:string" /> |
| | | <xsd:attribute name="type" type="xsd:string" /> |
| | | <xsd:attribute name="mimetype" type="xsd:string" /> |
| | | <xsd:attribute ref="xml:space" /> |
| | | </xsd:complexType> |
| | | </xsd:element> |
| | | <xsd:element name="assembly"> |
| | | <xsd:complexType> |
| | | <xsd:attribute name="alias" type="xsd:string" /> |
| | | <xsd:attribute name="name" type="xsd:string" /> |
| | | </xsd:complexType> |
| | | </xsd:element> |
| | | <xsd:element name="data"> |
| | | <xsd:complexType> |
| | | <xsd:sequence> |
| | | <xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" /> |
| | | <xsd:element name="comment" type="xsd:string" minOccurs="0" msdata:Ordinal="2" /> |
| | | </xsd:sequence> |
| | | <xsd:attribute name="name" type="xsd:string" use="required" msdata:Ordinal="1" /> |
| | | <xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3" /> |
| | | <xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" /> |
| | | <xsd:attribute ref="xml:space" /> |
| | | </xsd:complexType> |
| | | </xsd:element> |
| | | <xsd:element name="resheader"> |
| | | <xsd:complexType> |
| | | <xsd:sequence> |
| | | <xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" /> |
| | | </xsd:sequence> |
| | | <xsd:attribute name="name" type="xsd:string" use="required" /> |
| | | </xsd:complexType> |
| | | </xsd:element> |
| | | </xsd:choice> |
| | | </xsd:complexType> |
| | | </xsd:element> |
| | | </xsd:schema> |
| | | <resheader name="resmimetype"> |
| | | <value>text/microsoft-resx</value> |
| | | </resheader> |
| | | <resheader name="version"> |
| | | <value>2.0</value> |
| | | </resheader> |
| | | <resheader name="reader"> |
| | | <value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value> |
| | | </resheader> |
| | | <resheader name="writer"> |
| | | <value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value> |
| | | </resheader> |
| | | <assembly alias="DevExpress.Data.v23.2" name="DevExpress.Data.v23.2, Culture=neutral, PublicKeyToken=b88d1754d700e49a" /> |
| | | <data name="BtnAdd.ImageOptions.SvgImage" type="DevExpress.Utils.Svg.SvgImage, DevExpress.Data.v23.2" mimetype="application/x-microsoft.net.object.bytearray.base64"> |
| | | <value> |
| | | AAEAAAD/////AQAAAAAAAAAMAgAAAFlEZXZFeHByZXNzLkRhdGEudjIzLjIsIFZlcnNpb249MjMuMi40 |
| | | LjAsIEN1bHR1cmU9bmV1dHJhbCwgUHVibGljS2V5VG9rZW49Yjg4ZDE3NTRkNzAwZTQ5YQUBAAAAHURl |
| | | dkV4cHJlc3MuVXRpbHMuU3ZnLlN2Z0ltYWdlAQAAAAREYXRhBwICAAAACQMAAAAPAwAAAKcCAAAC77u/ |
| | | PD94bWwgdmVyc2lvbj0nMS4wJyBlbmNvZGluZz0nVVRGLTgnPz4NCjxzdmcgeD0iMHB4IiB5PSIwcHgi |
| | | IHZpZXdCb3g9IjAgMCAzMiAzMiIgdmVyc2lvbj0iMS4xIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcv |
| | | MjAwMC9zdmciIHhtbG5zOnhsaW5rPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5L3hsaW5rIiB4bWw6c3Bh |
| | | Y2U9InByZXNlcnZlIiBpZD0iTGF5ZXJfMSIgc3R5bGU9ImVuYWJsZS1iYWNrZ3JvdW5kOm5ldyAwIDAg |
| | | MzIgMzIiPg0KICA8c3R5bGUgdHlwZT0idGV4dC9jc3MiPgoJLkJsdWV7ZmlsbDojMTE3N0Q3O30KCS5Z |
| | | ZWxsb3d7ZmlsbDojRkZCMTE1O30KCS5CbGFja3tmaWxsOiM3MjcyNzI7fQoJLkdyZWVue2ZpbGw6IzAz |
| | | OUMyMzt9CgkuUmVke2ZpbGw6I0QxMUMxQzt9Cgkuc3Qwe29wYWNpdHk6MC43NTt9Cgkuc3Qxe29wYWNp |
| | | dHk6MC41O30KPC9zdHlsZT4NCiAgPGcgaWQ9IkFkZCI+DQogICAgPHBhdGggZD0iTTI3LDE0aC05VjVj |
| | | MC0wLjUtMC41LTEtMS0xaC0yYy0wLjUsMC0xLDAuNS0xLDF2OUg1Yy0wLjUsMC0xLDAuNS0xLDF2MmMw |
| | | LDAuNSwwLjUsMSwxLDFoOXY5ICAgYzAsMC41LDAuNSwxLDEsMWgyYzAuNSwwLDEtMC41LDEtMXYtOWg5 |
| | | YzAuNSwwLDEtMC41LDEtMXYtMkMyOCwxNC41LDI3LjUsMTQsMjcsMTR6IiBjbGFzcz0iR3JlZW4iIC8+ |
| | | DQogIDwvZz4NCjwvc3ZnPgs= |
| | | </value> |
| | | </data> |
| | | <data name="BtnEdit.ImageOptions.SvgImage" type="DevExpress.Utils.Svg.SvgImage, DevExpress.Data.v23.2" mimetype="application/x-microsoft.net.object.bytearray.base64"> |
| | | <value> |
| | | AAEAAAD/////AQAAAAAAAAAMAgAAAFlEZXZFeHByZXNzLkRhdGEudjIzLjIsIFZlcnNpb249MjMuMi40 |
| | | LjAsIEN1bHR1cmU9bmV1dHJhbCwgUHVibGljS2V5VG9rZW49Yjg4ZDE3NTRkNzAwZTQ5YQUBAAAAHURl |
| | | dkV4cHJlc3MuVXRpbHMuU3ZnLlN2Z0ltYWdlAQAAAAREYXRhBwICAAAACQMAAAAPAwAAABwFAAAC77u/ |
| | | PD94bWwgdmVyc2lvbj0nMS4wJyBlbmNvZGluZz0nVVRGLTgnPz4NCjxzdmcgeD0iMHB4IiB5PSIwcHgi |
| | | IHZpZXdCb3g9IjAgMCAzMiAzMiIgdmVyc2lvbj0iMS4xIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcv |
| | | MjAwMC9zdmciIHhtbG5zOnhsaW5rPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5L3hsaW5rIiB4bWw6c3Bh |
| | | Y2U9InByZXNlcnZlIiBpZD0iTGF5ZXJfMSIgc3R5bGU9ImVuYWJsZS1iYWNrZ3JvdW5kOm5ldyAwIDAg |
| | | MzIgMzIiPg0KICA8c3R5bGUgdHlwZT0idGV4dC9jc3MiPgoJLlllbGxvd3tmaWxsOiNGRkIxMTU7fQoJ |
| | | LlJlZHtmaWxsOiNEMTFDMUM7fQoJLkJsYWNre2ZpbGw6IzcyNzI3Mjt9CgkuQmx1ZXtmaWxsOiMxMTc3 |
| | | RDc7fQoJLldoaXRle2ZpbGw6I0ZGRkZGRjt9CgkuR3JlZW57ZmlsbDojMDM5QzIzO30KCS5zdDB7b3Bh |
| | | Y2l0eTowLjc1O30KCS5zdDF7b3BhY2l0eTowLjU7fQoJLnN0MntvcGFjaXR5OjAuMjU7fQoJLnN0M3tm |
| | | aWxsOiNGRkIxMTU7fQo8L3N0eWxlPg0KICA8ZyAvPg0KICA8ZyBpZD0iUmVuYW1lXzFfIj4NCiAgICA8 |
| | | cGF0aCBkPSJNMi4xLDE2aDIuMmwwLjYtMi4zaDMuMkw4LjgsMTZIMTFMNy44LDZINS40TDIuMSwxNnog |
| | | TTYuNCw4LjdjMC4xLTAuMywwLjEtMC42LDAuMS0wLjloMC4xICAgYzAsMC4zLDAuMSwwLjYsMC4xLDAu |
| | | OWwxLDMuM0g1LjRMNi40LDguN3ogTTE3LjUsMTAuNmMwLjYtMC4yLDEuMS0wLjUsMS41LTAuOWMwLjQt |
| | | MC40LDAuNi0wLjksMC42LTEuNGMwLTAuNy0wLjMtMS4zLTAuOS0xLjcgICBDMTguMSw2LjIsMTcuMSw2 |
| | | LDE1LjksNkgxMnY5LjlWMTZoNGMxLjIsMCwyLjItMC4yLDIuOS0wLjhDMTkuNywxNC42LDIwLDE0LDIw |
| | | LDEzYzAtMC42LTAuMi0xLjItMC43LTEuNiAgIEMxOC45LDExLDE4LjMsMTAuNywxNy41LDEwLjZ6IE0x |
| | | NC40LDcuN2gwLjljMS4xLDAsMS43LDAuNCwxLjcsMS4xYzAsMC40LTAuMSwwLjctMC40LDAuOUMxNi40 |
| | | LDkuOSwxNiwxMCwxNS41LDEwaC0xLjFWNy43eiAgICBNMTcsMTMuOGMtMC4zLDAuMi0wLjgsMC40LTEu |
| | | MywwLjRoLTEuM3YtMi42aDEuM2MwLjUsMCwwLjksMC4xLDEuMywwLjNjMC4zLDAuMiwwLjUsMC42LDAu |
| | | NSwwLjlDMTcuNSwxMy4zLDE3LjQsMTMuNiwxNywxMy44eiIgY2xhc3M9IkJsYWNrIiAvPg0KICAgIDxw |
| | | YXRoIGQ9Ik0yNywxOWwtOCw4bC00LTRsOC04TDI3LDE5eiBNMjgsMThsMS43LTEuN2MwLjQtMC40LDAu |
| | | NC0xLDAtMS4zTDI3LDEyLjNjLTAuNC0wLjQtMS0wLjQtMS4zLDBMMjQsMTRMMjgsMTh6ICAgIE0xNCwy |
| | | NHY0aDRMMTQsMjR6IiBjbGFzcz0iQmx1ZSIgLz4NCiAgPC9nPg0KPC9zdmc+Cw== |
| | | </value> |
| | | </data> |
| | | <data name="BtnDelete.ImageOptions.SvgImage" type="DevExpress.Utils.Svg.SvgImage, DevExpress.Data.v23.2" mimetype="application/x-microsoft.net.object.bytearray.base64"> |
| | | <value> |
| | | AAEAAAD/////AQAAAAAAAAAMAgAAAFlEZXZFeHByZXNzLkRhdGEudjIzLjIsIFZlcnNpb249MjMuMi40 |
| | | LjAsIEN1bHR1cmU9bmV1dHJhbCwgUHVibGljS2V5VG9rZW49Yjg4ZDE3NTRkNzAwZTQ5YQUBAAAAHURl |
| | | dkV4cHJlc3MuVXRpbHMuU3ZnLlN2Z0ltYWdlAQAAAAREYXRhBwICAAAACQMAAAAPAwAAAJIDAAAC77u/ |
| | | PD94bWwgdmVyc2lvbj0nMS4wJyBlbmNvZGluZz0nVVRGLTgnPz4NCjxzdmcgeD0iMHB4IiB5PSIwcHgi |
| | | IHZpZXdCb3g9IjAgMCAzMiAzMiIgdmVyc2lvbj0iMS4xIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcv |
| | | MjAwMC9zdmciIHhtbG5zOnhsaW5rPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5L3hsaW5rIiB4bWw6c3Bh |
| | | Y2U9InByZXNlcnZlIiBpZD0iTGF5ZXJfMSIgc3R5bGU9ImVuYWJsZS1iYWNrZ3JvdW5kOm5ldyAwIDAg |
| | | MzIgMzIiPg0KICA8c3R5bGUgdHlwZT0idGV4dC9jc3MiPgoJLlllbGxvd3tmaWxsOiNGRkIxMTU7fQoJ |
| | | LlJlZHtmaWxsOiNEMTFDMUM7fQoJLkJsdWV7ZmlsbDojMTE3N0Q3O30KCS5HcmVlbntmaWxsOiMwMzlD |
| | | MjM7fQoJLkJsYWNre2ZpbGw6IzcyNzI3Mjt9CgkuV2hpdGV7ZmlsbDojRkZGRkZGO30KCS5zdDB7b3Bh |
| | | Y2l0eTowLjU7fQoJLnN0MXtkaXNwbGF5Om5vbmU7fQoJLnN0MntkaXNwbGF5OmlubGluZTtmaWxsOiMw |
| | | MzlDMjM7fQoJLnN0M3tkaXNwbGF5OmlubGluZTtmaWxsOiNEMTFDMUM7fQoJLnN0NHtkaXNwbGF5Omlu |
| | | bGluZTtmaWxsOiM3MjcyNzI7fQo8L3N0eWxlPg0KICA8ZyBpZD0iRGVsZXRlIj4NCiAgICA8cGF0aCBk |
| | | PSJNMTguOCwxNmw4LjktOC45YzAuNC0wLjQsMC40LTEsMC0xLjRsLTEuNC0xLjRjLTAuNC0wLjQtMS0w |
| | | LjQtMS40LDBMMTYsMTMuMkw3LjEsNC4zYy0wLjQtMC40LTEtMC40LTEuNCwwICAgTDQuMyw1LjdjLTAu |
| | | NCwwLjQtMC40LDEsMCwxLjRsOC45LDguOWwtOC45LDguOWMtMC40LDAuNC0wLjQsMSwwLDEuNGwxLjQs |
| | | MS40YzAuNCwwLjQsMSwwLjQsMS40LDBsOC45LTguOWw4LjksOC45ICAgYzAuNCwwLjQsMSwwLjQsMS40 |
| | | LDBsMS40LTEuNGMwLjQtMC40LDAuNC0xLDAtMS40TDE4LjgsMTZ6IiBjbGFzcz0iUmVkIiAvPg0KICA8 |
| | | L2c+DQo8L3N2Zz4L |
| | | </value> |
| | | </data> |
| | | <metadata name="svgImageCollection1.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a"> |
| | | <value>17, 17</value> |
| | | </metadata> |
| | | <metadata name="dockManager1.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a"> |
| | | <value>193, 17</value> |
| | | </metadata> |
| | | </root> |
¶Ô±ÈÐÂÎļþ |
| | |
| | | using DevExpress.XtraEditors; |
| | | |
| | | namespace HStation.WinFrmUI.Assets |
| | | { |
| | | /// <summary> |
| | | /// |
| | | /// </summary> |
| | | public partial class ValveTypeTreeListCtrl : XtraUserControl |
| | | { |
| | | public ValveTypeTreeListCtrl() |
| | | { |
| | | InitializeComponent(); |
| | | this.treeList1.InitialDefaultSettings(); |
| | | this.treeList1.SelectImageList = ImageLib.Lib; |
| | | } |
| | | } |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | namespace HStation.WinFrmUI.Assets |
| | | { |
| | | partial class ValveTypeTreeListCtrl |
| | | { |
| | | /// <summary> |
| | | /// Required designer variable. |
| | | /// </summary> |
| | | private System.ComponentModel.IContainer components = null; |
| | | |
| | | /// <summary> |
| | | /// Clean up any resources being used. |
| | | /// </summary> |
| | | /// <param name="disposing">true if managed resources should be disposed; otherwise, false.</param> |
| | | protected override void Dispose(bool disposing) |
| | | { |
| | | if (disposing && (components != null)) |
| | | { |
| | | components.Dispose(); |
| | | } |
| | | base.Dispose(disposing); |
| | | } |
| | | |
| | | #region Component Designer generated code |
| | | |
| | | /// <summary> |
| | | /// Required method for Designer support - do not modify |
| | | /// the contents of this method with the code editor. |
| | | /// </summary> |
| | | private void InitializeComponent() |
| | | { |
| | | components = new System.ComponentModel.Container(); |
| | | System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(ValveTypeTreeListCtrl)); |
| | | barManager1 = new DevExpress.XtraBars.BarManager(components); |
| | | barBtnAdd = new DevExpress.XtraBars.BarButtonItem(); |
| | | barBtnAddChild = new DevExpress.XtraBars.BarButtonItem(); |
| | | barBtnEdit = new DevExpress.XtraBars.BarButtonItem(); |
| | | barBtnDelete = new DevExpress.XtraBars.BarButtonItem(); |
| | | barCkSearch = new DevExpress.XtraBars.BarCheckItem(); |
| | | barBtnExpandAll = new DevExpress.XtraBars.BarButtonItem(); |
| | | barBtnCollapseAll = new DevExpress.XtraBars.BarButtonItem(); |
| | | barDockControlTop = new DevExpress.XtraBars.BarDockControl(); |
| | | barDockControlBottom = new DevExpress.XtraBars.BarDockControl(); |
| | | barDockControlLeft = new DevExpress.XtraBars.BarDockControl(); |
| | | barDockControlRight = new DevExpress.XtraBars.BarDockControl(); |
| | | barRoot = new DevExpress.XtraBars.BarSubItem(); |
| | | layoutControl1 = new DevExpress.XtraLayout.LayoutControl(); |
| | | treeList1 = new DevExpress.XtraTreeList.TreeList(); |
| | | colName = new DevExpress.XtraTreeList.Columns.TreeListColumn(); |
| | | Root = new DevExpress.XtraLayout.LayoutControlGroup(); |
| | | layoutControlItem2 = new DevExpress.XtraLayout.LayoutControlItem(); |
| | | barRootBasicInfoMgr = new DevExpress.XtraBars.BarSubItem(); |
| | | bar1 = new DevExpress.XtraBars.Bar(); |
| | | BtnAdd = new DevExpress.XtraBars.BarButtonItem(); |
| | | ((System.ComponentModel.ISupportInitialize)barManager1).BeginInit(); |
| | | ((System.ComponentModel.ISupportInitialize)layoutControl1).BeginInit(); |
| | | layoutControl1.SuspendLayout(); |
| | | ((System.ComponentModel.ISupportInitialize)treeList1).BeginInit(); |
| | | ((System.ComponentModel.ISupportInitialize)Root).BeginInit(); |
| | | ((System.ComponentModel.ISupportInitialize)layoutControlItem2).BeginInit(); |
| | | SuspendLayout(); |
| | | // |
| | | // barManager1 |
| | | // |
| | | barManager1.Bars.AddRange(new DevExpress.XtraBars.Bar[] { bar1 }); |
| | | barManager1.Categories.AddRange(new DevExpress.XtraBars.BarManagerCategory[] { new DevExpress.XtraBars.BarManagerCategory("Menu", new Guid("66025f6c-663a-4ef4-927a-145971e982ee")), new DevExpress.XtraBars.BarManagerCategory("Node", new Guid("b558f1d8-eb1b-4761-8cec-661b93c5cda9")) }); |
| | | barManager1.DockControls.Add(barDockControlTop); |
| | | barManager1.DockControls.Add(barDockControlBottom); |
| | | barManager1.DockControls.Add(barDockControlLeft); |
| | | barManager1.DockControls.Add(barDockControlRight); |
| | | barManager1.Form = this; |
| | | barManager1.Items.AddRange(new DevExpress.XtraBars.BarItem[] { barCkSearch, barBtnAdd, barBtnEdit, barBtnDelete, barBtnExpandAll, barBtnCollapseAll, barBtnAddChild, BtnAdd }); |
| | | barManager1.MainMenu = bar1; |
| | | barManager1.MaxItemId = 60; |
| | | // |
| | | // barBtnAdd |
| | | // |
| | | barBtnAdd.Id = 53; |
| | | barBtnAdd.Name = "barBtnAdd"; |
| | | // |
| | | // barBtnAddChild |
| | | // |
| | | barBtnAddChild.Id = 58; |
| | | barBtnAddChild.Name = "barBtnAddChild"; |
| | | // |
| | | // barBtnEdit |
| | | // |
| | | barBtnEdit.Id = 54; |
| | | barBtnEdit.Name = "barBtnEdit"; |
| | | // |
| | | // barBtnDelete |
| | | // |
| | | barBtnDelete.Id = 55; |
| | | barBtnDelete.Name = "barBtnDelete"; |
| | | // |
| | | // barCkSearch |
| | | // |
| | | barCkSearch.Id = 52; |
| | | barCkSearch.Name = "barCkSearch"; |
| | | // |
| | | // barBtnExpandAll |
| | | // |
| | | barBtnExpandAll.Id = 56; |
| | | barBtnExpandAll.Name = "barBtnExpandAll"; |
| | | // |
| | | // barBtnCollapseAll |
| | | // |
| | | barBtnCollapseAll.Id = 57; |
| | | barBtnCollapseAll.Name = "barBtnCollapseAll"; |
| | | // |
| | | // barDockControlTop |
| | | // |
| | | barDockControlTop.CausesValidation = false; |
| | | barDockControlTop.Dock = DockStyle.Top; |
| | | barDockControlTop.Location = new Point(0, 0); |
| | | barDockControlTop.Manager = barManager1; |
| | | barDockControlTop.Size = new Size(239, 28); |
| | | // |
| | | // barDockControlBottom |
| | | // |
| | | barDockControlBottom.CausesValidation = false; |
| | | barDockControlBottom.Dock = DockStyle.Bottom; |
| | | barDockControlBottom.Location = new Point(0, 569); |
| | | barDockControlBottom.Manager = barManager1; |
| | | barDockControlBottom.Size = new Size(239, 0); |
| | | // |
| | | // barDockControlLeft |
| | | // |
| | | barDockControlLeft.CausesValidation = false; |
| | | barDockControlLeft.Dock = DockStyle.Left; |
| | | barDockControlLeft.Location = new Point(0, 28); |
| | | barDockControlLeft.Manager = barManager1; |
| | | barDockControlLeft.Size = new Size(0, 541); |
| | | // |
| | | // barDockControlRight |
| | | // |
| | | barDockControlRight.CausesValidation = false; |
| | | barDockControlRight.Dock = DockStyle.Right; |
| | | barDockControlRight.Location = new Point(239, 28); |
| | | barDockControlRight.Manager = barManager1; |
| | | barDockControlRight.Size = new Size(0, 541); |
| | | // |
| | | // barRoot |
| | | // |
| | | barRoot.Caption = "barSubItem1"; |
| | | barRoot.Id = 17; |
| | | barRoot.Name = "barRoot"; |
| | | // |
| | | // layoutControl1 |
| | | // |
| | | layoutControl1.Controls.Add(treeList1); |
| | | layoutControl1.Dock = DockStyle.Fill; |
| | | layoutControl1.Location = new Point(0, 28); |
| | | layoutControl1.Name = "layoutControl1"; |
| | | layoutControl1.Root = Root; |
| | | layoutControl1.Size = new Size(239, 541); |
| | | layoutControl1.TabIndex = 6; |
| | | layoutControl1.Text = "layoutControl1"; |
| | | // |
| | | // treeList1 |
| | | // |
| | | treeList1.BorderStyle = DevExpress.XtraEditors.Controls.BorderStyles.NoBorder; |
| | | treeList1.Columns.AddRange(new DevExpress.XtraTreeList.Columns.TreeListColumn[] { colName }); |
| | | treeList1.Location = new Point(0, 0); |
| | | treeList1.Name = "treeList1"; |
| | | treeList1.OptionsBehavior.Editable = false; |
| | | treeList1.OptionsBehavior.ReadOnly = true; |
| | | treeList1.OptionsMenu.EnableNodeMenu = false; |
| | | treeList1.OptionsSelection.EnableAppearanceFocusedCell = false; |
| | | treeList1.OptionsView.FocusRectStyle = DevExpress.XtraTreeList.DrawFocusRectStyle.None; |
| | | treeList1.Size = new Size(239, 541); |
| | | treeList1.TabIndex = 7; |
| | | treeList1.ViewStyle = DevExpress.XtraTreeList.TreeListViewStyle.TreeView; |
| | | // |
| | | // colName |
| | | // |
| | | colName.Caption = "åç§°"; |
| | | colName.FieldName = "Name"; |
| | | colName.MinWidth = 23; |
| | | colName.Name = "colName"; |
| | | colName.Visible = true; |
| | | colName.VisibleIndex = 0; |
| | | colName.Width = 87; |
| | | // |
| | | // Root |
| | | // |
| | | Root.EnableIndentsWithoutBorders = DevExpress.Utils.DefaultBoolean.True; |
| | | Root.GroupBordersVisible = false; |
| | | Root.Items.AddRange(new DevExpress.XtraLayout.BaseLayoutItem[] { layoutControlItem2 }); |
| | | Root.Name = "Root"; |
| | | Root.Padding = new DevExpress.XtraLayout.Utils.Padding(0, 0, 0, 0); |
| | | Root.Size = new Size(239, 541); |
| | | Root.TextVisible = false; |
| | | // |
| | | // layoutControlItem2 |
| | | // |
| | | layoutControlItem2.Control = treeList1; |
| | | layoutControlItem2.Location = new Point(0, 0); |
| | | layoutControlItem2.Name = "layoutControlItem2"; |
| | | layoutControlItem2.Padding = new DevExpress.XtraLayout.Utils.Padding(0, 0, 0, 0); |
| | | layoutControlItem2.Size = new Size(239, 541); |
| | | layoutControlItem2.TextSize = new Size(0, 0); |
| | | layoutControlItem2.TextVisible = false; |
| | | // |
| | | // barRootBasicInfoMgr |
| | | // |
| | | barRootBasicInfoMgr.Caption = "barSubItem1"; |
| | | barRootBasicInfoMgr.Id = 20; |
| | | barRootBasicInfoMgr.Name = "barRootBasicInfoMgr"; |
| | | // |
| | | // bar1 |
| | | // |
| | | bar1.BarName = "Custom 2"; |
| | | bar1.DockCol = 0; |
| | | bar1.DockRow = 0; |
| | | bar1.DockStyle = DevExpress.XtraBars.BarDockStyle.Top; |
| | | bar1.LinksPersistInfo.AddRange(new DevExpress.XtraBars.LinkPersistInfo[] { new DevExpress.XtraBars.LinkPersistInfo(BtnAdd) }); |
| | | bar1.OptionsBar.DrawDragBorder = false; |
| | | bar1.OptionsBar.MultiLine = true; |
| | | bar1.OptionsBar.UseWholeRow = true; |
| | | bar1.Text = "Custom 2"; |
| | | // |
| | | // BtnAdd |
| | | // |
| | | BtnAdd.Caption = "æ·»å ç±»å"; |
| | | BtnAdd.Id = 59; |
| | | BtnAdd.ImageOptions.SvgImage = (DevExpress.Utils.Svg.SvgImage)resources.GetObject("BtnAdd.ImageOptions.SvgImage"); |
| | | BtnAdd.ImageOptions.SvgImageSize = new Size(20, 20); |
| | | BtnAdd.Name = "BtnAdd"; |
| | | // |
| | | // ValveTypeTreeListCtrl |
| | | // |
| | | Appearance.BackColor = SystemColors.Control; |
| | | Appearance.Options.UseBackColor = true; |
| | | AutoScaleDimensions = new SizeF(7F, 14F); |
| | | AutoScaleMode = AutoScaleMode.Font; |
| | | Controls.Add(layoutControl1); |
| | | Controls.Add(barDockControlLeft); |
| | | Controls.Add(barDockControlRight); |
| | | Controls.Add(barDockControlBottom); |
| | | Controls.Add(barDockControlTop); |
| | | Name = "ValveTypeTreeListCtrl"; |
| | | Size = new Size(239, 569); |
| | | ((System.ComponentModel.ISupportInitialize)barManager1).EndInit(); |
| | | ((System.ComponentModel.ISupportInitialize)layoutControl1).EndInit(); |
| | | layoutControl1.ResumeLayout(false); |
| | | ((System.ComponentModel.ISupportInitialize)treeList1).EndInit(); |
| | | ((System.ComponentModel.ISupportInitialize)Root).EndInit(); |
| | | ((System.ComponentModel.ISupportInitialize)layoutControlItem2).EndInit(); |
| | | ResumeLayout(false); |
| | | PerformLayout(); |
| | | } |
| | | |
| | | #endregion |
| | | private DevExpress.XtraBars.BarManager barManager1; |
| | | private DevExpress.XtraBars.BarDockControl barDockControlTop; |
| | | private DevExpress.XtraBars.BarDockControl barDockControlBottom; |
| | | private DevExpress.XtraBars.BarDockControl barDockControlLeft; |
| | | private DevExpress.XtraBars.BarDockControl barDockControlRight; |
| | | private DevExpress.XtraLayout.LayoutControl layoutControl1; |
| | | private DevExpress.XtraTreeList.TreeList treeList1; |
| | | private DevExpress.XtraTreeList.Columns.TreeListColumn colName; |
| | | private DevExpress.XtraLayout.LayoutControlGroup Root; |
| | | private DevExpress.XtraLayout.LayoutControlItem layoutControlItem2; |
| | | private DevExpress.XtraBars.BarSubItem barRoot; |
| | | private DevExpress.XtraBars.BarSubItem barRootBasicInfoMgr; |
| | | private DevExpress.XtraBars.BarCheckItem barCkSearch; |
| | | private DevExpress.XtraBars.BarButtonItem barBtnAdd; |
| | | private DevExpress.XtraBars.BarButtonItem barBtnEdit; |
| | | private DevExpress.XtraBars.BarButtonItem barBtnDelete; |
| | | private DevExpress.XtraBars.BarButtonItem barBtnExpandAll; |
| | | private DevExpress.XtraBars.BarButtonItem barBtnCollapseAll; |
| | | private DevExpress.XtraBars.BarButtonItem barBtnAddChild; |
| | | private DevExpress.XtraBars.Bar bar1; |
| | | private DevExpress.XtraBars.BarButtonItem BtnAdd; |
| | | } |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | <?xml version="1.0" encoding="utf-8"?> |
| | | <root> |
| | | <!-- |
| | | Microsoft ResX Schema |
| | | |
| | | Version 2.0 |
| | | |
| | | The primary goals of this format is to allow a simple XML format |
| | | that is mostly human readable. The generation and parsing of the |
| | | various data types are done through the TypeConverter classes |
| | | associated with the data types. |
| | | |
| | | Example: |
| | | |
| | | ... ado.net/XML headers & schema ... |
| | | <resheader name="resmimetype">text/microsoft-resx</resheader> |
| | | <resheader name="version">2.0</resheader> |
| | | <resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader> |
| | | <resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</resheader> |
| | | <data name="Name1"><value>this is my long string</value><comment>this is a comment</comment></data> |
| | | <data name="Color1" type="System.Drawing.Color, System.Drawing">Blue</data> |
| | | <data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64"> |
| | | <value>[base64 mime encoded serialized .NET Framework object]</value> |
| | | </data> |
| | | <data name="Icon1" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64"> |
| | | <value>[base64 mime encoded string representing a byte array form of the .NET Framework object]</value> |
| | | <comment>This is a comment</comment> |
| | | </data> |
| | | |
| | | There are any number of "resheader" rows that contain simple |
| | | name/value pairs. |
| | | |
| | | Each data row contains a name, and value. The row also contains a |
| | | type or mimetype. Type corresponds to a .NET class that support |
| | | text/value conversion through the TypeConverter architecture. |
| | | Classes that don't support this are serialized and stored with the |
| | | mimetype set. |
| | | |
| | | The mimetype is used for serialized objects, and tells the |
| | | ResXResourceReader how to depersist the object. This is currently not |
| | | extensible. For a given mimetype the value must be set accordingly: |
| | | |
| | | Note - application/x-microsoft.net.object.binary.base64 is the format |
| | | that the ResXResourceWriter will generate, however the reader can |
| | | read any of the formats listed below. |
| | | |
| | | mimetype: application/x-microsoft.net.object.binary.base64 |
| | | 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 |
| | | : and then encoded with base64 encoding. |
| | | |
| | | mimetype: application/x-microsoft.net.object.bytearray.base64 |
| | | value : The object must be serialized into a byte array |
| | | : using a System.ComponentModel.TypeConverter |
| | | : and then encoded with base64 encoding. |
| | | --> |
| | | <xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata"> |
| | | <xsd:import namespace="http://www.w3.org/XML/1998/namespace" /> |
| | | <xsd:element name="root" msdata:IsDataSet="true"> |
| | | <xsd:complexType> |
| | | <xsd:choice maxOccurs="unbounded"> |
| | | <xsd:element name="metadata"> |
| | | <xsd:complexType> |
| | | <xsd:sequence> |
| | | <xsd:element name="value" type="xsd:string" minOccurs="0" /> |
| | | </xsd:sequence> |
| | | <xsd:attribute name="name" use="required" type="xsd:string" /> |
| | | <xsd:attribute name="type" type="xsd:string" /> |
| | | <xsd:attribute name="mimetype" type="xsd:string" /> |
| | | <xsd:attribute ref="xml:space" /> |
| | | </xsd:complexType> |
| | | </xsd:element> |
| | | <xsd:element name="assembly"> |
| | | <xsd:complexType> |
| | | <xsd:attribute name="alias" type="xsd:string" /> |
| | | <xsd:attribute name="name" type="xsd:string" /> |
| | | </xsd:complexType> |
| | | </xsd:element> |
| | | <xsd:element name="data"> |
| | | <xsd:complexType> |
| | | <xsd:sequence> |
| | | <xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" /> |
| | | <xsd:element name="comment" type="xsd:string" minOccurs="0" msdata:Ordinal="2" /> |
| | | </xsd:sequence> |
| | | <xsd:attribute name="name" type="xsd:string" use="required" msdata:Ordinal="1" /> |
| | | <xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3" /> |
| | | <xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" /> |
| | | <xsd:attribute ref="xml:space" /> |
| | | </xsd:complexType> |
| | | </xsd:element> |
| | | <xsd:element name="resheader"> |
| | | <xsd:complexType> |
| | | <xsd:sequence> |
| | | <xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" /> |
| | | </xsd:sequence> |
| | | <xsd:attribute name="name" type="xsd:string" use="required" /> |
| | | </xsd:complexType> |
| | | </xsd:element> |
| | | </xsd:choice> |
| | | </xsd:complexType> |
| | | </xsd:element> |
| | | </xsd:schema> |
| | | <resheader name="resmimetype"> |
| | | <value>text/microsoft-resx</value> |
| | | </resheader> |
| | | <resheader name="version"> |
| | | <value>2.0</value> |
| | | </resheader> |
| | | <resheader name="reader"> |
| | | <value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value> |
| | | </resheader> |
| | | <resheader name="writer"> |
| | | <value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value> |
| | | </resheader> |
| | | <metadata name="barManager1.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a"> |
| | | <value>17, 17</value> |
| | | </metadata> |
| | | <assembly alias="DevExpress.Data.v23.2" name="DevExpress.Data.v23.2, Culture=neutral, PublicKeyToken=b88d1754d700e49a" /> |
| | | <data name="BtnAdd.ImageOptions.SvgImage" type="DevExpress.Utils.Svg.SvgImage, DevExpress.Data.v23.2" mimetype="application/x-microsoft.net.object.bytearray.base64"> |
| | | <value> |
| | | AAEAAAD/////AQAAAAAAAAAMAgAAAFlEZXZFeHByZXNzLkRhdGEudjIzLjIsIFZlcnNpb249MjMuMi40 |
| | | LjAsIEN1bHR1cmU9bmV1dHJhbCwgUHVibGljS2V5VG9rZW49Yjg4ZDE3NTRkNzAwZTQ5YQUBAAAAHURl |
| | | dkV4cHJlc3MuVXRpbHMuU3ZnLlN2Z0ltYWdlAQAAAAREYXRhBwICAAAACQMAAAAPAwAAAGICAAAC77u/ |
| | | PD94bWwgdmVyc2lvbj0nMS4wJyBlbmNvZGluZz0nVVRGLTgnPz4NCjxzdmcgeD0iMHB4IiB5PSIwcHgi |
| | | IHZpZXdCb3g9IjAgMCAzMiAzMiIgdmVyc2lvbj0iMS4xIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcv |
| | | MjAwMC9zdmciIHhtbG5zOnhsaW5rPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5L3hsaW5rIiB4bWw6c3Bh |
| | | Y2U9InByZXNlcnZlIiBpZD0iTGF5ZXJfMSIgc3R5bGU9ImVuYWJsZS1iYWNrZ3JvdW5kOm5ldyAwIDAg |
| | | MzIgMzIiPg0KICA8c3R5bGUgdHlwZT0idGV4dC9jc3MiPgoJLkJsdWV7ZmlsbDojMTE3N0Q3O30KCS5Z |
| | | ZWxsb3d7ZmlsbDojRkZCMTE1O30KCS5CbGFja3tmaWxsOiM3MjcyNzI7fQoJLkdyZWVue2ZpbGw6IzAz |
| | | OUMyMzt9CgkuUmVke2ZpbGw6I0QxMUMxQzt9Cgkuc3Qwe29wYWNpdHk6MC43NTt9Cgkuc3Qxe29wYWNp |
| | | dHk6MC41O30KPC9zdHlsZT4NCiAgPGcgaWQ9IkFkZENpcmNsZWQiPg0KICAgIDxwYXRoIGQ9Ik0xNiw0 |
| | | QzkuNCw0LDQsOS40LDQsMTZzNS40LDEyLDEyLDEyczEyLTUuNCwxMi0xMlMyMi42LDQsMTYsNHogTTI0 |
| | | LDE4aC02djZoLTR2LTZIOHYtNGg2VjhoNHY2aDZWMTh6IiBjbGFzcz0iR3JlZW4iIC8+DQogIDwvZz4N |
| | | Cjwvc3ZnPgs= |
| | | </value> |
| | | </data> |
| | | </root> |
| | |
| | | <Compile Update="00-PumpProductManage\AddPumpProductGroupDlg.cs" /> |
| | | <Compile Update="00-PumpProductManage\AddPumpProductMainDlg.cs" /> |
| | | <Compile Update="00-PumpProductManage\EditPumpProductSeriesDlg.cs" /> |
| | | <Compile Update="01-ValveManage\ValveTypeTreeListCtrl.cs"> |
| | | <SubType>UserControl</SubType> |
| | | </Compile> |
| | | <Compile Update="Properties\Resources.Designer.cs"> |
| | | <DesignTime>True</DesignTime> |
| | | <AutoGen>True</AutoGen> |
| | |
| | | <Compile Update="00-PumpProductManage\PumpProductSeriesTreeListCtrl.cs"> |
| | | <SubType>UserControl</SubType> |
| | | </Compile> |
| | | <Compile Update="01-ValveManage\ValveManageMainPanel.cs"> |
| | | <SubType>UserControl</SubType> |
| | | </Compile> |
| | | <Compile Update="02-UICore\00-DocumentPage\DocumentPage.cs"> |
| | | <SubType>UserControl</SubType> |
| | | </Compile> |
| | |
| | | // |
| | | // dockManager1 |
| | | // |
| | | dockManager1.DockingOptions.ShowAutoHideButton = false; |
| | | dockManager1.DockingOptions.ShowCloseButton = false; |
| | | 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" }); |
ÎļþÃû´Ó WinFrmUI/HStation.WinFrmUI.Basic/01-SysCatalogManage/EditSysCatlaogDlg.Designer.cs ÐÞ¸Ä |
| | |
| | | namespace HStation.WinFrmUI.Basic |
| | | { |
| | | partial class EditSysCatlaogDlg |
| | | partial class EditSysCatalogDlg |
| | | { |
| | | /// <summary> |
| | | /// Required designer variable. |
ÎļþÃû´Ó WinFrmUI/HStation.WinFrmUI.Basic/01-SysCatalogManage/EditSysCatlaogDlg.cs ÐÞ¸Ä |
| | |
| | | |
| | | namespace HStation.WinFrmUI.Basic |
| | | { |
| | | public partial class EditSysCatlaogDlg : DevExpress.XtraEditors.XtraForm |
| | | public partial class EditSysCatalogDlg : DevExpress.XtraEditors.XtraForm |
| | | { |
| | | public EditSysCatlaogDlg() |
| | | public EditSysCatalogDlg() |
| | | { |
| | | InitializeComponent(); |
| | | } |
| | |
| | | colCode = new DevExpress.XtraTreeList.Columns.TreeListColumn(); |
| | | colSortCode = new DevExpress.XtraTreeList.Columns.TreeListColumn(); |
| | | colDescription = new DevExpress.XtraTreeList.Columns.TreeListColumn(); |
| | | catlogViewModelBindingSource = new BindingSource(components); |
| | | catalogViewModelBindingSource = new BindingSource(components); |
| | | barButtonItem1 = new DevExpress.XtraBars.BarButtonItem(); |
| | | svgImage32 = new DevExpress.Utils.SvgImageCollection(components); |
| | | sidePanel1 = new DevExpress.XtraEditors.SidePanel(); |
| | |
| | | dockPanel1.SuspendLayout(); |
| | | dockPanel1_Container.SuspendLayout(); |
| | | ((System.ComponentModel.ISupportInitialize)treeList1).BeginInit(); |
| | | ((System.ComponentModel.ISupportInitialize)catlogViewModelBindingSource).BeginInit(); |
| | | ((System.ComponentModel.ISupportInitialize)catalogViewModelBindingSource).BeginInit(); |
| | | ((System.ComponentModel.ISupportInitialize)svgImage32).BeginInit(); |
| | | sidePanel1.SuspendLayout(); |
| | | SuspendLayout(); |
| | |
| | | // |
| | | // dockManager1 |
| | | // |
| | | dockManager1.DockingOptions.ShowAutoHideButton = false; |
| | | dockManager1.DockingOptions.ShowCloseButton = false; |
| | | 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" }); |
| | |
| | | treeList1.Appearance.HeaderPanel.Options.UseTextOptions = true; |
| | | treeList1.Appearance.HeaderPanel.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center; |
| | | treeList1.Columns.AddRange(new DevExpress.XtraTreeList.Columns.TreeListColumn[] { colName, colCode, colSortCode, colDescription }); |
| | | treeList1.DataSource = catlogViewModelBindingSource; |
| | | treeList1.DataSource = catalogViewModelBindingSource; |
| | | treeList1.Dock = DockStyle.Fill; |
| | | treeList1.Location = new Point(0, 101); |
| | | treeList1.MenuManager = ribbonControl1; |
| | |
| | | colDescription.Visible = true; |
| | | colDescription.VisibleIndex = 3; |
| | | // |
| | | // catlogViewModelBindingSource |
| | | // catalogViewModelBindingSource |
| | | // |
| | | catlogViewModelBindingSource.DataSource = typeof(SysCatalogViewModel); |
| | | catalogViewModelBindingSource.DataSource = typeof(SysCatalogViewModel); |
| | | // |
| | | // barButtonItem1 |
| | | // |
| | |
| | | dockPanel1.ResumeLayout(false); |
| | | dockPanel1_Container.ResumeLayout(false); |
| | | ((System.ComponentModel.ISupportInitialize)treeList1).EndInit(); |
| | | ((System.ComponentModel.ISupportInitialize)catlogViewModelBindingSource).EndInit(); |
| | | ((System.ComponentModel.ISupportInitialize)catalogViewModelBindingSource).EndInit(); |
| | | ((System.ComponentModel.ISupportInitialize)svgImage32).EndInit(); |
| | | sidePanel1.ResumeLayout(false); |
| | | sidePanel1.PerformLayout(); |
| | |
| | | private DevExpress.XtraTreeList.Columns.TreeListColumn colCode; |
| | | private DevExpress.XtraTreeList.Columns.TreeListColumn colSortCode; |
| | | private DevExpress.XtraTreeList.Columns.TreeListColumn colDescription; |
| | | private BindingSource catlogViewModelBindingSource; |
| | | private BindingSource catalogViewModelBindingSource; |
| | | private SysTypeListBoxCtrl typeTreeListCtrl2; |
| | | private DevExpress.XtraBars.BarButtonItem BtnAddChild; |
| | | private DevExpress.XtraBars.BarButtonItem BtnPropEdit; |
| | |
| | | { |
| | | InitializeComponent(); |
| | | this.PageTitle.Caption = "å类管ç"; |
| | | this.treeList1.InitialMultiColSettings(); |
| | | this.PageTitle.HeaderSvgImage = this.svgImage32[0]; |
| | | this.PageTitle.SvgImageSize = new Size(24, 24); |
| | | this.typeTreeListCtrl2.FocusedChangedEvent += TypeTreeListCtrl2_FocusedChangedEvent; |
| | |
| | | _allBindingList.Add(new SysCatalogViewModel(item)); |
| | | } |
| | | _allBindingList = _allBindingList.OrderBy(x => x.SortCode).ToList(); |
| | | this.catlogViewModelBindingSource.DataSource = _allBindingList; |
| | | this.catlogViewModelBindingSource.ResetBindings(false); |
| | | this.catalogViewModelBindingSource.DataSource = _allBindingList; |
| | | this.catalogViewModelBindingSource.ResetBindings(false); |
| | | } |
| | | |
| | | //æ·»å |
| | |
| | | { |
| | | var model = await _bll.GetByID(id); |
| | | _allBindingList.Add(new SysCatalogViewModel(model)); |
| | | this.catlogViewModelBindingSource.ResetBindings(false); |
| | | this.catalogViewModelBindingSource.ResetBindings(false); |
| | | return true; |
| | | } |
| | | return false; |
| | |
| | | { |
| | | var model = await _bll.GetByID(id); |
| | | _allBindingList.Add(new SysCatalogViewModel(model)); |
| | | this.catlogViewModelBindingSource.ResetBindings(false); |
| | | this.catalogViewModelBindingSource.ResetBindings(false); |
| | | return true; |
| | | } |
| | | return false; |
| | |
| | | //ç¼è¾ |
| | | private void barBtnEditPumpCurve_ItemClick(object sender, DevExpress.XtraBars.ItemClickEventArgs e) |
| | | { |
| | | var dlg = new EditSysCatlaogDlg(); |
| | | var dlg = new EditSysCatalogDlg(); |
| | | var vm = this.treeList1.GetCurrentViewModel(_allBindingList); |
| | | if (vm == null) |
| | | { |
| | |
| | | if (await _bll.Update(rhs)) |
| | | { |
| | | vm.Reset(rhs); |
| | | this.catlogViewModelBindingSource.ResetBindings(false); |
| | | this.catalogViewModelBindingSource.ResetBindings(false); |
| | | return true; |
| | | } |
| | | return false; |
| | |
| | | if (result) |
| | | { |
| | | _allBindingList.Remove(currentVm); |
| | | this.catlogViewModelBindingSource.ResetBindings(false); |
| | | this.catalogViewModelBindingSource.ResetBindings(false); |
| | | MessageBoxHelper.ShowSuccess($"å 餿å!"); |
| | | } |
| | | else |
| | |
| | | <metadata name="dockManager1.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a"> |
| | | <value>17, 17</value> |
| | | </metadata> |
| | | <metadata name="catlogViewModelBindingSource.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a"> |
| | | <metadata name="catalogViewModelBindingSource.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a"> |
| | | <value>161, 17</value> |
| | | </metadata> |
| | | <metadata name="svgImage32.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a"> |
| | |
| | | // |
| | | // dockManager1 |
| | | // |
| | | dockManager1.DockingOptions.ShowAutoHideButton = false; |
| | | dockManager1.DockingOptions.ShowCloseButton = false; |
| | | 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" }); |
| | |
| | | <Compile Update="00-SysTypeManage\SysTypeManageMainPanel.cs" /> |
| | | <Compile Update="01-SysCatalogManage\AddSysCatalogDlg.cs" /> |
| | | <Compile Update="01-SysCatalogManage\SysCatalogManageMainPanel.cs" /> |
| | | <Compile Update="01-SysCatalogManage\EditSysCatlaogDlg.cs" /> |
| | | <Compile Update="01-SysCatalogManage\EditSysCatalogDlg.cs" /> |
| | | <Compile Update="01-SysCatalogManage\SetSysPropForCatalogDlg.cs" /> |
| | | <Compile Update="01-SysCatalogManage\SysTypeListBoxCtrl.cs" /> |
| | | <Compile Update="02-SysPropManage\AddSysPropDlg.cs" /> |
| | |
| | | <Compile Update="01-SysCatalogManage\AddSysCatalogDlg.cs"> |
| | | <SubType>Form</SubType> |
| | | </Compile> |
| | | <Compile Update="01-SysCatalogManage\EditSysCatlaogDlg.cs"> |
| | | <Compile Update="01-SysCatalogManage\EditSysCatalogDlg.cs"> |
| | | <SubType>Form</SubType> |
| | | </Compile> |
| | | <Compile Update="01-SysCatalogManage\SetSysPropForCatalogDlg.cs"> |
| | |
| | | homeXhsProjectTreeListCtrl1.TabIndex = 0; |
| | | homeXhsProjectTreeListCtrl1.SelectProjectEvent += homeXhsProjectTreeListCtrl1_SelectProjectEvent; |
| | | homeXhsProjectTreeListCtrl1.RefreshDataEvent += homeXhsProjectTreeListCtrl1_RefreshDataEvent; |
| | | homeXhsProjectTreeListCtrl1.ImportProjectCompletedEvent += homeXhsProjectTreeListCtrl1_ImportProjectCompletedEvent; |
| | | homeXhsProjectTreeListCtrl1.JumpDirectEvent += homeXhsProjectPropertyCtrl1_JumpDirectEvent; |
| | | homeXhsProjectTreeListCtrl1.ImportProjectCompletedEvent += homeXhsProjectTreeListCtrl1_ImportProjectCompletedEvent; |
| | | // |
| | | // svgImg32 |
| | | // |
| | |
| | | // |
| | | // dockManager1 |
| | | // |
| | | dockManager1.DockingOptions.ShowAutoHideButton = false; |
| | | dockManager1.Form = sidePanelBottom; |
| | | dockManager1.RootPanels.AddRange(new DevExpress.XtraBars.Docking.DockPanel[] { dockPanelLeft, dockPanelRight, dockPanelFill }); |
| | | dockManager1.Style = DevExpress.XtraBars.Docking2010.Views.DockingViewStyle.Light; |
| | |
| | | private void InitializeComponent() |
| | | { |
| | | components = new Container(); |
| | | DevExpress.XtraEditors.Controls.EditorButtonImageOptions editorButtonImageOptions1 = new DevExpress.XtraEditors.Controls.EditorButtonImageOptions(); |
| | | ComponentResourceManager resources = new ComponentResourceManager(typeof(InputXhsProjectInfoWizardPage)); |
| | | DevExpress.Utils.SerializableAppearanceObject serializableAppearanceObject1 = new DevExpress.Utils.SerializableAppearanceObject(); |
| | | DevExpress.Utils.SerializableAppearanceObject serializableAppearanceObject2 = new DevExpress.Utils.SerializableAppearanceObject(); |
| | | DevExpress.Utils.SerializableAppearanceObject serializableAppearanceObject3 = new DevExpress.Utils.SerializableAppearanceObject(); |
| | | DevExpress.Utils.SerializableAppearanceObject serializableAppearanceObject4 = new DevExpress.Utils.SerializableAppearanceObject(); |
| | | layoutControl1 = new DevExpress.XtraLayout.LayoutControl(); |
| | | setFlagsEditCtrl1 = new SetFlagsEditCtrl(); |
| | | txtDescription = new DevExpress.XtraEditors.MemoEdit(); |
| | |
| | | // |
| | | // txtDescription |
| | | // |
| | | txtDescription.Location = new Point(113, 84); |
| | | txtDescription.Location = new Point(113, 87); |
| | | txtDescription.Name = "txtDescription"; |
| | | txtDescription.Size = new Size(734, 368); |
| | | txtDescription.Size = new Size(734, 365); |
| | | txtDescription.StyleController = layoutControl1; |
| | | txtDescription.TabIndex = 7; |
| | | // |
| | |
| | | btnEditSelectModelFile.EditValue = ""; |
| | | btnEditSelectModelFile.Location = new Point(113, 60); |
| | | btnEditSelectModelFile.Name = "btnEditSelectModelFile"; |
| | | btnEditSelectModelFile.Properties.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] { new DevExpress.XtraEditors.Controls.EditorButton() }); |
| | | editorButtonImageOptions1.SvgImage = (DevExpress.Utils.Svg.SvgImage)resources.GetObject("editorButtonImageOptions1.SvgImage"); |
| | | editorButtonImageOptions1.SvgImageSize = new Size(15, 15); |
| | | btnEditSelectModelFile.Properties.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] { new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Glyph, "", -1, true, true, false, editorButtonImageOptions1, new DevExpress.Utils.KeyShortcut(Keys.None), serializableAppearanceObject1, serializableAppearanceObject2, serializableAppearanceObject3, serializableAppearanceObject4, "", null, null, DevExpress.Utils.ToolTipAnchor.Default) }); |
| | | btnEditSelectModelFile.Properties.TextEditStyle = DevExpress.XtraEditors.Controls.TextEditStyles.DisableTextEditor; |
| | | btnEditSelectModelFile.Size = new Size(734, 20); |
| | | btnEditSelectModelFile.Size = new Size(734, 23); |
| | | btnEditSelectModelFile.StyleController = layoutControl1; |
| | | btnEditSelectModelFile.TabIndex = 6; |
| | | btnEditSelectModelFile.ButtonClick += btnEditSelectModelFile_ButtonClick; |
| | |
| | | // layoutControlItem7 |
| | | // |
| | | layoutControlItem7.Control = txtDescription; |
| | | layoutControlItem7.Location = new Point(0, 72); |
| | | layoutControlItem7.Location = new Point(0, 75); |
| | | layoutControlItem7.Name = "layoutControlItem7"; |
| | | layoutControlItem7.Size = new Size(839, 372); |
| | | layoutControlItem7.Size = new Size(839, 369); |
| | | layoutControlItem7.Text = "说æ"; |
| | | layoutControlItem7.TextSize = new Size(89, 14); |
| | | // |
| | |
| | | layoutControlItem8.Control = btnEditSelectModelFile; |
| | | layoutControlItem8.Location = new Point(0, 48); |
| | | layoutControlItem8.Name = "layoutControlItem8"; |
| | | layoutControlItem8.Size = new Size(839, 24); |
| | | layoutControlItem8.Size = new Size(839, 27); |
| | | layoutControlItem8.Text = "éæ©æ¨¡åæä»¶:"; |
| | | layoutControlItem8.TextSize = new Size(89, 17); |
| | | // |
| | |
| | | <resheader name="writer"> |
| | | <value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value> |
| | | </resheader> |
| | | <assembly alias="DevExpress.Data.v23.2" name="DevExpress.Data.v23.2, Culture=neutral, PublicKeyToken=b88d1754d700e49a" /> |
| | | <data name="editorButtonImageOptions1.SvgImage" type="DevExpress.Utils.Svg.SvgImage, DevExpress.Data.v23.2" mimetype="application/x-microsoft.net.object.bytearray.base64"> |
| | | <value> |
| | | AAEAAAD/////AQAAAAAAAAAMAgAAAFlEZXZFeHByZXNzLkRhdGEudjIzLjIsIFZlcnNpb249MjMuMi40 |
| | | LjAsIEN1bHR1cmU9bmV1dHJhbCwgUHVibGljS2V5VG9rZW49Yjg4ZDE3NTRkNzAwZTQ5YQUBAAAAHURl |
| | | dkV4cHJlc3MuVXRpbHMuU3ZnLlN2Z0ltYWdlAQAAAAREYXRhBwICAAAACQMAAAAPAwAAAAMDAAAC77u/ |
| | | PD94bWwgdmVyc2lvbj0nMS4wJyBlbmNvZGluZz0nVVRGLTgnPz4NCjxzdmcgeD0iMHB4IiB5PSIwcHgi |
| | | IHZpZXdCb3g9IjAgMCAzMiAzMiIgdmVyc2lvbj0iMS4xIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcv |
| | | MjAwMC9zdmciIHhtbG5zOnhsaW5rPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5L3hsaW5rIiB4bWw6c3Bh |
| | | Y2U9InByZXNlcnZlIiBpZD0iT3BlbjIiIHN0eWxlPSJlbmFibGUtYmFja2dyb3VuZDpuZXcgMCAwIDMy |
| | | IDMyIj4NCiAgPHN0eWxlIHR5cGU9InRleHQvY3NzIj4KCS5HcmVlbntmaWxsOiMwMzlDMjM7fQoJLlll |
| | | bGxvd3tmaWxsOiNGRkIxMTU7fQoJLnN0MHtvcGFjaXR5OjAuNzU7fQo8L3N0eWxlPg0KICA8ZyBjbGFz |
| | | cz0ic3QwIj4NCiAgICA8cGF0aCBkPSJNMTkuMiwxMEgxMlY3YzAtMC42LTAuNC0xLTEtMUgzQzIuNCw2 |
| | | LDIsNi41LDIsN3YxOGMwLDAuMiwwLDAuMywwLjEsMC40YzAsMCwwLjEtMC4xLDAuMS0wLjJsNS41LTEw |
| | | ICAgQzgsMTQuNSw4LjcsMTQsOS41LDE0aDEzLjdMMTkuMiwxMHoiIGNsYXNzPSJZZWxsb3ciIC8+DQog |
| | | IDwvZz4NCiAgPHBhdGggZD0iTTI5LjMsMTZIOS42TDQsMjZoMTkuOGMwLjUsMCwxLjEtMC4yLDEuMy0w |
| | | LjZsNC45LTguOUMzMC4xLDE2LjIsMjkuOCwxNiwyOS4zLDE2eiIgY2xhc3M9IlllbGxvdyIgLz4NCiAg |
| | | PHBhdGggZD0iTTI4LDhjMC0zLjMtMi43LTYtNi02cy02LDIuNy02LDZjMC0yLjIsMS44LTQsNC00czQs |
| | | MS44LDQsNGgtNGw2LDZsNi02SDI4eiIgY2xhc3M9IkdyZWVuIiAvPg0KPC9zdmc+Cw== |
| | | </value> |
| | | </data> |
| | | <metadata name="dxErrorProvider1.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a"> |
| | | <value>17, 17</value> |
| | | </metadata> |
| | |
| | | private void InitializeComponent() |
| | | { |
| | | components = new Container(); |
| | | DevExpress.XtraEditors.Controls.EditorButtonImageOptions editorButtonImageOptions1 = new DevExpress.XtraEditors.Controls.EditorButtonImageOptions(); |
| | | ComponentResourceManager resources = new ComponentResourceManager(typeof(SelectXhsProjectModelFileWizardPage)); |
| | | DevExpress.Utils.SerializableAppearanceObject serializableAppearanceObject1 = new DevExpress.Utils.SerializableAppearanceObject(); |
| | | DevExpress.Utils.SerializableAppearanceObject serializableAppearanceObject2 = new DevExpress.Utils.SerializableAppearanceObject(); |
| | | DevExpress.Utils.SerializableAppearanceObject serializableAppearanceObject3 = new DevExpress.Utils.SerializableAppearanceObject(); |
| | | DevExpress.Utils.SerializableAppearanceObject serializableAppearanceObject4 = new DevExpress.Utils.SerializableAppearanceObject(); |
| | | btnEditSelectModelFile = new DevExpress.XtraEditors.ButtonEdit(); |
| | | layoutControl1 = new DevExpress.XtraLayout.LayoutControl(); |
| | | Root = new DevExpress.XtraLayout.LayoutControlGroup(); |
| | | simpleLabelItem1 = new DevExpress.XtraLayout.SimpleLabelItem(); |
| | | layoutControlItem1 = new DevExpress.XtraLayout.LayoutControlItem(); |
| | | dxErrorProvider1 = new DevExpress.XtraEditors.DXErrorProvider.DXErrorProvider(components); |
| | | emptySpaceItem1 = new DevExpress.XtraLayout.EmptySpaceItem(); |
| | | emptySpaceItem2 = new DevExpress.XtraLayout.EmptySpaceItem(); |
| | | simpleLabelItem1 = new DevExpress.XtraLayout.SimpleLabelItem(); |
| | | emptySpaceItem3 = new DevExpress.XtraLayout.EmptySpaceItem(); |
| | | layoutControlItem1 = new DevExpress.XtraLayout.LayoutControlItem(); |
| | | emptySpaceItem2 = new DevExpress.XtraLayout.EmptySpaceItem(); |
| | | dxErrorProvider1 = new DevExpress.XtraEditors.DXErrorProvider.DXErrorProvider(components); |
| | | ((ISupportInitialize)btnEditSelectModelFile.Properties).BeginInit(); |
| | | ((ISupportInitialize)layoutControl1).BeginInit(); |
| | | layoutControl1.SuspendLayout(); |
| | | ((ISupportInitialize)Root).BeginInit(); |
| | | ((ISupportInitialize)simpleLabelItem1).BeginInit(); |
| | | ((ISupportInitialize)layoutControlItem1).BeginInit(); |
| | | ((ISupportInitialize)dxErrorProvider1).BeginInit(); |
| | | ((ISupportInitialize)emptySpaceItem1).BeginInit(); |
| | | ((ISupportInitialize)emptySpaceItem2).BeginInit(); |
| | | ((ISupportInitialize)simpleLabelItem1).BeginInit(); |
| | | ((ISupportInitialize)emptySpaceItem3).BeginInit(); |
| | | ((ISupportInitialize)layoutControlItem1).BeginInit(); |
| | | ((ISupportInitialize)emptySpaceItem2).BeginInit(); |
| | | ((ISupportInitialize)dxErrorProvider1).BeginInit(); |
| | | SuspendLayout(); |
| | | // |
| | | // btnEditSelectModelFile |
| | |
| | | btnEditSelectModelFile.EditValue = ""; |
| | | btnEditSelectModelFile.Location = new Point(2, 197); |
| | | btnEditSelectModelFile.Name = "btnEditSelectModelFile"; |
| | | btnEditSelectModelFile.Properties.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] { new DevExpress.XtraEditors.Controls.EditorButton() }); |
| | | editorButtonImageOptions1.SvgImage = (DevExpress.Utils.Svg.SvgImage)resources.GetObject("editorButtonImageOptions1.SvgImage"); |
| | | editorButtonImageOptions1.SvgImageSize = new Size(18, 18); |
| | | btnEditSelectModelFile.Properties.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] { new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Glyph, "", -1, true, true, false, editorButtonImageOptions1, new DevExpress.Utils.KeyShortcut(Keys.None), serializableAppearanceObject1, serializableAppearanceObject2, serializableAppearanceObject3, serializableAppearanceObject4, "", null, null, DevExpress.Utils.ToolTipAnchor.Default) }); |
| | | btnEditSelectModelFile.Properties.TextEditStyle = DevExpress.XtraEditors.Controls.TextEditStyles.DisableTextEditor; |
| | | btnEditSelectModelFile.Size = new Size(834, 20); |
| | | btnEditSelectModelFile.Size = new Size(834, 26); |
| | | btnEditSelectModelFile.StyleController = layoutControl1; |
| | | btnEditSelectModelFile.TabIndex = 0; |
| | | btnEditSelectModelFile.ButtonClick += btnEditSelectModelFile_ButtonClick; |
| | |
| | | Root.Size = new Size(838, 425); |
| | | Root.TextVisible = false; |
| | | // |
| | | // emptySpaceItem1 |
| | | // |
| | | emptySpaceItem1.AllowHotTrack = false; |
| | | emptySpaceItem1.Location = new Point(0, 0); |
| | | emptySpaceItem1.Name = "emptySpaceItem1"; |
| | | emptySpaceItem1.Size = new Size(838, 160); |
| | | emptySpaceItem1.TextSize = new Size(0, 0); |
| | | // |
| | | // simpleLabelItem1 |
| | | // |
| | | simpleLabelItem1.AllowHotTrack = false; |
| | |
| | | simpleLabelItem1.Text = "éæ©æä»¶:"; |
| | | simpleLabelItem1.TextSize = new Size(113, 31); |
| | | // |
| | | // emptySpaceItem3 |
| | | // |
| | | emptySpaceItem3.AllowHotTrack = false; |
| | | emptySpaceItem3.Location = new Point(0, 235); |
| | | emptySpaceItem3.Name = "emptySpaceItem3"; |
| | | emptySpaceItem3.Size = new Size(838, 190); |
| | | emptySpaceItem3.TextSize = new Size(0, 0); |
| | | // |
| | | // layoutControlItem1 |
| | | // |
| | | layoutControlItem1.Control = btnEditSelectModelFile; |
| | | layoutControlItem1.Location = new Point(0, 195); |
| | | layoutControlItem1.Name = "layoutControlItem1"; |
| | | layoutControlItem1.Size = new Size(838, 24); |
| | | layoutControlItem1.Size = new Size(838, 30); |
| | | layoutControlItem1.Text = "éæ©æä»¶:"; |
| | | layoutControlItem1.TextSize = new Size(0, 0); |
| | | layoutControlItem1.TextVisible = false; |
| | | // |
| | | // dxErrorProvider1 |
| | | // |
| | | dxErrorProvider1.ContainerControl = this; |
| | | // |
| | | // emptySpaceItem1 |
| | | // |
| | | emptySpaceItem1.AllowHotTrack = false; |
| | | emptySpaceItem1.Location = new Point(0, 0); |
| | | emptySpaceItem1.Name = "emptySpaceItem1"; |
| | | emptySpaceItem1.Size = new Size(838, 160); |
| | | emptySpaceItem1.TextSize = new Size(0, 0); |
| | | // |
| | | // emptySpaceItem2 |
| | | // |
| | | emptySpaceItem2.AllowHotTrack = false; |
| | | emptySpaceItem2.Location = new Point(0, 219); |
| | | emptySpaceItem2.Location = new Point(0, 225); |
| | | emptySpaceItem2.Name = "emptySpaceItem2"; |
| | | emptySpaceItem2.Size = new Size(838, 10); |
| | | emptySpaceItem2.TextSize = new Size(0, 0); |
| | | // |
| | | // emptySpaceItem3 |
| | | // dxErrorProvider1 |
| | | // |
| | | emptySpaceItem3.AllowHotTrack = false; |
| | | emptySpaceItem3.Location = new Point(0, 229); |
| | | emptySpaceItem3.Name = "emptySpaceItem3"; |
| | | emptySpaceItem3.Size = new Size(838, 196); |
| | | emptySpaceItem3.TextSize = new Size(0, 0); |
| | | dxErrorProvider1.ContainerControl = this; |
| | | // |
| | | // SelectXhsProjectModelFileWizardPage |
| | | // |
| | |
| | | ((ISupportInitialize)layoutControl1).EndInit(); |
| | | layoutControl1.ResumeLayout(false); |
| | | ((ISupportInitialize)Root).EndInit(); |
| | | ((ISupportInitialize)simpleLabelItem1).EndInit(); |
| | | ((ISupportInitialize)layoutControlItem1).EndInit(); |
| | | ((ISupportInitialize)dxErrorProvider1).EndInit(); |
| | | ((ISupportInitialize)emptySpaceItem1).EndInit(); |
| | | ((ISupportInitialize)emptySpaceItem2).EndInit(); |
| | | ((ISupportInitialize)simpleLabelItem1).EndInit(); |
| | | ((ISupportInitialize)emptySpaceItem3).EndInit(); |
| | | ((ISupportInitialize)layoutControlItem1).EndInit(); |
| | | ((ISupportInitialize)emptySpaceItem2).EndInit(); |
| | | ((ISupportInitialize)dxErrorProvider1).EndInit(); |
| | | ResumeLayout(false); |
| | | } |
| | | |
| | |
| | | <resheader name="writer"> |
| | | <value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value> |
| | | </resheader> |
| | | <assembly alias="DevExpress.Data.v23.2" name="DevExpress.Data.v23.2, Culture=neutral, PublicKeyToken=b88d1754d700e49a" /> |
| | | <data name="editorButtonImageOptions1.SvgImage" type="DevExpress.Utils.Svg.SvgImage, DevExpress.Data.v23.2" mimetype="application/x-microsoft.net.object.bytearray.base64"> |
| | | <value> |
| | | AAEAAAD/////AQAAAAAAAAAMAgAAAFlEZXZFeHByZXNzLkRhdGEudjIzLjIsIFZlcnNpb249MjMuMi40 |
| | | LjAsIEN1bHR1cmU9bmV1dHJhbCwgUHVibGljS2V5VG9rZW49Yjg4ZDE3NTRkNzAwZTQ5YQUBAAAAHURl |
| | | dkV4cHJlc3MuVXRpbHMuU3ZnLlN2Z0ltYWdlAQAAAAREYXRhBwICAAAACQMAAAAPAwAAAAMDAAAC77u/ |
| | | PD94bWwgdmVyc2lvbj0nMS4wJyBlbmNvZGluZz0nVVRGLTgnPz4NCjxzdmcgeD0iMHB4IiB5PSIwcHgi |
| | | IHZpZXdCb3g9IjAgMCAzMiAzMiIgdmVyc2lvbj0iMS4xIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcv |
| | | MjAwMC9zdmciIHhtbG5zOnhsaW5rPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5L3hsaW5rIiB4bWw6c3Bh |
| | | Y2U9InByZXNlcnZlIiBpZD0iT3BlbjIiIHN0eWxlPSJlbmFibGUtYmFja2dyb3VuZDpuZXcgMCAwIDMy |
| | | IDMyIj4NCiAgPHN0eWxlIHR5cGU9InRleHQvY3NzIj4KCS5HcmVlbntmaWxsOiMwMzlDMjM7fQoJLlll |
| | | bGxvd3tmaWxsOiNGRkIxMTU7fQoJLnN0MHtvcGFjaXR5OjAuNzU7fQo8L3N0eWxlPg0KICA8ZyBjbGFz |
| | | cz0ic3QwIj4NCiAgICA8cGF0aCBkPSJNMTkuMiwxMEgxMlY3YzAtMC42LTAuNC0xLTEtMUgzQzIuNCw2 |
| | | LDIsNi41LDIsN3YxOGMwLDAuMiwwLDAuMywwLjEsMC40YzAsMCwwLjEtMC4xLDAuMS0wLjJsNS41LTEw |
| | | ICAgQzgsMTQuNSw4LjcsMTQsOS41LDE0aDEzLjdMMTkuMiwxMHoiIGNsYXNzPSJZZWxsb3ciIC8+DQog |
| | | IDwvZz4NCiAgPHBhdGggZD0iTTI5LjMsMTZIOS42TDQsMjZoMTkuOGMwLjUsMCwxLjEtMC4yLDEuMy0w |
| | | LjZsNC45LTguOUMzMC4xLDE2LjIsMjkuOCwxNiwyOS4zLDE2eiIgY2xhc3M9IlllbGxvdyIgLz4NCiAg |
| | | PHBhdGggZD0iTTI4LDhjMC0zLjMtMi43LTYtNi02cy02LDIuNy02LDZjMC0yLjIsMS44LTQsNC00czQs |
| | | MS44LDQsNGgtNGw2LDZsNi02SDI4eiIgY2xhc3M9IkdyZWVuIiAvPg0KPC9zdmc+Cw== |
| | | </value> |
| | | </data> |
| | | <metadata name="dxErrorProvider1.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a"> |
| | | <value>17, 17</value> |
| | | </metadata> |
| | |
| | | { |
| | | ComponentResourceManager resources = new ComponentResourceManager(typeof(PumpMainChoicePage)); |
| | | layoutControl1 = new DevExpress.XtraLayout.LayoutControl(); |
| | | popupContainerControl2 = new DevExpress.XtraEditors.PopupContainerControl(); |
| | | gridControl1 = new DevExpress.XtraGrid.GridControl(); |
| | | gridView1 = new DevExpress.XtraGrid.Views.Grid.GridView(); |
| | | popupContainerControl1 = new DevExpress.XtraEditors.PopupContainerControl(); |
| | | treeList1 = new DevExpress.XtraTreeList.TreeList(); |
| | | treeListColumn1 = new DevExpress.XtraTreeList.Columns.TreeListColumn(); |
| | |
| | | simpleLabelItem6 = new DevExpress.XtraLayout.SimpleLabelItem(); |
| | | simpleLabelItem7 = new DevExpress.XtraLayout.SimpleLabelItem(); |
| | | simpleLabelItem8 = new DevExpress.XtraLayout.SimpleLabelItem(); |
| | | popupContainerControl2 = new DevExpress.XtraEditors.PopupContainerControl(); |
| | | gridControl1 = new DevExpress.XtraGrid.GridControl(); |
| | | gridView1 = new DevExpress.XtraGrid.Views.Grid.GridView(); |
| | | colName = new DevExpress.XtraGrid.Columns.GridColumn(); |
| | | colTagName = new DevExpress.XtraGrid.Columns.GridColumn(); |
| | | colDescription = new DevExpress.XtraGrid.Columns.GridColumn(); |
| | | colRatedFlow = new DevExpress.XtraGrid.Columns.GridColumn(); |
| | | colRatedHead = new DevExpress.XtraGrid.Columns.GridColumn(); |
| | | colD2 = new DevExpress.XtraGrid.Columns.GridColumn(); |
| | | colErosion = new DevExpress.XtraGrid.Columns.GridColumn(); |
| | | colRatedEfficiency = new DevExpress.XtraGrid.Columns.GridColumn(); |
| | | colRatedPower = new DevExpress.XtraGrid.Columns.GridColumn(); |
| | | colRatedSpeed = new DevExpress.XtraGrid.Columns.GridColumn(); |
| | | ((ISupportInitialize)layoutControl1).BeginInit(); |
| | | layoutControl1.SuspendLayout(); |
| | | ((ISupportInitialize)popupContainerControl2).BeginInit(); |
| | | popupContainerControl2.SuspendLayout(); |
| | | ((ISupportInitialize)gridControl1).BeginInit(); |
| | | ((ISupportInitialize)gridView1).BeginInit(); |
| | | ((ISupportInitialize)popupContainerControl1).BeginInit(); |
| | | popupContainerControl1.SuspendLayout(); |
| | | ((ISupportInitialize)treeList1).BeginInit(); |
| | |
| | | ((ISupportInitialize)simpleLabelItem6).BeginInit(); |
| | | ((ISupportInitialize)simpleLabelItem7).BeginInit(); |
| | | ((ISupportInitialize)simpleLabelItem8).BeginInit(); |
| | | ((ISupportInitialize)popupContainerControl2).BeginInit(); |
| | | popupContainerControl2.SuspendLayout(); |
| | | ((ISupportInitialize)gridControl1).BeginInit(); |
| | | ((ISupportInitialize)gridView1).BeginInit(); |
| | | SuspendLayout(); |
| | | // |
| | | // layoutControl1 |
| | |
| | | layoutControl1.Size = new Size(960, 535); |
| | | layoutControl1.TabIndex = 0; |
| | | layoutControl1.Text = "layoutControl1"; |
| | | // |
| | | // popupContainerControl2 |
| | | // |
| | | popupContainerControl2.Controls.Add(gridControl1); |
| | | popupContainerControl2.Location = new Point(383, 169); |
| | | popupContainerControl2.Name = "popupContainerControl2"; |
| | | popupContainerControl2.Size = new Size(521, 304); |
| | | popupContainerControl2.TabIndex = 6; |
| | | // |
| | | // gridControl1 |
| | | // |
| | | gridControl1.Dock = DockStyle.Fill; |
| | | gridControl1.Location = new Point(0, 0); |
| | | gridControl1.MainView = gridView1; |
| | | gridControl1.Name = "gridControl1"; |
| | | gridControl1.Size = new Size(521, 304); |
| | | gridControl1.TabIndex = 0; |
| | | gridControl1.ViewCollection.AddRange(new DevExpress.XtraGrid.Views.Base.BaseView[] { gridView1 }); |
| | | // |
| | | // gridView1 |
| | | // |
| | | gridView1.Columns.AddRange(new DevExpress.XtraGrid.Columns.GridColumn[] { colName, colTagName, colDescription, colRatedFlow, colRatedHead, colD2, colErosion, colRatedEfficiency, colRatedPower, colRatedSpeed }); |
| | | gridView1.GridControl = gridControl1; |
| | | gridView1.Name = "gridView1"; |
| | | gridView1.OptionsView.ShowGroupPanel = false; |
| | | // |
| | | // popupContainerControl1 |
| | | // |
| | |
| | | // simpleLabelItemVagueSearch |
| | | // |
| | | simpleLabelItemVagueSearch.AllowHotTrack = false; |
| | | simpleLabelItemVagueSearch.ImageOptions.SvgImage = (DevExpress.Utils.Svg.SvgImage)resources.GetObject("simpleLabelItem10.ImageOptions.SvgImage"); |
| | | simpleLabelItemVagueSearch.ImageOptions.SvgImage = (DevExpress.Utils.Svg.SvgImage)resources.GetObject("simpleLabelItemVagueSearch.ImageOptions.SvgImage"); |
| | | simpleLabelItemVagueSearch.ImageOptions.SvgImageSize = new Size(20, 20); |
| | | simpleLabelItemVagueSearch.Location = new Point(380, 0); |
| | | simpleLabelItemVagueSearch.Name = "simpleLabelItemVagueSearch"; |
| | |
| | | simpleLabelItemVagueSearch.Text = " "; |
| | | simpleLabelItemVagueSearch.TextAlignMode = DevExpress.XtraLayout.TextAlignModeItem.AutoSize; |
| | | simpleLabelItemVagueSearch.TextSize = new Size(29, 20); |
| | | simpleLabelItemVagueSearch.Click += this.simpleLabelItemVagueSearch_Click; |
| | | simpleLabelItemVagueSearch.Click += simpleLabelItemVagueSearch_Click; |
| | | // |
| | | // layoutControlItem1 |
| | | // |
| | |
| | | simpleLabelItem8.Size = new Size(0, 0); |
| | | simpleLabelItem8.TextSize = new Size(50, 20); |
| | | // |
| | | // popupContainerControl2 |
| | | // colName |
| | | // |
| | | popupContainerControl2.Controls.Add(gridControl1); |
| | | popupContainerControl2.Location = new Point(383, 169); |
| | | popupContainerControl2.Name = "popupContainerControl2"; |
| | | popupContainerControl2.Size = new Size(521, 304); |
| | | popupContainerControl2.TabIndex = 6; |
| | | colName.Caption = "åå·"; |
| | | colName.FieldName = "Name"; |
| | | colName.Name = "colName"; |
| | | colName.Visible = true; |
| | | colName.VisibleIndex = 0; |
| | | // |
| | | // gridControl1 |
| | | // colTagName |
| | | // |
| | | gridControl1.Dock = DockStyle.Fill; |
| | | gridControl1.Location = new Point(0, 0); |
| | | gridControl1.MainView = gridView1; |
| | | gridControl1.Name = "gridControl1"; |
| | | gridControl1.Size = new Size(521, 304); |
| | | gridControl1.TabIndex = 0; |
| | | gridControl1.ViewCollection.AddRange(new DevExpress.XtraGrid.Views.Base.BaseView[] { gridView1 }); |
| | | colTagName.Caption = "æ ç¾"; |
| | | colTagName.FieldName = "TagName"; |
| | | colTagName.Name = "colTagName"; |
| | | colTagName.Visible = true; |
| | | colTagName.VisibleIndex = 1; |
| | | // |
| | | // gridView1 |
| | | // colDescription |
| | | // |
| | | gridView1.GridControl = gridControl1; |
| | | gridView1.Name = "gridView1"; |
| | | gridView1.OptionsView.ShowGroupPanel = false; |
| | | colDescription.Caption = "说æ"; |
| | | colDescription.FieldName = "Description"; |
| | | colDescription.Name = "colDescription"; |
| | | colDescription.Visible = true; |
| | | colDescription.VisibleIndex = 2; |
| | | // |
| | | // colRatedFlow |
| | | // |
| | | colRatedFlow.Caption = "é¢å®æµé(m³/h)"; |
| | | colRatedFlow.FieldName = "RatedFlow"; |
| | | colRatedFlow.Name = "colRatedFlow"; |
| | | colRatedFlow.Visible = true; |
| | | colRatedFlow.VisibleIndex = 3; |
| | | // |
| | | // colRatedHead |
| | | // |
| | | colRatedHead.Caption = "é¢å®æ¬ç¨(m)"; |
| | | colRatedHead.FieldName = "RatedHead"; |
| | | colRatedHead.Name = "colRatedHead"; |
| | | colRatedHead.Visible = true; |
| | | colRatedHead.VisibleIndex = 4; |
| | | // |
| | | // colD2 |
| | | // |
| | | colD2.Caption = "å¶è½®å¤å¾(mm)"; |
| | | colD2.FieldName = "D2"; |
| | | colD2.Name = "colD2"; |
| | | colD2.Visible = true; |
| | | colD2.VisibleIndex = 5; |
| | | // |
| | | // colErosion |
| | | // |
| | | colErosion.Caption = "æ°è"; |
| | | colErosion.FieldName = "Erosion"; |
| | | colErosion.Name = "colErosion"; |
| | | colErosion.Visible = true; |
| | | colErosion.VisibleIndex = 6; |
| | | // |
| | | // colRatedEfficiency |
| | | // |
| | | colRatedEfficiency.Caption = "é¢å®æç"; |
| | | colRatedEfficiency.FieldName = "RatedEfficiency"; |
| | | colRatedEfficiency.Name = "colRatedEfficiency"; |
| | | colRatedEfficiency.Visible = true; |
| | | colRatedEfficiency.VisibleIndex = 7; |
| | | // |
| | | // colRatedPower |
| | | // |
| | | colRatedPower.Caption = "é¢å®åç"; |
| | | colRatedPower.FieldName = "RatedPower"; |
| | | colRatedPower.Name = "colRatedPower"; |
| | | colRatedPower.Visible = true; |
| | | colRatedPower.VisibleIndex = 8; |
| | | // |
| | | // colRatedSpeed |
| | | // |
| | | colRatedSpeed.Caption = "é¢å®è½¬é"; |
| | | colRatedSpeed.FieldName = "RatedSpeed"; |
| | | colRatedSpeed.Name = "colRatedSpeed"; |
| | | colRatedSpeed.Visible = true; |
| | | colRatedSpeed.VisibleIndex = 9; |
| | | // |
| | | // PumpMainChoicePage |
| | | // |
| | |
| | | Size = new Size(960, 535); |
| | | ((ISupportInitialize)layoutControl1).EndInit(); |
| | | layoutControl1.ResumeLayout(false); |
| | | ((ISupportInitialize)popupContainerControl2).EndInit(); |
| | | popupContainerControl2.ResumeLayout(false); |
| | | ((ISupportInitialize)gridControl1).EndInit(); |
| | | ((ISupportInitialize)gridView1).EndInit(); |
| | | ((ISupportInitialize)popupContainerControl1).EndInit(); |
| | | popupContainerControl1.ResumeLayout(false); |
| | | ((ISupportInitialize)treeList1).EndInit(); |
| | |
| | | ((ISupportInitialize)simpleLabelItem6).EndInit(); |
| | | ((ISupportInitialize)simpleLabelItem7).EndInit(); |
| | | ((ISupportInitialize)simpleLabelItem8).EndInit(); |
| | | ((ISupportInitialize)popupContainerControl2).EndInit(); |
| | | popupContainerControl2.ResumeLayout(false); |
| | | ((ISupportInitialize)gridControl1).EndInit(); |
| | | ((ISupportInitialize)gridView1).EndInit(); |
| | | ResumeLayout(false); |
| | | } |
| | | |
| | | |
| | | |
| | | #endregion |
| | | |
| | |
| | | private DevExpress.XtraEditors.PopupContainerControl popupContainerControl2; |
| | | private DevExpress.XtraGrid.GridControl gridControl1; |
| | | private DevExpress.XtraGrid.Views.Grid.GridView gridView1; |
| | | private DevExpress.XtraGrid.Columns.GridColumn colName; |
| | | private DevExpress.XtraGrid.Columns.GridColumn colTagName; |
| | | private DevExpress.XtraGrid.Columns.GridColumn colDescription; |
| | | private DevExpress.XtraGrid.Columns.GridColumn colRatedFlow; |
| | | private DevExpress.XtraGrid.Columns.GridColumn colRatedHead; |
| | | private DevExpress.XtraGrid.Columns.GridColumn colD2; |
| | | private DevExpress.XtraGrid.Columns.GridColumn colErosion; |
| | | private DevExpress.XtraGrid.Columns.GridColumn colRatedEfficiency; |
| | | private DevExpress.XtraGrid.Columns.GridColumn colRatedPower; |
| | | private DevExpress.XtraGrid.Columns.GridColumn colRatedSpeed; |
| | | } |
| | | } |
| | |
| | | } |
| | | |
| | | //æ¨¡ç³æ¥è¯¢(è¡¨æ ¼æ¾ç¤º) |
| | | private void simpleLabelItemVagueSearch_Click(object sender, EventArgs e) |
| | | private async void simpleLabelItemVagueSearch_Click(object sender, EventArgs e) |
| | | { |
| | | if (TextPopupPumpChoice.EditValue == null) |
| | | { |
| | | return; |
| | | } |
| | | _allBindingList = new List<PumpMainChoieViewModel>(); |
| | | TextPopupPumpChoice.Properties.PopupControl = popupContainerControl2; |
| | | var allPumpMain = await _pumpBll.GetAll(); |
| | | foreach (var Main in allPumpMain) |
| | | { |
| | | if (Main.Name.Contains(TextPopupPumpChoice.Text)) |
| | | { |
| | | _allBindingList.Add(new PumpMainChoieViewModel(Main)); |
| | | } |
| | | } |
| | | this.gridControl1.DataSource = _allBindingList; |
| | | TextPopupPumpChoice.Size = new Size(500, 300); |
| | | TextPopupPumpChoice.ShowPopup(); |
| | | } |
| | | |
| | |
| | | Cjwvc3ZnPgs= |
| | | </value> |
| | | </data> |
| | | <data name="simpleLabelItem10.ImageOptions.SvgImage" type="DevExpress.Utils.Svg.SvgImage, DevExpress.Data.v23.2" mimetype="application/x-microsoft.net.object.bytearray.base64"> |
| | | <data name="simpleLabelItemVagueSearch.ImageOptions.SvgImage" type="DevExpress.Utils.Svg.SvgImage, DevExpress.Data.v23.2" mimetype="application/x-microsoft.net.object.bytearray.base64"> |
| | | <value> |
| | | AAEAAAD/////AQAAAAAAAAAMAgAAAFlEZXZFeHByZXNzLkRhdGEudjIzLjIsIFZlcnNpb249MjMuMi40 |
| | | LjAsIEN1bHR1cmU9bmV1dHJhbCwgUHVibGljS2V5VG9rZW49Yjg4ZDE3NTRkNzAwZTQ5YQUBAAAAHURl |
| | |
| | | this.IsPump = true; |
| | | } |
| | | |
| | | public PumpMainChoieViewModel(Vmo.PumpMain rhs ) |
| | | public PumpMainChoieViewModel(Vmo.PumpMain rhs) |
| | | { |
| | | this.ID = rhs.ID; |
| | | this.Name = rhs.Name; |
| | | this.ParentID = rhs.PumpSeriesID; |
| | | this.IsPump = true; |
| | | this.Erosion = rhs.Erosion; |
| | | this.RatedPower = rhs.RatedPower; |
| | | this.RatedFlow = rhs.RatedFlow; |
| | | this.RatedSpeed = rhs.RatedSpeed; |
| | | this.RatedEfficiency = rhs.RatedEfficiency; |
| | | this.D2 = rhs.D2; |
| | | this.Description = rhs.Description; |
| | | this.SortCode = rhs.SortCode; |
| | | } |
| | | |
| | | public long ID { get; set; } |
| | | public long ParentID { get; set; } |
| | | public string Name { get; set; } |
| | | public bool IsPump { get; set; } |
| | | |
| | | /// <summary> |
| | | /// 泵系åID |
| | | /// </summary> |
| | | public long PumpSeriesID { get; set; } |
| | | |
| | | /// <summary> |
| | | /// åæ° |
| | | /// </summary> |
| | | public Dictionary<string, string> Paras { get; set; } |
| | | |
| | | /// <summary> |
| | | /// æ ç¾ |
| | | /// </summary> |
| | | public List<string> Flags { get; set; } |
| | | |
| | | /// <summary> |
| | | /// æ å¿ |
| | | /// </summary> |
| | | public string TagName { get; set; } |
| | | |
| | | /// <summary> |
| | | /// æåºç |
| | | /// </summary> |
| | | public int SortCode { get; set; } |
| | | |
| | | /// <summary> |
| | | /// é¢å®è½¬é |
| | | /// </summary> |
| | | public double RatedSpeed { get; set; } |
| | | |
| | | /// <summary> |
| | | /// é¢å®æµé |
| | | /// </summary> |
| | | public double RatedFlow { get; set; } |
| | | |
| | | /// <summary> |
| | | /// é¢å®æ¬ç¨ |
| | | /// </summary> |
| | | public double RatedHead { get; set; } |
| | | |
| | | /// <summary> |
| | | /// é¢å®æç |
| | | /// </summary> |
| | | public double RatedEfficiency { get; set; } |
| | | |
| | | /// <summary> |
| | | /// é¢å®åç |
| | | /// </summary> |
| | | public double RatedPower { get; set; } |
| | | |
| | | /// <summary> |
| | | /// æ°è |
| | | /// </summary> |
| | | public double? Erosion { get; set; } |
| | | |
| | | /// <summary> |
| | | /// å¶è½®å¤å¾ |
| | | /// </summary> |
| | | public double? D2 { get; set; } |
| | | |
| | | /// <summary> |
| | | /// 说æ |
| | | /// </summary> |
| | | public string Description { get; set; } |
| | | } |
| | | } |
| | |
| | | using NPOI.HSSF.UserModel; |
| | | using System.IO; |
| | | |
| | | |
| | | //ç¼è¾åå§çæ§è½æ²çº¿ |
| | | namespace Yw.WinFrmUI.Phart |
| | | { |
| | |
| | | { |
| | | public ImportCurveByExcelCtrl() |
| | | { |
| | | InitializeComponent(); |
| | | |
| | | InitializeComponent(); |
| | | |
| | | this.gridView1.SetDefaultEditView(); |
| | | this.gridView1.BorderStyle = DevExpress.XtraEditors.Controls.BorderStyles.NoBorder; |
| | | |
| | | _allBindList = new List<CurrentViewModel>(); |
| | | this.bindingSource1.DataSource = _allBindList; |
| | | this.bindingSource1.DataSource = _allBindList; |
| | | } |
| | | |
| | | #region CurrentViewModel |
| | | |
| | | public class CurrentViewModel |
| | | { |
| | | public enum eSortType |
| | |
| | | P |
| | | } |
| | | |
| | | public CurrentViewModel() { } |
| | | public CurrentViewModel() |
| | | { } |
| | | |
| | | public CurrentViewModel(int id, double q, double h, double e, double p) |
| | | { |
| | | ID = id; |
| | |
| | | E = e; |
| | | P = p; |
| | | } |
| | | public CurrentViewModel(CurrentViewModel rhs) : this(rhs.ID, rhs.Q, rhs.H, rhs.E, rhs.P) { } |
| | | |
| | | public CurrentViewModel(CurrentViewModel rhs) : this(rhs.ID, rhs.Q, rhs.H, rhs.E, rhs.P) |
| | | { |
| | | } |
| | | |
| | | public int ID { get; set; } |
| | | public double Q { get; set; } |
| | |
| | | P = Math.Round(P, decimals); |
| | | return this; |
| | | } |
| | | |
| | | public CurrentViewModel RoundAll_Small(int decimal_places, double small = 2.0) |
| | | { |
| | | Q = Round_Small(Q, decimal_places, small); |
| | |
| | | P = Round_Small(P, decimal_places, small); |
| | | return this; |
| | | } |
| | | |
| | | private double Round_Small(double value, int num, double small = 2.0) |
| | | { |
| | | if (value < small) |
| | |
| | | return value; |
| | | } |
| | | } |
| | | #endregion |
| | | |
| | | private List<CurrentViewModel> _allBindList; |
| | | private Yw.Geometry.CubicSpline2d |
| | | |
| | | #endregion CurrentViewModel |
| | | |
| | | private List<CurrentViewModel> _allBindList; |
| | | |
| | | private Yw.Geometry.CubicSpline2d |
| | | _cubic_spline_qh = null, |
| | | _cubic_spline_qe = null, |
| | | _cubic_spline_qp = null; |
| | | _cubic_spline_qe = null, |
| | | _cubic_spline_qp = null; |
| | | |
| | | private List<Yw.Geometry.Point2d> |
| | | _qh_point_list = null, |
| | | _qe_point_list = null, |
| | |
| | | int line = 0; |
| | | try |
| | | { |
| | | //åå§åæä»¶ |
| | | //åå§åæä»¶ |
| | | HSSFWorkbook theBook = null; |
| | | using (FileStream file = new FileStream(fileName, FileMode.Open, FileAccess.Read)) |
| | | { |
| | |
| | | return; |
| | | } |
| | | |
| | | //å¼å§è¯»åçè¡ |
| | | //å¼å§è¯»åçè¡ |
| | | int start_line = title_line_index + 1; |
| | | var cell_0 = row_title.GetCell(0); |
| | | if (cell_0 == null) |
| | |
| | | if (h < 0) |
| | | break; |
| | | |
| | | |
| | | cell = rowtemp.GetCell(col_index_e); |
| | | if (cell == null) |
| | | break; |
| | |
| | | { |
| | | this.xtrPerform2dChart1.InitialChartData(); |
| | | return false; |
| | | |
| | | } |
| | | |
| | | _qh_point_list = new List<Yw.Geometry.Point2d>(); |
| | |
| | | |
| | | /// <summary> |
| | | /// è·åæ°æ® |
| | | /// </summary> |
| | | /// </summary> |
| | | /// <returns></returns> |
| | | public bool Get(out string other_name, out Yw.Pump.CurveQH qh, out Yw.Pump.CurveQE qe, out Yw.Pump.CurveQP qp) |
| | | { |
| | |
| | | qh = null; |
| | | qe = null; |
| | | qp = null; |
| | | |
| | | |
| | | if (!loadChart()) |
| | | return false; |
| | | |
| | |
| | | { |
| | | XtraMessageBox.Show("请è¾å
¥æ²çº¿åç§°!"); |
| | | return false; |
| | | } |
| | | } |
| | | qh = new Pump.CurveQH(Yw.Pump.eFeatType.Cubic, _qh_point_list); |
| | | qe = new Pump.CurveQE(Yw.Pump.eFeatType.Cubic, _qe_point_list); |
| | | qp = new Pump.CurveQP(Yw.Pump.eFeatType.Cubic, _qp_point_list); |
| | | |
| | | |
| | | return true; |
| | | } |
| | | |
| | | } |
| | | } |
| | | } |