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 | 110 +++++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 files changed, 110 insertions(+), 0 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 b771e8b..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 @@ -28,17 +28,127 @@ /// </summary> private void InitializeComponent() { + 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(); + barSetCoordinate = new DevExpress.XtraBars.BarButtonItem(); + ((System.ComponentModel.ISupportInitialize)barManager1).BeginInit(); SuspendLayout(); + // + // universalViewChart1 + // + universalViewChart1.AxisXTitle = "娴侀噺 锛坢鲁/h锛�"; + universalViewChart1.AxisYTitle = "鎵▼/m"; + universalViewChart1.Dock = DockStyle.Fill; + universalViewChart1.LineVisible = false; + universalViewChart1.Location = new Point(0, 33); + universalViewChart1.Name = "universalViewChart1"; + universalViewChart1.Size = new Size(954, 762); + universalViewChart1.TabIndex = 0; + // + // barManager1 + // + barManager1.Bars.AddRange(new DevExpress.XtraBars.Bar[] { bar2 }); + 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[] { barCekLineVisible, barSetCoordinate }); + barManager1.MainMenu = bar2; + 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 + // + barDockControlTop.CausesValidation = false; + barDockControlTop.Dock = DockStyle.Top; + barDockControlTop.Location = new Point(0, 0); + barDockControlTop.Manager = barManager1; + barDockControlTop.Size = new Size(954, 33); + // + // barDockControlBottom + // + barDockControlBottom.CausesValidation = false; + barDockControlBottom.Dock = DockStyle.Bottom; + barDockControlBottom.Location = new Point(0, 795); + barDockControlBottom.Manager = barManager1; + barDockControlBottom.Size = new Size(954, 0); + // + // barDockControlLeft + // + barDockControlLeft.CausesValidation = false; + barDockControlLeft.Dock = DockStyle.Left; + barDockControlLeft.Location = new Point(0, 33); + barDockControlLeft.Manager = barManager1; + barDockControlLeft.Size = new Size(0, 762); + // + // barDockControlRight + // + barDockControlRight.CausesValidation = false; + barDockControlRight.Dock = DockStyle.Right; + barDockControlRight.Location = new Point(954, 33); + barDockControlRight.Manager = barManager1; + barDockControlRight.Size = new Size(0, 762); + // + // barSetCoordinate + // + barSetCoordinate.Caption = "鍧愭爣"; + barSetCoordinate.Id = 1; + barSetCoordinate.Name = "barSetCoordinate"; + barSetCoordinate.ItemClick += barSetCoordinate_ItemClick; // // UniversalChartViewCtrl // AutoScaleDimensions = new SizeF(10F, 22F); AutoScaleMode = AutoScaleMode.Font; + Controls.Add(universalViewChart1); + Controls.Add(barDockControlLeft); + Controls.Add(barDockControlRight); + Controls.Add(barDockControlBottom); + Controls.Add(barDockControlTop); Name = "UniversalChartViewCtrl"; Size = new Size(954, 795); + ((System.ComponentModel.ISupportInitialize)barManager1).EndInit(); ResumeLayout(false); + PerformLayout(); } #endregion + + private Yw.WinFrmUI.Phart.UniversalViewChart universalViewChart1; + private DevExpress.XtraBars.BarManager barManager1; + private DevExpress.XtraBars.Bar bar2; + private DevExpress.XtraBars.BarCheckItem barCekLineVisible; + private DevExpress.XtraBars.BarDockControl barDockControlTop; + private DevExpress.XtraBars.BarDockControl barDockControlBottom; + private DevExpress.XtraBars.BarDockControl barDockControlLeft; + private DevExpress.XtraBars.BarDockControl barDockControlRight; + private DevExpress.XtraBars.BarButtonItem barSetCoordinate; } } -- Gitblit v1.9.3