From 8eb1a19c55846f70b3b6bf43e32c2e94333d52e7 Mon Sep 17 00:00:00 2001
From: lixiaojun <1287241240@qq.com>
Date: 星期六, 30 十一月 2024 13:07:34 +0800
Subject: [PATCH] epanet 计算完善

---
 WinFrmUI/HStation.WinFrmUI.Xhs.Core/01-home/01-project/HomeXhsProjectTreeListCtrl.Designer.cs |   82 +++++++++++++++++++++++++++++++++--------
 1 files changed, 66 insertions(+), 16 deletions(-)

diff --git a/WinFrmUI/HStation.WinFrmUI.Xhs.Core/01-home/01-project/HomeXhsProjectTreeListCtrl.Designer.cs b/WinFrmUI/HStation.WinFrmUI.Xhs.Core/01-home/01-project/HomeXhsProjectTreeListCtrl.Designer.cs
index 92cf493..916bab8 100644
--- a/WinFrmUI/HStation.WinFrmUI.Xhs.Core/01-home/01-project/HomeXhsProjectTreeListCtrl.Designer.cs
+++ b/WinFrmUI/HStation.WinFrmUI.Xhs.Core/01-home/01-project/HomeXhsProjectTreeListCtrl.Designer.cs
@@ -30,8 +30,15 @@
         {
             components = new Container();
             ComponentResourceManager resources = new ComponentResourceManager(typeof(HomeXhsProjectTreeListCtrl));
+            DevExpress.Utils.SuperToolTip superToolTip1 = new DevExpress.Utils.SuperToolTip();
+            DevExpress.Utils.ToolTipItem toolTipItem1 = new DevExpress.Utils.ToolTipItem();
+            EditorButtonImageOptions editorButtonImageOptions1 = new EditorButtonImageOptions();
+            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();
-            btnImportProject = new DevExpress.XtraEditors.SimpleButton();
+            btnImportProject = new SimpleButton();
             treeList1 = new DevExpress.XtraTreeList.TreeList();
             colName = new DevExpress.XtraTreeList.Columns.TreeListColumn();
             barManager1 = new DevExpress.XtraBars.BarManager(components);
@@ -40,11 +47,14 @@
             barBtnCollpseAll = new DevExpress.XtraBars.BarButtonItem();
             barBtnSearchBox = new DevExpress.XtraBars.BarButtonItem();
             barCkTreeLine = new DevExpress.XtraBars.BarCheckItem();
+            barBtnRefresh = new DevExpress.XtraBars.BarButtonItem();
             barDockControlTop = new DevExpress.XtraBars.BarDockControl();
             barDockControlBottom = new DevExpress.XtraBars.BarDockControl();
             barDockControlLeft = new DevExpress.XtraBars.BarDockControl();
             barDockControlRight = new DevExpress.XtraBars.BarDockControl();
-            searchControl1 = new DevExpress.XtraEditors.SearchControl();
+            repositoryItemButtonEdit1 = new DevExpress.XtraEditors.Repository.RepositoryItemButtonEdit();
+            imageCollection1 = new DevExpress.Utils.ImageCollection(components);
+            searchControl1 = new SearchControl();
             Root = new DevExpress.XtraLayout.LayoutControlGroup();
             layoutControlItem1 = new DevExpress.XtraLayout.LayoutControlItem();
             layoutControlItem2 = new DevExpress.XtraLayout.LayoutControlItem();
@@ -53,6 +63,8 @@
             layoutControl1.SuspendLayout();
             ((ISupportInitialize)treeList1).BeginInit();
             ((ISupportInitialize)barManager1).BeginInit();
+            ((ISupportInitialize)repositoryItemButtonEdit1).BeginInit();
+            ((ISupportInitialize)imageCollection1).BeginInit();
             ((ISupportInitialize)searchControl1.Properties).BeginInit();
             ((ISupportInitialize)Root).BeginInit();
             ((ISupportInitialize)layoutControlItem1).BeginInit();
@@ -81,12 +93,12 @@
             btnImportProject.Appearance.Options.UseBackColor = true;
             btnImportProject.Appearance.Options.UseForeColor = true;
             btnImportProject.ImageOptions.AllowGlyphSkinning = DevExpress.Utils.DefaultBoolean.True;
-            btnImportProject.ImageOptions.ImageToTextAlignment = DevExpress.XtraEditors.ImageAlignToText.LeftCenter;
+            btnImportProject.ImageOptions.ImageToTextAlignment = ImageAlignToText.LeftCenter;
             btnImportProject.ImageOptions.SvgImage = (DevExpress.Utils.Svg.SvgImage)resources.GetObject("btnImportProject.ImageOptions.SvgImage");
             btnImportProject.ImageOptions.SvgImageSize = new Size(24, 24);
-            btnImportProject.Location = new Point(0, 607);
+            btnImportProject.Location = new Point(0, 612);
             btnImportProject.Name = "btnImportProject";
-            btnImportProject.Size = new Size(235, 28);
+            btnImportProject.Size = new Size(235, 23);
             btnImportProject.StyleController = layoutControl1;
             btnImportProject.TabIndex = 6;
             btnImportProject.Text = "瀵煎叆椤圭洰";
@@ -101,19 +113,28 @@
             treeList1.OptionsMenu.EnableNodeMenu = false;
             treeList1.OptionsSelection.EnableAppearanceFocusedCell = false;
             treeList1.OptionsView.FocusRectStyle = DevExpress.XtraTreeList.DrawFocusRectStyle.None;
-            treeList1.Size = new Size(235, 581);
+            treeList1.OptionsView.RowImagesShowMode = DevExpress.XtraTreeList.RowImagesShowMode.InIndent;
+            treeList1.OptionsView.ShowIndentAsRowStyle = true;
+            treeList1.RepositoryItems.AddRange(new DevExpress.XtraEditors.Repository.RepositoryItem[] { repositoryItemButtonEdit1 });
+            treeList1.SelectImageList = imageCollection1;
+            treeList1.Size = new Size(235, 586);
             treeList1.TabIndex = 5;
+            treeList1.TreeViewFieldName = "Name";
             treeList1.ViewStyle = DevExpress.XtraTreeList.TreeListViewStyle.TreeView;
-            treeList1.RowCellClick += treeList1_RowCellClick;
             treeList1.FocusedNodeChanged += treeList1_FocusedNodeChanged;
+            treeList1.DoubleClick += treeList1_DoubleClick;
             // 
             // colName
             // 
+            colName.AppearanceCell.Options.UseTextOptions = true;
+            colName.AppearanceCell.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Near;
             colName.Caption = "鍚嶇О";
             colName.FieldName = "Name";
+            colName.ImageOptions.SvgImage = (DevExpress.Utils.Svg.SvgImage)resources.GetObject("colName.ImageOptions.SvgImage");
             colName.Name = "colName";
             colName.Visible = true;
             colName.VisibleIndex = 0;
+            colName.Width = 172;
             // 
             // barManager1
             // 
@@ -123,8 +144,8 @@
             barManager1.DockControls.Add(barDockControlLeft);
             barManager1.DockControls.Add(barDockControlRight);
             barManager1.Form = this;
-            barManager1.Items.AddRange(new DevExpress.XtraBars.BarItem[] { barBtnExpandAll, barBtnCollpseAll, barBtnSearchBox, barCkTreeLine });
-            barManager1.MaxItemId = 5;
+            barManager1.Items.AddRange(new DevExpress.XtraBars.BarItem[] { barBtnExpandAll, barBtnCollpseAll, barBtnSearchBox, barCkTreeLine, barBtnRefresh });
+            barManager1.MaxItemId = 6;
             // 
             // bar1
             // 
@@ -133,7 +154,7 @@
             bar1.DockCol = 0;
             bar1.DockRow = 0;
             bar1.DockStyle = DevExpress.XtraBars.BarDockStyle.Top;
-            bar1.LinksPersistInfo.AddRange(new DevExpress.XtraBars.LinkPersistInfo[] { new DevExpress.XtraBars.LinkPersistInfo(barBtnExpandAll), new DevExpress.XtraBars.LinkPersistInfo(barBtnCollpseAll), new DevExpress.XtraBars.LinkPersistInfo(barBtnSearchBox), new DevExpress.XtraBars.LinkPersistInfo(barCkTreeLine) });
+            bar1.LinksPersistInfo.AddRange(new DevExpress.XtraBars.LinkPersistInfo[] { new DevExpress.XtraBars.LinkPersistInfo(barBtnExpandAll), new DevExpress.XtraBars.LinkPersistInfo(barBtnCollpseAll), new DevExpress.XtraBars.LinkPersistInfo(barBtnSearchBox), new DevExpress.XtraBars.LinkPersistInfo(barCkTreeLine), new DevExpress.XtraBars.LinkPersistInfo(barBtnRefresh) });
             bar1.OptionsBar.AllowQuickCustomization = false;
             bar1.OptionsBar.DrawDragBorder = false;
             bar1.OptionsBar.MultiLine = true;
@@ -172,6 +193,17 @@
             barCkTreeLine.Name = "barCkTreeLine";
             barCkTreeLine.CheckedChanged += barCkTreeLine_CheckedChanged;
             // 
+            // barBtnRefresh
+            // 
+            barBtnRefresh.Caption = "鍒锋柊";
+            barBtnRefresh.Id = 5;
+            barBtnRefresh.ImageOptions.SvgImage = (DevExpress.Utils.Svg.SvgImage)resources.GetObject("barBtnRefresh.ImageOptions.SvgImage");
+            barBtnRefresh.Name = "barBtnRefresh";
+            toolTipItem1.Text = "鍒锋柊";
+            superToolTip1.Items.Add(toolTipItem1);
+            barBtnRefresh.SuperTip = superToolTip1;
+            barBtnRefresh.ItemClick += barBtnRefresh_ItemClick;
+            // 
             // barDockControlTop
             // 
             barDockControlTop.CausesValidation = false;
@@ -204,13 +236,26 @@
             barDockControlRight.Manager = barManager1;
             barDockControlRight.Size = new Size(0, 636);
             // 
+            // repositoryItemButtonEdit1
+            // 
+            repositoryItemButtonEdit1.AutoHeight = false;
+            editorButtonImageOptions1.SvgImageSize = new Size(20, 20);
+            repositoryItemButtonEdit1.Buttons.AddRange(new EditorButton[] { new EditorButton(ButtonPredefines.Glyph, "", -1, true, true, false, editorButtonImageOptions1, new DevExpress.Utils.KeyShortcut(Keys.None), serializableAppearanceObject1, serializableAppearanceObject2, serializableAppearanceObject3, serializableAppearanceObject4, "", null, null, DevExpress.Utils.ToolTipAnchor.Default) });
+            repositoryItemButtonEdit1.Name = "repositoryItemButtonEdit1";
+            repositoryItemButtonEdit1.TextEditStyle = TextEditStyles.HideTextEditor;
+            // 
+            // imageCollection1
+            // 
+            imageCollection1.ImageStream = (DevExpress.Utils.ImageCollectionStreamer)resources.GetObject("imageCollection1.ImageStream");
+            imageCollection1.Images.SetKeyName(0, "NotImported.png");
+            // 
             // searchControl1
             // 
             searchControl1.Client = treeList1;
             searchControl1.Location = new Point(0, 2);
             searchControl1.MenuManager = barManager1;
             searchControl1.Name = "searchControl1";
-            searchControl1.Properties.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] { new DevExpress.XtraEditors.Repository.ClearButton(), new DevExpress.XtraEditors.Repository.SearchButton() });
+            searchControl1.Properties.Buttons.AddRange(new EditorButton[] { new DevExpress.XtraEditors.Repository.ClearButton(), new DevExpress.XtraEditors.Repository.SearchButton() });
             searchControl1.Properties.Client = treeList1;
             searchControl1.Size = new Size(235, 20);
             searchControl1.StyleController = layoutControl1;
@@ -242,19 +287,19 @@
             layoutControlItem2.Location = new Point(0, 23);
             layoutControlItem2.Name = "layoutControlItem2";
             layoutControlItem2.Padding = new DevExpress.XtraLayout.Utils.Padding(0, 0, 1, 1);
-            layoutControlItem2.Size = new Size(235, 583);
+            layoutControlItem2.Size = new Size(235, 588);
             layoutControlItem2.TextSize = new Size(0, 0);
             layoutControlItem2.TextVisible = false;
             // 
             // layoutControlItem3
             // 
             layoutControlItem3.Control = btnImportProject;
-            layoutControlItem3.Location = new Point(0, 606);
-            layoutControlItem3.MaxSize = new Size(0, 30);
-            layoutControlItem3.MinSize = new Size(100, 30);
+            layoutControlItem3.Location = new Point(0, 611);
+            layoutControlItem3.MaxSize = new Size(0, 25);
+            layoutControlItem3.MinSize = new Size(82, 25);
             layoutControlItem3.Name = "layoutControlItem3";
             layoutControlItem3.Padding = new DevExpress.XtraLayout.Utils.Padding(0, 0, 1, 1);
-            layoutControlItem3.Size = new Size(235, 30);
+            layoutControlItem3.Size = new Size(235, 25);
             layoutControlItem3.SizeConstraintsType = DevExpress.XtraLayout.SizeConstraintsType.Custom;
             layoutControlItem3.TextSize = new Size(0, 0);
             layoutControlItem3.TextVisible = false;
@@ -274,6 +319,8 @@
             layoutControl1.ResumeLayout(false);
             ((ISupportInitialize)treeList1).EndInit();
             ((ISupportInitialize)barManager1).EndInit();
+            ((ISupportInitialize)repositoryItemButtonEdit1).EndInit();
+            ((ISupportInitialize)imageCollection1).EndInit();
             ((ISupportInitialize)searchControl1.Properties).EndInit();
             ((ISupportInitialize)Root).EndInit();
             ((ISupportInitialize)layoutControlItem1).EndInit();
@@ -304,5 +351,8 @@
         private DevExpress.XtraTreeList.Columns.TreeListColumn colName;
         private DevExpress.XtraEditors.SimpleButton btnImportProject;
         private DevExpress.XtraLayout.LayoutControlItem layoutControlItem3;
+        private DevExpress.XtraBars.BarButtonItem barBtnRefresh;
+        private DevExpress.Utils.ImageCollection imageCollection1;
+        private DevExpress.XtraEditors.Repository.RepositoryItemButtonEdit repositoryItemButtonEdit1;
     }
 }

--
Gitblit v1.9.3