From 701340a6acf3cccc33864d0e1a1053870b2238bb Mon Sep 17 00:00:00 2001 From: Shuxia Ning <NingShuxia0927@outlook.com> Date: 星期一, 23 十二月 2024 10:25:58 +0800 Subject: [PATCH] 查询线 --- WinFrmUI/HStation.WinFrmUI.PhartRelation.Core/02-universal/01-view/UniversalChartViewCtrl.Designer.cs | 89 +++++++++++++++++++++++++++++++++++++++++++- 1 files changed, 87 insertions(+), 2 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 61d8c9b..ff4a1e1 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,7 +28,16 @@ /// </summary> private void InitializeComponent() { + components = new System.ComponentModel.Container(); universalViewChart1 = new Yw.WinFrmUI.Phart.UniversalViewChart(); + barManager1 = new DevExpress.XtraBars.BarManager(components); + 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(); + ((System.ComponentModel.ISupportInitialize)barManager1).BeginInit(); SuspendLayout(); // // universalViewChart1 @@ -37,23 +46,99 @@ universalViewChart1.AxisYTitle = "鎵▼/m"; universalViewChart1.Dock = DockStyle.Fill; universalViewChart1.LineVisible = true; - universalViewChart1.Location = new Point(0, 0); + universalViewChart1.Location = new Point(0, 33); universalViewChart1.Name = "universalViewChart1"; - universalViewChart1.Size = new Size(954, 795); + 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 }); + barManager1.MainMenu = bar2; + barManager1.MaxItemId = 1; + // + // 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); + // + // bar2 + // + 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; // // 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; } } -- Gitblit v1.9.3