From 3816b7dfff85051c09a99f2e49196a731ce994a5 Mon Sep 17 00:00:00 2001 From: duheng <2784771470@qq.com> Date: 星期四, 19 九月 2024 10:03:59 +0800 Subject: [PATCH] 添加图表显示窗体 --- WinFrmUI/HStation.WinFrmUI.Xhs.Core/04-simulation/06-simulation/01-AutoMatching/AssetsAutoMatchingMainDlg.Designer.cs | 156 ++++++++++++--------------------------------------- 1 files changed, 38 insertions(+), 118 deletions(-) diff --git a/WinFrmUI/HStation.WinFrmUI.Xhs.Core/03-scheme/02-asset-mgr/PumpMain_Wizrad/ChoicePumpMainDlg.Designer.cs b/WinFrmUI/HStation.WinFrmUI.Xhs.Core/04-simulation/06-simulation/01-AutoMatching/AssetsAutoMatchingMainDlg.Designer.cs similarity index 64% rename from WinFrmUI/HStation.WinFrmUI.Xhs.Core/03-scheme/02-asset-mgr/PumpMain_Wizrad/ChoicePumpMainDlg.Designer.cs rename to WinFrmUI/HStation.WinFrmUI.Xhs.Core/04-simulation/06-simulation/01-AutoMatching/AssetsAutoMatchingMainDlg.Designer.cs index f495d5e..eb5d8aa 100644 --- a/WinFrmUI/HStation.WinFrmUI.Xhs.Core/03-scheme/02-asset-mgr/PumpMain_Wizrad/ChoicePumpMainDlg.Designer.cs +++ b/WinFrmUI/HStation.WinFrmUI.Xhs.Core/04-simulation/06-simulation/01-AutoMatching/AssetsAutoMatchingMainDlg.Designer.cs @@ -1,6 +1,6 @@ 锘縩amespace HStation.WinFrmUI.Xhs { - partial class ChoicePumpMainDlg + partial class AssetsAutoMatchingMainDlg { /// <summary> /// Required designer variable. @@ -28,43 +28,38 @@ /// </summary> private void InitializeComponent() { - ComponentResourceManager resources = new ComponentResourceManager(typeof(ChoicePumpMainDlg)); layoutControl1 = new DevExpress.XtraLayout.LayoutControl(); btnComplete = new SimpleButton(); navigationFrame1 = new DevExpress.XtraBars.Navigation.NavigationFrame(); navigationPage1 = new DevExpress.XtraBars.Navigation.NavigationPage(); pumpMainChoicePage = new PumpMainChoicePage(); navigationPage2 = new DevExpress.XtraBars.Navigation.NavigationPage(); - valveChoicePage1 = new ValveChoicePage(); - btnPrev = new SimpleButton(); + btnPrev = new SimpleButton(); btnNext = new SimpleButton(); - stepProgressBar1 = new StepProgressBar(); - stepPbSelectModelFile = new StepProgressBarItem(); - stepPbSetMapLocation = new StepProgressBarItem(); btnCancel = new SimpleButton(); + simpleButton1 = new SimpleButton(); Root = new DevExpress.XtraLayout.LayoutControlGroup(); - layoutControlItem1 = new DevExpress.XtraLayout.LayoutControlItem(); layoutControlItem2 = new DevExpress.XtraLayout.LayoutControlItem(); emptySpaceItem1 = new DevExpress.XtraLayout.EmptySpaceItem(); itemForComplete = new DevExpress.XtraLayout.LayoutControlItem(); itemForCancel = new DevExpress.XtraLayout.LayoutControlItem(); itemForNext = new DevExpress.XtraLayout.LayoutControlItem(); itemForPrev = new DevExpress.XtraLayout.LayoutControlItem(); + layoutControlItem3 = new DevExpress.XtraLayout.LayoutControlItem(); ((ISupportInitialize)layoutControl1).BeginInit(); layoutControl1.SuspendLayout(); ((ISupportInitialize)navigationFrame1).BeginInit(); navigationFrame1.SuspendLayout(); navigationPage1.SuspendLayout(); navigationPage2.SuspendLayout(); - ((ISupportInitialize)stepProgressBar1).BeginInit(); ((ISupportInitialize)Root).BeginInit(); - ((ISupportInitialize)layoutControlItem1).BeginInit(); ((ISupportInitialize)layoutControlItem2).BeginInit(); ((ISupportInitialize)emptySpaceItem1).BeginInit(); ((ISupportInitialize)itemForComplete).BeginInit(); ((ISupportInitialize)itemForCancel).BeginInit(); ((ISupportInitialize)itemForNext).BeginInit(); ((ISupportInitialize)itemForPrev).BeginInit(); + ((ISupportInitialize)layoutControlItem3).BeginInit(); SuspendLayout(); // // layoutControl1 @@ -73,8 +68,8 @@ layoutControl1.Controls.Add(navigationFrame1); layoutControl1.Controls.Add(btnPrev); layoutControl1.Controls.Add(btnNext); - layoutControl1.Controls.Add(stepProgressBar1); layoutControl1.Controls.Add(btnCancel); + layoutControl1.Controls.Add(simpleButton1); layoutControl1.Dock = DockStyle.Fill; layoutControl1.Location = new Point(0, 0); layoutControl1.Name = "layoutControl1"; @@ -102,11 +97,11 @@ // navigationFrame1.Controls.Add(navigationPage1); navigationFrame1.Controls.Add(navigationPage2); - navigationFrame1.Location = new Point(12, 86); + navigationFrame1.Location = new Point(12, 38); navigationFrame1.Name = "navigationFrame1"; navigationFrame1.Pages.AddRange(new DevExpress.XtraBars.Navigation.NavigationPageBase[] { navigationPage1, navigationPage2 }); navigationFrame1.SelectedPage = navigationPage1; - navigationFrame1.Size = new Size(1051, 457); + navigationFrame1.Size = new Size(1051, 505); navigationFrame1.TabIndex = 2; navigationFrame1.Text = "navigationFrame1"; // @@ -115,124 +110,44 @@ navigationPage1.Caption = "navigationPage1"; navigationPage1.Controls.Add(pumpMainChoicePage); navigationPage1.Name = "navigationPage1"; - navigationPage1.Size = new Size(1051, 457); + navigationPage1.Size = new Size(1051, 505); // // pumpMainChoicePage // pumpMainChoicePage.Dock = DockStyle.Fill; pumpMainChoicePage.Location = new Point(0, 0); pumpMainChoicePage.Name = "pumpMainChoicePage"; - pumpMainChoicePage.Size = new Size(1051, 457); + pumpMainChoicePage.Size = new Size(1051, 505); pumpMainChoicePage.TabIndex = 0; // - // navigationPage2 + // + // + // + // + // simpleButton1 // - navigationPage2.Caption = "navigationPage2"; - navigationPage2.Controls.Add(valveChoicePage1); - navigationPage2.Name = "navigationPage2"; - navigationPage2.Size = new Size(1051, 457); - // - // valveChoicePage1 - // - valveChoicePage1.Dock = DockStyle.Top; - valveChoicePage1.Location = new Point(0, 0); - valveChoicePage1.Name = "valveChoicePage1"; - valveChoicePage1.Size = new Size(1051, 150); - valveChoicePage1.TabIndex = 0; - // - // btnPrev - // - btnPrev.Appearance.BackColor = DevExpress.LookAndFeel.DXSkinColors.FillColors.Question; - btnPrev.Appearance.Options.UseBackColor = true; - btnPrev.Location = new Point(635, 547); - btnPrev.MinimumSize = new Size(104, 0); - btnPrev.Name = "btnPrev"; - btnPrev.Size = new Size(104, 22); - btnPrev.StyleController = layoutControl1; - btnPrev.TabIndex = 5; - btnPrev.Text = "<涓婁竴姝�"; - btnPrev.Click += btnPrev_Click; - // - // btnNext - // - btnNext.Appearance.BackColor = DevExpress.LookAndFeel.DXSkinColors.FillColors.Warning; - btnNext.Appearance.Options.UseBackColor = true; - btnNext.Location = new Point(743, 547); - btnNext.MaximumSize = new Size(104, 0); - btnNext.MinimumSize = new Size(104, 0); - btnNext.Name = "btnNext"; - btnNext.Size = new Size(104, 22); - btnNext.StyleController = layoutControl1; - btnNext.TabIndex = 4; - btnNext.Text = "涓嬩竴姝�>"; - btnNext.Click += btnNext_Click; - // - // stepProgressBar1 - // - stepProgressBar1.ContentAlignment = ContentAlignment.MiddleLeft; - stepProgressBar1.ItemOptions.Indicator.ActiveStateImageOptions.SvgImage = (DevExpress.Utils.Svg.SvgImage)resources.GetObject("stepProgressBar1.ItemOptions.Indicator.ActiveStateImageOptions.SvgImage"); - stepProgressBar1.ItemOptions.Indicator.ActiveStateImageOptions.SvgImageSize = new Size(20, 20); - stepProgressBar1.Items.Add(stepPbSelectModelFile); - stepProgressBar1.Items.Add(stepPbSetMapLocation); - stepProgressBar1.Location = new Point(12, 12); - stepProgressBar1.MaximumSize = new Size(900, 70); - stepProgressBar1.MinimumSize = new Size(900, 70); - stepProgressBar1.Name = "stepProgressBar1"; - stepProgressBar1.SelectedItemIndex = 0; - stepProgressBar1.Size = new Size(900, 70); - stepProgressBar1.StyleController = layoutControl1; - stepProgressBar1.TabIndex = 0; - stepProgressBar1.Visible = false; - // - // stepPbSelectModelFile - // - stepPbSelectModelFile.ContentBlock2.Caption = "娉靛瀷鍙峰尮閰�"; - stepPbSelectModelFile.Name = "stepPbSelectModelFile"; - stepPbSelectModelFile.State = StepProgressBarItemState.Active; - // - // stepPbSetMapLocation - // - stepPbSetMapLocation.ContentBlock2.Caption = "闃�闂ㄥ尮閰�"; - stepPbSetMapLocation.Name = "stepPbSetMapLocation"; - // - // btnCancel - // - btnCancel.Appearance.BackColor = DevExpress.LookAndFeel.DXSkinColors.FillColors.Danger; - btnCancel.Appearance.Options.UseBackColor = true; - btnCancel.Location = new Point(851, 547); - btnCancel.MaximumSize = new Size(104, 0); - btnCancel.MinimumSize = new Size(104, 0); - btnCancel.Name = "btnCancel"; - btnCancel.Size = new Size(104, 22); - btnCancel.StyleController = layoutControl1; - btnCancel.TabIndex = 3; - btnCancel.Text = "鍙栨秷"; - btnCancel.Click += btnCancel_Click; + simpleButton1.Location = new Point(12, 12); + simpleButton1.Name = "simpleButton1"; + simpleButton1.Size = new Size(1051, 22); + simpleButton1.StyleController = layoutControl1; + simpleButton1.TabIndex = 7; + simpleButton1.Text = "simpleButton1"; // // Root // Root.EnableIndentsWithoutBorders = DevExpress.Utils.DefaultBoolean.True; Root.GroupBordersVisible = false; - Root.Items.AddRange(new DevExpress.XtraLayout.BaseLayoutItem[] { layoutControlItem1, layoutControlItem2, emptySpaceItem1, itemForComplete, itemForCancel, itemForNext, itemForPrev }); + Root.Items.AddRange(new DevExpress.XtraLayout.BaseLayoutItem[] { layoutControlItem2, emptySpaceItem1, itemForComplete, itemForCancel, itemForNext, itemForPrev, layoutControlItem3 }); Root.Name = "Root"; Root.Size = new Size(1075, 581); Root.TextVisible = false; // - // layoutControlItem1 - // - layoutControlItem1.Control = stepProgressBar1; - layoutControlItem1.Location = new Point(0, 0); - layoutControlItem1.Name = "layoutControlItem1"; - layoutControlItem1.Size = new Size(1055, 74); - layoutControlItem1.TextSize = new Size(0, 0); - layoutControlItem1.TextVisible = false; - // // layoutControlItem2 // layoutControlItem2.Control = navigationFrame1; - layoutControlItem2.Location = new Point(0, 74); + layoutControlItem2.Location = new Point(0, 26); layoutControlItem2.Name = "layoutControlItem2"; - layoutControlItem2.Size = new Size(1055, 461); + layoutControlItem2.Size = new Size(1055, 509); layoutControlItem2.TextSize = new Size(0, 0); layoutControlItem2.TextVisible = false; // @@ -292,13 +207,22 @@ itemForPrev.TextSize = new Size(0, 0); itemForPrev.TextVisible = false; // - // ChoicePumpMainDlg + // layoutControlItem3 + // + layoutControlItem3.Control = simpleButton1; + layoutControlItem3.Location = new Point(0, 0); + layoutControlItem3.Name = "layoutControlItem3"; + layoutControlItem3.Size = new Size(1055, 26); + layoutControlItem3.TextSize = new Size(0, 0); + layoutControlItem3.TextVisible = false; + // + // AssetsAutoMatchingMainDlg // AutoScaleDimensions = new SizeF(7F, 14F); AutoScaleMode = AutoScaleMode.Font; ClientSize = new Size(1075, 581); Controls.Add(layoutControl1); - Name = "ChoicePumpMainDlg"; + Name = "AssetsAutoMatchingMainDlg"; StartPosition = FormStartPosition.CenterScreen; Text = "娉靛瀷鍙烽�夋嫨"; ((ISupportInitialize)layoutControl1).EndInit(); @@ -307,15 +231,14 @@ navigationFrame1.ResumeLayout(false); navigationPage1.ResumeLayout(false); navigationPage2.ResumeLayout(false); - ((ISupportInitialize)stepProgressBar1).EndInit(); ((ISupportInitialize)Root).EndInit(); - ((ISupportInitialize)layoutControlItem1).EndInit(); ((ISupportInitialize)layoutControlItem2).EndInit(); ((ISupportInitialize)emptySpaceItem1).EndInit(); ((ISupportInitialize)itemForComplete).EndInit(); ((ISupportInitialize)itemForCancel).EndInit(); ((ISupportInitialize)itemForNext).EndInit(); ((ISupportInitialize)itemForPrev).EndInit(); + ((ISupportInitialize)layoutControlItem3).EndInit(); ResumeLayout(false); } @@ -326,10 +249,6 @@ private DevExpress.XtraBars.Navigation.NavigationFrame navigationFrame1; private DevExpress.XtraBars.Navigation.NavigationPage navigationPage1; private DevExpress.XtraBars.Navigation.NavigationPage navigationPage2; - private DevExpress.XtraEditors.StepProgressBar stepProgressBar1; - private DevExpress.XtraEditors.StepProgressBarItem stepPbSelectModelFile; - private DevExpress.XtraEditors.StepProgressBarItem stepPbSetMapLocation; - private DevExpress.XtraLayout.LayoutControlItem layoutControlItem1; private DevExpress.XtraLayout.LayoutControlItem layoutControlItem2; private DevExpress.XtraEditors.SimpleButton btnComplete; private DevExpress.XtraEditors.SimpleButton btnPrev; @@ -341,6 +260,7 @@ private DevExpress.XtraLayout.LayoutControlItem itemForPrev; private DevExpress.XtraLayout.EmptySpaceItem emptySpaceItem1; private PumpMainChoicePage pumpMainChoicePage; - private ValveChoicePage valveChoicePage1; + private SimpleButton simpleButton1; + private DevExpress.XtraLayout.LayoutControlItem layoutControlItem3; } } \ No newline at end of file -- Gitblit v1.9.3