From 46f64905a3c309a50c0f245b3350cdeb8dd699c6 Mon Sep 17 00:00:00 2001
From: lixiaojun <1287241240@qq.com>
Date: 星期三, 22 一月 2025 17:29:02 +0800
Subject: [PATCH] 计算优化

---
 WinFrmUI/HStation.WinFrmUI.PhartRelation.Core/02-universal/01-view/UniversalChartViewCtrl.Designer.cs |   55 +++++++++++++++++++++++++++++++++----------------------
 1 files changed, 33 insertions(+), 22 deletions(-)

diff --git a/WinFrmUI/HStation.WinFrmUI.PhartRelation.Core/02-universal/01-view/UniversalChartViewCtrl.Designer.cs b/WinFrmUI/HStation.WinFrmUI.PhartRelation.Core/02-universal/01-view/UniversalChartViewCtrl.Designer.cs
index 0d4486a..d28409b 100644
--- a/WinFrmUI/HStation.WinFrmUI.PhartRelation.Core/02-universal/01-view/UniversalChartViewCtrl.Designer.cs
+++ b/WinFrmUI/HStation.WinFrmUI.PhartRelation.Core/02-universal/01-view/UniversalChartViewCtrl.Designer.cs
@@ -31,12 +31,13 @@
             components = new System.ComponentModel.Container();
             universalViewChart1 = new Yw.WinFrmUI.Phart.UniversalViewChart();
             barManager1 = new DevExpress.XtraBars.BarManager(components);
+            bar2 = new DevExpress.XtraBars.Bar();
+            barCekLineVisible = new DevExpress.XtraBars.BarCheckItem();
             barDockControlTop = new DevExpress.XtraBars.BarDockControl();
             barDockControlBottom = new DevExpress.XtraBars.BarDockControl();
             barDockControlLeft = new DevExpress.XtraBars.BarDockControl();
             barDockControlRight = new DevExpress.XtraBars.BarDockControl();
-            bar2 = new DevExpress.XtraBars.Bar();
-            barCekLineVisible = new DevExpress.XtraBars.BarCheckItem();
+            barSetCoordinate = new DevExpress.XtraBars.BarButtonItem();
             ((System.ComponentModel.ISupportInitialize)barManager1).BeginInit();
             SuspendLayout();
             // 
@@ -44,7 +45,8 @@
             // 
             universalViewChart1.AxisXTitle = "娴侀噺 锛坢鲁/h锛�";
             universalViewChart1.AxisYTitle = "鎵▼/m";
-            universalViewChart1.Dock = DockStyle.Fill; 
+            universalViewChart1.Dock = DockStyle.Fill;
+            universalViewChart1.LineVisible = false;
             universalViewChart1.Location = new Point(0, 33);
             universalViewChart1.Name = "universalViewChart1";
             universalViewChart1.Size = new Size(954, 762);
@@ -58,9 +60,29 @@
             barManager1.DockControls.Add(barDockControlLeft);
             barManager1.DockControls.Add(barDockControlRight);
             barManager1.Form = this;
-            barManager1.Items.AddRange(new DevExpress.XtraBars.BarItem[] { barCekLineVisible });
+            barManager1.Items.AddRange(new DevExpress.XtraBars.BarItem[] { barCekLineVisible, barSetCoordinate });
             barManager1.MainMenu = bar2;
-            barManager1.MaxItemId = 1;
+            barManager1.MaxItemId = 2;
+            // 
+            // bar2
+            // 
+            bar2.BarName = "Main menu";
+            bar2.DockCol = 0;
+            bar2.DockRow = 0;
+            bar2.DockStyle = DevExpress.XtraBars.BarDockStyle.Top;
+            bar2.LinksPersistInfo.AddRange(new DevExpress.XtraBars.LinkPersistInfo[] { new DevExpress.XtraBars.LinkPersistInfo(barCekLineVisible), new DevExpress.XtraBars.LinkPersistInfo(barSetCoordinate) });
+            bar2.OptionsBar.DrawDragBorder = false;
+            bar2.OptionsBar.MultiLine = true;
+            bar2.OptionsBar.UseWholeRow = true;
+            bar2.Text = "Main menu";
+            // 
+            // barCekLineVisible
+            // 
+            barCekLineVisible.Caption = "鏌ヨ绾�";
+            barCekLineVisible.CheckBoxVisibility = DevExpress.XtraBars.CheckBoxVisibility.BeforeText;
+            barCekLineVisible.Id = 0;
+            barCekLineVisible.Name = "barCekLineVisible";
+            barCekLineVisible.CheckedChanged += barCekLineVisible_CheckedChanged;
             // 
             // barDockControlTop
             // 
@@ -94,24 +116,12 @@
             barDockControlRight.Manager = barManager1;
             barDockControlRight.Size = new Size(0, 762);
             // 
-            // bar2
+            // barSetCoordinate
             // 
-            bar2.BarName = "Main menu";
-            bar2.DockCol = 0;
-            bar2.DockStyle = DevExpress.XtraBars.BarDockStyle.Top;
-            bar2.LinksPersistInfo.AddRange(new DevExpress.XtraBars.LinkPersistInfo[] { new DevExpress.XtraBars.LinkPersistInfo(barCekLineVisible) });
-            bar2.OptionsBar.DrawDragBorder = false;
-            bar2.OptionsBar.MultiLine = true;
-            bar2.OptionsBar.UseWholeRow = true;
-            bar2.Text = "Main menu";
-            // 
-            // barCekLineVisible
-            // 
-            barCekLineVisible.Caption = "鏌ヨ绾�";
-            barCekLineVisible.CheckBoxVisibility = DevExpress.XtraBars.CheckBoxVisibility.BeforeText;
-            barCekLineVisible.Id = 0;
-            barCekLineVisible.Name = "barCekLineVisible";
-            barCekLineVisible.CheckedChanged += barCekLineVisible_CheckedChanged;
+            barSetCoordinate.Caption = "鍧愭爣";
+            barSetCoordinate.Id = 1;
+            barSetCoordinate.Name = "barSetCoordinate";
+            barSetCoordinate.ItemClick += barSetCoordinate_ItemClick;
             // 
             // UniversalChartViewCtrl
             // 
@@ -139,5 +149,6 @@
         private DevExpress.XtraBars.BarDockControl barDockControlBottom;
         private DevExpress.XtraBars.BarDockControl barDockControlLeft;
         private DevExpress.XtraBars.BarDockControl barDockControlRight;
+        private DevExpress.XtraBars.BarButtonItem barSetCoordinate;
     }
 }

--
Gitblit v1.9.3