From 9be9ba4e159969fb5e32648c2c34e912ccc3ae6d Mon Sep 17 00:00:00 2001
From: duheng <2286773002@qq.com>
Date: 星期五, 28 三月 2025 14:22:42 +0800
Subject: [PATCH] 优化细节问题

---
 WinFrmUI/PBS.WinFrmUI/00-home/03-property/HomePbsProjectPropertyCtrl.Designer.cs |  222 +++++++++++++++++++++++++------------------------------
 1 files changed, 100 insertions(+), 122 deletions(-)

diff --git a/WinFrmUI/PBS.WinFrmUI/00-home/03-property/HomePbsProjectPropertyCtrl.Designer.cs b/WinFrmUI/PBS.WinFrmUI/00-home/03-property/HomePbsProjectPropertyCtrl.Designer.cs
index 609b13d..67e2fb6 100644
--- a/WinFrmUI/PBS.WinFrmUI/00-home/03-property/HomePbsProjectPropertyCtrl.Designer.cs
+++ b/WinFrmUI/PBS.WinFrmUI/00-home/03-property/HomePbsProjectPropertyCtrl.Designer.cs
@@ -35,35 +35,32 @@
             DevExpress.Utils.SuperToolTip superToolTip1 = new DevExpress.Utils.SuperToolTip();
             DevExpress.Utils.ToolTipTitleItem toolTipTitleItem1 = new DevExpress.Utils.ToolTipTitleItem();
             DevExpress.Utils.ToolTipItem toolTipItem1 = new DevExpress.Utils.ToolTipItem();
-            DevExpress.Utils.SuperToolTip superToolTip2 = new DevExpress.Utils.SuperToolTip();
-            DevExpress.Utils.ToolTipItem toolTipItem2 = new DevExpress.Utils.ToolTipItem();
             layoutControl1 = new DevExpress.XtraLayout.LayoutControl();
+            propertyDescriptionControl1 = new DevExpress.XtraVerticalGrid.PropertyDescriptionControl();
+            propertyGridControl1 = new DevExpress.XtraVerticalGrid.PropertyGridControl();
+            layoutControlGroup1 = new DevExpress.XtraLayout.LayoutControlGroup();
+            layoutProperty = new DevExpress.XtraLayout.LayoutControlItem();
+            layoutDescription = new DevExpress.XtraLayout.LayoutControlItem();
+            splitterItem1 = new DevExpress.XtraLayout.SplitterItem();
             barManager1 = new DevExpress.XtraBars.BarManager(components);
             bar1 = new DevExpress.XtraBars.Bar();
             barBtnExpandAll = new DevExpress.XtraBars.BarButtonItem();
             barBtnCollpseAll = new DevExpress.XtraBars.BarButtonItem();
             barBtnHelp = new DevExpress.XtraBars.BarButtonItem();
-            barBtnDirect = new DevExpress.XtraBars.BarButtonItem();
             barDockControlTop = new DevExpress.XtraBars.BarDockControl();
             barDockControlBottom = new DevExpress.XtraBars.BarDockControl();
             barDockControlLeft = new DevExpress.XtraBars.BarDockControl();
             barDockControlRight = new DevExpress.XtraBars.BarDockControl();
-            propertyDescriptionControl1 = new DevExpress.XtraVerticalGrid.PropertyDescriptionControl();
-            layoutControlGroup1 = new DevExpress.XtraLayout.LayoutControlGroup();
-            splitterItem1 = new DevExpress.XtraLayout.SplitterItem();
-            layoutDescription = new DevExpress.XtraLayout.LayoutControlItem();
             bindingSource1 = new BindingSource(components);
-            layoutProperty = new DevExpress.XtraLayout.LayoutControlItem();
-            propertyGridControl1 = new DevExpress.XtraVerticalGrid.PropertyGridControl();
             ((ISupportInitialize)layoutControl1).BeginInit();
             layoutControl1.SuspendLayout();
-            ((ISupportInitialize)barManager1).BeginInit();
-            ((ISupportInitialize)layoutControlGroup1).BeginInit();
-            ((ISupportInitialize)splitterItem1).BeginInit();
-            ((ISupportInitialize)layoutDescription).BeginInit();
-            ((ISupportInitialize)bindingSource1).BeginInit();
-            ((ISupportInitialize)layoutProperty).BeginInit();
             ((ISupportInitialize)propertyGridControl1).BeginInit();
+            ((ISupportInitialize)layoutControlGroup1).BeginInit();
+            ((ISupportInitialize)layoutProperty).BeginInit();
+            ((ISupportInitialize)layoutDescription).BeginInit();
+            ((ISupportInitialize)splitterItem1).BeginInit();
+            ((ISupportInitialize)barManager1).BeginInit();
+            ((ISupportInitialize)bindingSource1).BeginInit();
             SuspendLayout();
             // 
             // layoutControl1
@@ -80,6 +77,86 @@
             layoutControl1.TabIndex = 0;
             layoutControl1.Text = "layoutControl1";
             // 
+            // propertyDescriptionControl1
+            // 
+            propertyDescriptionControl1.Location = new Point(2, 697);
+            propertyDescriptionControl1.Margin = new Padding(3, 4, 3, 4);
+            propertyDescriptionControl1.Name = "propertyDescriptionControl1";
+            propertyDescriptionControl1.PropertyGrid = propertyGridControl1;
+            propertyDescriptionControl1.Size = new Size(293, 76);
+            propertyDescriptionControl1.StyleController = layoutControl1;
+            propertyDescriptionControl1.TabIndex = 1;
+            propertyDescriptionControl1.TabStop = false;
+            // 
+            // propertyGridControl1
+            // 
+            propertyGridControl1.Appearance.FocusedCell.BackColor = Color.FromArgb(0, 122, 204);
+            propertyGridControl1.Appearance.FocusedCell.ForeColor = Color.White;
+            propertyGridControl1.Appearance.FocusedCell.Options.UseBackColor = true;
+            propertyGridControl1.Appearance.FocusedCell.Options.UseForeColor = true;
+            propertyGridControl1.Appearance.FocusedRow.BackColor = Color.FromArgb(0, 122, 204);
+            propertyGridControl1.Appearance.FocusedRow.ForeColor = Color.White;
+            propertyGridControl1.Appearance.FocusedRow.Options.UseBackColor = true;
+            propertyGridControl1.Appearance.FocusedRow.Options.UseForeColor = true;
+            propertyGridControl1.Appearance.ReadOnlyRecordValue.ForeColor = Color.Black;
+            propertyGridControl1.Appearance.ReadOnlyRecordValue.Options.UseForeColor = true;
+            propertyGridControl1.Appearance.ReadOnlyRow.ForeColor = Color.Black;
+            propertyGridControl1.Appearance.ReadOnlyRow.Options.UseForeColor = true;
+            propertyGridControl1.BorderStyle = DevExpress.XtraEditors.Controls.BorderStyles.NoBorder;
+            propertyGridControl1.Location = new Point(2, 2);
+            propertyGridControl1.Margin = new Padding(3, 4, 3, 4);
+            propertyGridControl1.Name = "propertyGridControl1";
+            propertyGridControl1.OptionsBehavior.Editable = false;
+            propertyGridControl1.OptionsBehavior.PropertySort = DevExpress.XtraVerticalGrid.PropertySort.NoSort;
+            propertyGridControl1.OptionsHint.ShowRowHeaderHints = false;
+            propertyGridControl1.OptionsView.AllowReadOnlyRowAppearance = DevExpress.Utils.DefaultBoolean.True;
+            propertyGridControl1.OptionsView.MinRowAutoHeight = 13;
+            propertyGridControl1.OptionsView.ShowRootCategories = false;
+            propertyGridControl1.RecordWidth = 120;
+            propertyGridControl1.RowHeaderWidth = 80;
+            propertyGridControl1.Size = new Size(293, 679);
+            propertyGridControl1.TabIndex = 0;
+            propertyGridControl1.CustomRecordCellEdit += propertyGridControl1_CustomRecordCellEdit;
+            propertyGridControl1.CustomDrawRowValueCell += propertyGridControl1_CustomDrawRowValueCell;
+            propertyGridControl1.ShowingEditor += propertyGridControl1_ShowingEditor;
+            propertyGridControl1.CellValueChanging += propertyGridControl1_CellValueChanging;
+            propertyGridControl1.CellValueChanged += propertyGridControl1_CellValueChanged;
+            // 
+            // layoutControlGroup1
+            // 
+            layoutControlGroup1.EnableIndentsWithoutBorders = DevExpress.Utils.DefaultBoolean.True;
+            layoutControlGroup1.GroupBordersVisible = false;
+            layoutControlGroup1.Items.AddRange(new DevExpress.XtraLayout.BaseLayoutItem[] { layoutProperty, layoutDescription, splitterItem1 });
+            layoutControlGroup1.Name = "Root";
+            layoutControlGroup1.Padding = new DevExpress.XtraLayout.Utils.Padding(0, 0, 0, 0);
+            layoutControlGroup1.Size = new Size(297, 775);
+            layoutControlGroup1.TextVisible = false;
+            // 
+            // layoutProperty
+            // 
+            layoutProperty.Control = propertyGridControl1;
+            layoutProperty.Location = new Point(0, 0);
+            layoutProperty.Name = "layoutProperty";
+            layoutProperty.Size = new Size(297, 683);
+            layoutProperty.TextSize = new Size(0, 0);
+            layoutProperty.TextVisible = false;
+            // 
+            // layoutDescription
+            // 
+            layoutDescription.Control = propertyDescriptionControl1;
+            layoutDescription.Location = new Point(0, 695);
+            layoutDescription.Name = "layoutDescription";
+            layoutDescription.Size = new Size(297, 80);
+            layoutDescription.TextSize = new Size(0, 0);
+            layoutDescription.TextVisible = false;
+            // 
+            // splitterItem1
+            // 
+            splitterItem1.AllowHotTrack = true;
+            splitterItem1.Location = new Point(0, 683);
+            splitterItem1.Name = "splitterItem1";
+            splitterItem1.Size = new Size(297, 12);
+            // 
             // barManager1
             // 
             barManager1.Bars.AddRange(new DevExpress.XtraBars.Bar[] { bar1 });
@@ -88,7 +165,7 @@
             barManager1.DockControls.Add(barDockControlLeft);
             barManager1.DockControls.Add(barDockControlRight);
             barManager1.Form = this;
-            barManager1.Items.AddRange(new DevExpress.XtraBars.BarItem[] { barBtnHelp, barBtnExpandAll, barBtnCollpseAll, barBtnDirect });
+            barManager1.Items.AddRange(new DevExpress.XtraBars.BarItem[] { barBtnHelp, barBtnExpandAll, barBtnCollpseAll });
             barManager1.MaxItemId = 16;
             // 
             // bar1
@@ -103,7 +180,7 @@
             bar1.DockRow = 0;
             bar1.DockStyle = DevExpress.XtraBars.BarDockStyle.Top;
             bar1.FloatLocation = new Point(1899, 679);
-            bar1.LinksPersistInfo.AddRange(new DevExpress.XtraBars.LinkPersistInfo[] { new DevExpress.XtraBars.LinkPersistInfo(barBtnExpandAll), new DevExpress.XtraBars.LinkPersistInfo(barBtnCollpseAll), new DevExpress.XtraBars.LinkPersistInfo(barBtnHelp), new DevExpress.XtraBars.LinkPersistInfo(barBtnDirect) });
+            bar1.LinksPersistInfo.AddRange(new DevExpress.XtraBars.LinkPersistInfo[] { new DevExpress.XtraBars.LinkPersistInfo(barBtnExpandAll), new DevExpress.XtraBars.LinkPersistInfo(barBtnCollpseAll), new DevExpress.XtraBars.LinkPersistInfo(barBtnHelp) });
             bar1.OptionsBar.AllowQuickCustomization = false;
             bar1.OptionsBar.DrawBorder = false;
             bar1.OptionsBar.RotateWhenVertical = false;
@@ -147,24 +224,6 @@
             barBtnHelp.SuperTip = superToolTip1;
             barBtnHelp.ItemClick += barBtnHelp_ItemClick;
             // 
-            // barBtnDirect
-            // 
-            barBtnDirect.Caption = "璺宠浆";
-            barBtnDirect.Id = 15;
-            barBtnDirect.ImageOptions.SvgImage = (DevExpress.Utils.Svg.SvgImage)resources.GetObject("barBtnDirect.ImageOptions.SvgImage");
-            barBtnDirect.ImageOptions.SvgImageSize = new Size(24, 20);
-            barBtnDirect.ItemAppearance.Normal.FontSizeDelta = 2;
-            barBtnDirect.ItemAppearance.Normal.FontStyleDelta = FontStyle.Bold;
-            barBtnDirect.ItemAppearance.Normal.Options.UseFont = true;
-            barBtnDirect.Name = "barBtnDirect";
-            barBtnDirect.PaintStyle = DevExpress.XtraBars.BarItemPaintStyle.CaptionGlyph;
-            toolTipItem2.AllowHtmlText = DevExpress.Utils.DefaultBoolean.True;
-            toolTipItem2.Text = "璺宠浆";
-            superToolTip2.Items.Add(toolTipItem2);
-            barBtnDirect.SuperTip = superToolTip2;
-            barBtnDirect.Visibility = DevExpress.XtraBars.BarItemVisibility.Never;
-            barBtnDirect.ItemClick += barBtnDirect_ItemClick;
-            // 
             // barDockControlTop
             // 
             barDockControlTop.CausesValidation = false;
@@ -201,86 +260,6 @@
             barDockControlRight.Margin = new Padding(3, 4, 3, 4);
             barDockControlRight.Size = new Size(0, 775);
             // 
-            // propertyDescriptionControl1
-            // 
-            propertyDescriptionControl1.Location = new Point(2, 697);
-            propertyDescriptionControl1.Margin = new Padding(3, 4, 3, 4);
-            propertyDescriptionControl1.Name = "propertyDescriptionControl1";
-            propertyDescriptionControl1.PropertyGrid = propertyGridControl1;
-            propertyDescriptionControl1.Size = new Size(293, 76);
-            propertyDescriptionControl1.StyleController = layoutControl1;
-            propertyDescriptionControl1.TabIndex = 1;
-            propertyDescriptionControl1.TabStop = false;
-            // 
-            // layoutControlGroup1
-            // 
-            layoutControlGroup1.EnableIndentsWithoutBorders = DevExpress.Utils.DefaultBoolean.True;
-            layoutControlGroup1.GroupBordersVisible = false;
-            layoutControlGroup1.Items.AddRange(new DevExpress.XtraLayout.BaseLayoutItem[] { layoutProperty, layoutDescription, splitterItem1 });
-            layoutControlGroup1.Name = "Root";
-            layoutControlGroup1.Padding = new DevExpress.XtraLayout.Utils.Padding(0, 0, 0, 0);
-            layoutControlGroup1.Size = new Size(297, 775);
-            layoutControlGroup1.TextVisible = false;
-            // 
-            // splitterItem1
-            // 
-            splitterItem1.AllowHotTrack = true;
-            splitterItem1.Location = new Point(0, 683);
-            splitterItem1.Name = "splitterItem1";
-            splitterItem1.Size = new Size(297, 12);
-            // 
-            // layoutDescription
-            // 
-            layoutDescription.Control = propertyDescriptionControl1;
-            layoutDescription.Location = new Point(0, 695);
-            layoutDescription.Name = "layoutDescription";
-            layoutDescription.Size = new Size(297, 80);
-            layoutDescription.TextSize = new Size(0, 0);
-            layoutDescription.TextVisible = false;
-            // 
-            // layoutProperty
-            // 
-            layoutProperty.Control = propertyGridControl1;
-            layoutProperty.Location = new Point(0, 0);
-            layoutProperty.Name = "layoutProperty";
-            layoutProperty.Size = new Size(297, 683);
-            layoutProperty.TextSize = new Size(0, 0);
-            layoutProperty.TextVisible = false;
-            // 
-            // propertyGridControl1
-            // 
-            propertyGridControl1.Appearance.FocusedCell.BackColor = Color.FromArgb(0, 122, 204);
-            propertyGridControl1.Appearance.FocusedCell.ForeColor = Color.White;
-            propertyGridControl1.Appearance.FocusedCell.Options.UseBackColor = true;
-            propertyGridControl1.Appearance.FocusedCell.Options.UseForeColor = true;
-            propertyGridControl1.Appearance.FocusedRow.BackColor = Color.FromArgb(0, 122, 204);
-            propertyGridControl1.Appearance.FocusedRow.ForeColor = Color.White;
-            propertyGridControl1.Appearance.FocusedRow.Options.UseBackColor = true;
-            propertyGridControl1.Appearance.FocusedRow.Options.UseForeColor = true;
-            propertyGridControl1.Appearance.ReadOnlyRecordValue.ForeColor = Color.Black;
-            propertyGridControl1.Appearance.ReadOnlyRecordValue.Options.UseForeColor = true;
-            propertyGridControl1.Appearance.ReadOnlyRow.ForeColor = Color.Black;
-            propertyGridControl1.Appearance.ReadOnlyRow.Options.UseForeColor = true;
-            propertyGridControl1.BorderStyle = DevExpress.XtraEditors.Controls.BorderStyles.NoBorder;
-            propertyGridControl1.Location = new Point(2, 2);
-            propertyGridControl1.Margin = new Padding(3, 4, 3, 4);
-            propertyGridControl1.Name = "propertyGridControl1";
-            propertyGridControl1.OptionsBehavior.Editable = false;
-            propertyGridControl1.OptionsBehavior.PropertySort = DevExpress.XtraVerticalGrid.PropertySort.NoSort;
-            propertyGridControl1.OptionsHint.ShowRowHeaderHints = false;
-            propertyGridControl1.OptionsView.AllowReadOnlyRowAppearance = DevExpress.Utils.DefaultBoolean.True;
-            propertyGridControl1.OptionsView.MinRowAutoHeight = 13;
-            propertyGridControl1.OptionsView.ShowRootCategories = false;
-            propertyGridControl1.RecordWidth = 120;
-            propertyGridControl1.RowHeaderWidth = 80;
-            propertyGridControl1.Size = new Size(293, 679);
-            propertyGridControl1.TabIndex = 0;
-            propertyGridControl1.CustomRecordCellEdit += propertyGridControl1_CustomRecordCellEdit;
-            propertyGridControl1.CustomDrawRowValueCell += propertyGridControl1_CustomDrawRowValueCell;
-            propertyGridControl1.ShowingEditor += propertyGridControl1_ShowingEditor;
-            propertyGridControl1.CellValueChanging += propertyGridControl1_CellValueChanging;
-            propertyGridControl1.CellValueChanged += propertyGridControl1_CellValueChanged;
-            // 
             // HomePbsProjectPropertyCtrl
             // 
             AutoScaleDimensions = new SizeF(8F, 18F);
@@ -295,13 +274,13 @@
             Size = new Size(297, 810);
             ((ISupportInitialize)layoutControl1).EndInit();
             layoutControl1.ResumeLayout(false);
-            ((ISupportInitialize)barManager1).EndInit();
-            ((ISupportInitialize)layoutControlGroup1).EndInit();
-            ((ISupportInitialize)splitterItem1).EndInit();
-            ((ISupportInitialize)layoutDescription).EndInit();
-            ((ISupportInitialize)bindingSource1).EndInit();
-            ((ISupportInitialize)layoutProperty).EndInit();
             ((ISupportInitialize)propertyGridControl1).EndInit();
+            ((ISupportInitialize)layoutControlGroup1).EndInit();
+            ((ISupportInitialize)layoutProperty).EndInit();
+            ((ISupportInitialize)layoutDescription).EndInit();
+            ((ISupportInitialize)splitterItem1).EndInit();
+            ((ISupportInitialize)barManager1).EndInit();
+            ((ISupportInitialize)bindingSource1).EndInit();
             ResumeLayout(false);
             PerformLayout();
         }
@@ -322,7 +301,6 @@
         private DevExpress.XtraBars.Bar bar1;
         private DevExpress.XtraBars.BarButtonItem barBtnExpandAll;
         private DevExpress.XtraBars.BarButtonItem barBtnCollpseAll;
-        private DevExpress.XtraBars.BarButtonItem barBtnDirect;
         private BindingSource bindingSource1;
         private DevExpress.XtraVerticalGrid.PropertyGridControl propertyGridControl1;
         private DevExpress.XtraLayout.LayoutControlItem layoutProperty;

--
Gitblit v1.9.3