From 6c88a90d2330a27c0052a22538f6ebd6200faae7 Mon Sep 17 00:00:00 2001
From: duheng <2784771470@qq.com>
Date: 星期三, 21 八月 2024 18:02:15 +0800
Subject: [PATCH] 完善主界面

---
 WinFrmUI/HStation.WinFrmUI.Xhs.Core/02-project/03-mgr/XhsProjectMgrPage.Designer.cs |   71 ++++++++++++++++++++++++++++-------
 1 files changed, 56 insertions(+), 15 deletions(-)

diff --git a/WinFrmUI/HStation.WinFrmUI.Xhs.Core/02-project/03-mgr/XhsProjectMgrPage.Designer.cs b/WinFrmUI/HStation.WinFrmUI.Xhs.Core/02-project/03-mgr/XhsProjectMgrPage.Designer.cs
index c8f28a1..43df956 100644
--- a/WinFrmUI/HStation.WinFrmUI.Xhs.Core/02-project/03-mgr/XhsProjectMgrPage.Designer.cs
+++ b/WinFrmUI/HStation.WinFrmUI.Xhs.Core/02-project/03-mgr/XhsProjectMgrPage.Designer.cs
@@ -30,6 +30,11 @@
         {
             components = new Container();
             ComponentResourceManager resources = new ComponentResourceManager(typeof(XhsProjectMgrPage));
+            DevExpress.XtraEditors.Controls.EditorButtonImageOptions editorButtonImageOptions1 = new DevExpress.XtraEditors.Controls.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();
             ribbonControl1 = new DevExpress.XtraBars.Ribbon.RibbonControl();
             barBtnAdd = new DevExpress.XtraBars.BarButtonItem();
             barBtnEdit = new DevExpress.XtraBars.BarButtonItem();
@@ -55,17 +60,20 @@
             colName = new DevExpress.XtraTreeList.Columns.TreeListColumn();
             colStartTime = new DevExpress.XtraTreeList.Columns.TreeListColumn();
             colEndTime = new DevExpress.XtraTreeList.Columns.TreeListColumn();
-            colPublishStatus = new DevExpress.XtraTreeList.Columns.TreeListColumn();
             colAddress = new DevExpress.XtraTreeList.Columns.TreeListColumn();
             colCustomer = new DevExpress.XtraTreeList.Columns.TreeListColumn();
             colFlags = new DevExpress.XtraTreeList.Columns.TreeListColumn();
             colTagName = new DevExpress.XtraTreeList.Columns.TreeListColumn();
             colDescription = new DevExpress.XtraTreeList.Columns.TreeListColumn();
+            ColModelState = new DevExpress.XtraTreeList.Columns.TreeListColumn();
+            ColViewBimface = new DevExpress.XtraTreeList.Columns.TreeListColumn();
+            repositoryItemButtonEdit1 = new DevExpress.XtraEditors.Repository.RepositoryItemButtonEdit();
             xhsProjectMgrViewModelBindingSource = new BindingSource(components);
             panelControl1 = new DevExpress.XtraEditors.PanelControl();
             svgImg32 = new DevExpress.Utils.SvgImageCollection(components);
             ((ISupportInitialize)ribbonControl1).BeginInit();
             ((ISupportInitialize)treeList1).BeginInit();
+            ((ISupportInitialize)repositoryItemButtonEdit1).BeginInit();
             ((ISupportInitialize)xhsProjectMgrViewModelBindingSource).BeginInit();
             ((ISupportInitialize)panelControl1).BeginInit();
             panelControl1.SuspendLayout();
@@ -120,6 +128,7 @@
             barBtnInfo.Id = 4;
             barBtnInfo.ImageOptions.SvgImage = (DevExpress.Utils.Svg.SvgImage)resources.GetObject("barBtnInfo.ImageOptions.SvgImage");
             barBtnInfo.Name = "barBtnInfo";
+            barBtnInfo.ItemClick += barBtnInfo_ItemClick;
             // 
             // barBtnViewHydro
             // 
@@ -142,7 +151,6 @@
             barBtnPublish.Id = 7;
             barBtnPublish.ImageOptions.SvgImage = (DevExpress.Utils.Svg.SvgImage)resources.GetObject("barBtnPublish.ImageOptions.SvgImage");
             barBtnPublish.Name = "barBtnPublish";
-            barBtnPublish.ItemClick += barBtnPublish_ItemClick;
             // 
             // barBtnDeprecated
             // 
@@ -212,6 +220,7 @@
             ribPageGroupForOperation.ItemLinks.Add(barBtnDeprecated);
             ribPageGroupForOperation.Name = "ribPageGroupForOperation";
             ribPageGroupForOperation.Text = "鎿嶄綔";
+            ribPageGroupForOperation.Visible = false;
             // 
             // ribPageGroupForHydro
             // 
@@ -237,17 +246,28 @@
             // 
             // treeList1
             // 
-            treeList1.Columns.AddRange(new DevExpress.XtraTreeList.Columns.TreeListColumn[] { colNO, colName, colStartTime, colEndTime, colPublishStatus, colAddress, colCustomer, colFlags, colTagName, colDescription });
+            treeList1.Appearance.HeaderPanel.Options.UseTextOptions = true;
+            treeList1.Appearance.HeaderPanel.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center;
+            treeList1.BorderStyle = DevExpress.XtraEditors.Controls.BorderStyles.NoBorder;
+            treeList1.Columns.AddRange(new DevExpress.XtraTreeList.Columns.TreeListColumn[] { colNO, colName, colStartTime, colEndTime, colAddress, colCustomer, colFlags, colTagName, colDescription, ColModelState, ColViewBimface });
             treeList1.DataSource = xhsProjectMgrViewModelBindingSource;
             treeList1.Dock = DockStyle.Fill;
             treeList1.Location = new Point(0, 1);
             treeList1.MenuManager = ribbonControl1;
             treeList1.Name = "treeList1";
+            treeList1.OptionsBehavior.PopulateServiceColumns = true;
+            treeList1.RepositoryItems.AddRange(new DevExpress.XtraEditors.Repository.RepositoryItem[] { repositoryItemButtonEdit1 });
             treeList1.Size = new Size(998, 568);
             treeList1.TabIndex = 1;
+            treeList1.RowCellClick += treeList1_RowCellClick;
+            treeList1.CustomDrawRow += treeList1_CustomDrawRow;
             // 
             // colNO
             // 
+            colNO.AppearanceCell.Options.UseTextOptions = true;
+            colNO.AppearanceCell.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center;
+            colNO.AppearanceHeader.Options.UseTextOptions = true;
+            colNO.AppearanceHeader.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center;
             colNO.FieldName = "NO";
             colNO.Name = "colNO";
             colNO.Visible = true;
@@ -274,40 +294,33 @@
             colEndTime.Visible = true;
             colEndTime.VisibleIndex = 3;
             // 
-            // colPublishStatus
-            // 
-            colPublishStatus.FieldName = "PublishStatus";
-            colPublishStatus.Name = "colPublishStatus";
-            colPublishStatus.Visible = true;
-            colPublishStatus.VisibleIndex = 4;
-            // 
             // colAddress
             // 
             colAddress.FieldName = "Address";
             colAddress.Name = "colAddress";
             colAddress.Visible = true;
-            colAddress.VisibleIndex = 5;
+            colAddress.VisibleIndex = 4;
             // 
             // colCustomer
             // 
             colCustomer.FieldName = "Customer";
             colCustomer.Name = "colCustomer";
             colCustomer.Visible = true;
-            colCustomer.VisibleIndex = 6;
+            colCustomer.VisibleIndex = 5;
             // 
             // colFlags
             // 
             colFlags.FieldName = "Flags";
             colFlags.Name = "colFlags";
             colFlags.Visible = true;
-            colFlags.VisibleIndex = 7;
+            colFlags.VisibleIndex = 6;
             // 
             // colTagName
             // 
             colTagName.FieldName = "TagName";
             colTagName.Name = "colTagName";
             colTagName.Visible = true;
-            colTagName.VisibleIndex = 8;
+            colTagName.VisibleIndex = 7;
             // 
             // colDescription
             // 
@@ -315,6 +328,31 @@
             colDescription.Name = "colDescription";
             colDescription.Visible = true;
             colDescription.VisibleIndex = 9;
+            // 
+            // ColModelState
+            // 
+            ColModelState.Caption = "妯″瀷鐘舵��";
+            ColModelState.Name = "ColModelState";
+            ColModelState.Visible = true;
+            ColModelState.VisibleIndex = 8;
+            // 
+            // ColViewBimface
+            // 
+            ColViewBimface.Caption = "鏌ョ湅涓夌淮妯″瀷";
+            ColViewBimface.ColumnEdit = repositoryItemButtonEdit1;
+            ColViewBimface.Name = "ColViewBimface";
+            ColViewBimface.OptionsColumn.AllowEdit = false;
+            ColViewBimface.Visible = true;
+            ColViewBimface.VisibleIndex = 10;
+            // 
+            // repositoryItemButtonEdit1
+            // 
+            repositoryItemButtonEdit1.AutoHeight = false;
+            editorButtonImageOptions1.SvgImage = (DevExpress.Utils.Svg.SvgImage)resources.GetObject("editorButtonImageOptions1.SvgImage");
+            editorButtonImageOptions1.SvgImageSize = new Size(25, 25);
+            repositoryItemButtonEdit1.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) });
+            repositoryItemButtonEdit1.Name = "repositoryItemButtonEdit1";
+            repositoryItemButtonEdit1.TextEditStyle = DevExpress.XtraEditors.Controls.TextEditStyles.HideTextEditor;
             // 
             // xhsProjectMgrViewModelBindingSource
             // 
@@ -348,6 +386,7 @@
             Size = new Size(998, 670);
             ((ISupportInitialize)ribbonControl1).EndInit();
             ((ISupportInitialize)treeList1).EndInit();
+            ((ISupportInitialize)repositoryItemButtonEdit1).EndInit();
             ((ISupportInitialize)xhsProjectMgrViewModelBindingSource).EndInit();
             ((ISupportInitialize)panelControl1).EndInit();
             panelControl1.ResumeLayout(false);
@@ -374,7 +413,6 @@
         private DevExpress.XtraTreeList.Columns.TreeListColumn colName;
         private DevExpress.XtraTreeList.Columns.TreeListColumn colStartTime;
         private DevExpress.XtraTreeList.Columns.TreeListColumn colEndTime;
-        private DevExpress.XtraTreeList.Columns.TreeListColumn colPublishStatus;
         private DevExpress.XtraTreeList.Columns.TreeListColumn colAddress;
         private DevExpress.XtraTreeList.Columns.TreeListColumn colCustomer;
         private DevExpress.XtraTreeList.Columns.TreeListColumn colFlags;
@@ -392,5 +430,8 @@
         private DevExpress.XtraBars.BarButtonItem barBtnRefresh;
         private DevExpress.XtraEditors.PanelControl panelControl1;
         private DevExpress.Utils.SvgImageCollection svgImg32;
+        private DevExpress.XtraTreeList.Columns.TreeListColumn ColModelState;
+        private DevExpress.XtraTreeList.Columns.TreeListColumn ColViewBimface;
+        private DevExpress.XtraEditors.Repository.RepositoryItemButtonEdit repositoryItemButtonEdit1;
     }
 }

--
Gitblit v1.9.3