From 819d81bf994c10c8cd0252ebb8c6660eb4c82166 Mon Sep 17 00:00:00 2001 From: Shuxia Ning <NingShuxia0927@outlook.com> Date: 星期六, 12 十月 2024 17:47:59 +0800 Subject: [PATCH] 曲线 --- WinFrmUI/Yw.WinFrmUI.Phart.Core/01-perform/01-pump-chart/01-chart/03-serial-parallel/PumpSerialParallelChart.Designer.cs | 405 +++++++++++++++++++++++++++++---------------------------- 1 files changed, 206 insertions(+), 199 deletions(-) diff --git a/WinFrmUI/Yw.WinFrmUI.Phart.Core/01-perform/01-pump-chart/01-chart/03-serial-parallel/PumpSerialParallelChart.Designer.cs b/WinFrmUI/Yw.WinFrmUI.Phart.Core/01-perform/01-pump-chart/01-chart/03-serial-parallel/PumpSerialParallelChart.Designer.cs index d5192bf..2eafe6b 100644 --- a/WinFrmUI/Yw.WinFrmUI.Phart.Core/01-perform/01-pump-chart/01-chart/03-serial-parallel/PumpSerialParallelChart.Designer.cs +++ b/WinFrmUI/Yw.WinFrmUI.Phart.Core/01-perform/01-pump-chart/01-chart/03-serial-parallel/PumpSerialParallelChart.Designer.cs @@ -29,21 +29,21 @@ private void InitializeComponent() { components = new System.ComponentModel.Container(); - DevExpress.XtraCharts.TextAnnotation textAnnotation2 = new DevExpress.XtraCharts.TextAnnotation(); - DevExpress.XtraCharts.ChartAnchorPoint chartAnchorPoint2 = new DevExpress.XtraCharts.ChartAnchorPoint(); - DevExpress.XtraCharts.RelativePosition relativePosition2 = new DevExpress.XtraCharts.RelativePosition(); - DevExpress.XtraCharts.XYDiagram xyDiagram2 = new DevExpress.XtraCharts.XYDiagram(); - DevExpress.XtraCharts.ConstantLine constantLine2 = new DevExpress.XtraCharts.ConstantLine(); - DevExpress.XtraCharts.XYDiagramPane xyDiagramPane3 = new DevExpress.XtraCharts.XYDiagramPane(); - DevExpress.XtraCharts.XYDiagramPane xyDiagramPane4 = new DevExpress.XtraCharts.XYDiagramPane(); - DevExpress.XtraCharts.SecondaryAxisY secondaryAxisy3 = new DevExpress.XtraCharts.SecondaryAxisY(); - DevExpress.XtraCharts.SecondaryAxisY secondaryAxisy4 = new DevExpress.XtraCharts.SecondaryAxisY(); - DevExpress.XtraCharts.Series series4 = new DevExpress.XtraCharts.Series(); - DevExpress.XtraCharts.SplineSeriesView splineSeriesView4 = new DevExpress.XtraCharts.SplineSeriesView(); - DevExpress.XtraCharts.Series series5 = new DevExpress.XtraCharts.Series(); - DevExpress.XtraCharts.SplineSeriesView splineSeriesView5 = new DevExpress.XtraCharts.SplineSeriesView(); - DevExpress.XtraCharts.Series series6 = new DevExpress.XtraCharts.Series(); - DevExpress.XtraCharts.SplineSeriesView splineSeriesView6 = new DevExpress.XtraCharts.SplineSeriesView(); + DevExpress.XtraCharts.TextAnnotation textAnnotation1 = new DevExpress.XtraCharts.TextAnnotation(); + DevExpress.XtraCharts.ChartAnchorPoint chartAnchorPoint1 = new DevExpress.XtraCharts.ChartAnchorPoint(); + DevExpress.XtraCharts.RelativePosition relativePosition1 = new DevExpress.XtraCharts.RelativePosition(); + DevExpress.XtraCharts.XYDiagram xyDiagram1 = new DevExpress.XtraCharts.XYDiagram(); + DevExpress.XtraCharts.ConstantLine constantLine1 = new DevExpress.XtraCharts.ConstantLine(); + DevExpress.XtraCharts.XYDiagramPane xyDiagramPane1 = new DevExpress.XtraCharts.XYDiagramPane(); + DevExpress.XtraCharts.XYDiagramPane xyDiagramPane2 = new DevExpress.XtraCharts.XYDiagramPane(); + DevExpress.XtraCharts.SecondaryAxisY secondaryAxisy1 = new DevExpress.XtraCharts.SecondaryAxisY(); + DevExpress.XtraCharts.SecondaryAxisY secondaryAxisy2 = new DevExpress.XtraCharts.SecondaryAxisY(); + DevExpress.XtraCharts.Series series1 = new DevExpress.XtraCharts.Series(); + DevExpress.XtraCharts.SplineSeriesView splineSeriesView1 = new DevExpress.XtraCharts.SplineSeriesView(); + DevExpress.XtraCharts.Series series2 = new DevExpress.XtraCharts.Series(); + DevExpress.XtraCharts.SplineSeriesView splineSeriesView2 = new DevExpress.XtraCharts.SplineSeriesView(); + DevExpress.XtraCharts.Series series3 = new DevExpress.XtraCharts.Series(); + DevExpress.XtraCharts.SplineSeriesView splineSeriesView3 = new DevExpress.XtraCharts.SplineSeriesView(); System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(PumpSerialParallelChart)); chartControl1 = new DevExpress.XtraCharts.ChartControl(); popMenuChart = new DevExpress.XtraBars.PopupMenu(components); @@ -51,37 +51,37 @@ barCekCurveQHVisible = new DevExpress.XtraBars.BarCheckItem(); barCekCurveQEVisible = new DevExpress.XtraBars.BarCheckItem(); barCekCurveQPVisible = new DevExpress.XtraBars.BarCheckItem(); + barCekCurveEQVisible = new DevExpress.XtraBars.BarCheckItem(); barCekLineVisible = new DevExpress.XtraBars.BarCheckItem(); barCekCurveNameVisible = new DevExpress.XtraBars.BarCheckItem(); barCekSetAxisNameVisible = new DevExpress.XtraBars.BarCheckItem(); barCekLegendVisible = new DevExpress.XtraBars.BarCheckItem(); 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(); - barBtnSetAxisQValue = new DevExpress.XtraBars.BarButtonItem(); - barCekCurveEQVisible = new DevExpress.XtraBars.BarCheckItem(); - popMenuLine = new DevExpress.XtraBars.PopupMenu(components); - bar1 = new DevExpress.XtraBars.Bar(); barMenu = new DevExpress.XtraBars.Bar(); barSubMenuVisible = new DevExpress.XtraBars.BarSubItem(); barSubMenuEdit = new DevExpress.XtraBars.BarSubItem(); barSubMenuQuery = new DevExpress.XtraBars.BarSubItem(); + barBtnSetAxisQValue = new DevExpress.XtraBars.BarButtonItem(); + barDockControlTop = new DevExpress.XtraBars.BarDockControl(); + barDockControlBottom = new DevExpress.XtraBars.BarDockControl(); + barDockControlLeft = new DevExpress.XtraBars.BarDockControl(); + barDockControlRight = new DevExpress.XtraBars.BarDockControl(); + popMenuLine = new DevExpress.XtraBars.PopupMenu(components); + bar1 = new DevExpress.XtraBars.Bar(); ((System.ComponentModel.ISupportInitialize)chartControl1).BeginInit(); - ((System.ComponentModel.ISupportInitialize)textAnnotation2).BeginInit(); - ((System.ComponentModel.ISupportInitialize)xyDiagram2).BeginInit(); - ((System.ComponentModel.ISupportInitialize)constantLine2).BeginInit(); - ((System.ComponentModel.ISupportInitialize)xyDiagramPane3).BeginInit(); - ((System.ComponentModel.ISupportInitialize)xyDiagramPane4).BeginInit(); - ((System.ComponentModel.ISupportInitialize)secondaryAxisy3).BeginInit(); - ((System.ComponentModel.ISupportInitialize)secondaryAxisy4).BeginInit(); - ((System.ComponentModel.ISupportInitialize)series4).BeginInit(); - ((System.ComponentModel.ISupportInitialize)splineSeriesView4).BeginInit(); - ((System.ComponentModel.ISupportInitialize)series5).BeginInit(); - ((System.ComponentModel.ISupportInitialize)splineSeriesView5).BeginInit(); - ((System.ComponentModel.ISupportInitialize)series6).BeginInit(); - ((System.ComponentModel.ISupportInitialize)splineSeriesView6).BeginInit(); + ((System.ComponentModel.ISupportInitialize)textAnnotation1).BeginInit(); + ((System.ComponentModel.ISupportInitialize)xyDiagram1).BeginInit(); + ((System.ComponentModel.ISupportInitialize)constantLine1).BeginInit(); + ((System.ComponentModel.ISupportInitialize)xyDiagramPane1).BeginInit(); + ((System.ComponentModel.ISupportInitialize)xyDiagramPane2).BeginInit(); + ((System.ComponentModel.ISupportInitialize)secondaryAxisy1).BeginInit(); + ((System.ComponentModel.ISupportInitialize)secondaryAxisy2).BeginInit(); + ((System.ComponentModel.ISupportInitialize)series1).BeginInit(); + ((System.ComponentModel.ISupportInitialize)splineSeriesView1).BeginInit(); + ((System.ComponentModel.ISupportInitialize)series2).BeginInit(); + ((System.ComponentModel.ISupportInitialize)splineSeriesView2).BeginInit(); + ((System.ComponentModel.ISupportInitialize)series3).BeginInit(); + ((System.ComponentModel.ISupportInitialize)splineSeriesView3).BeginInit(); ((System.ComponentModel.ISupportInitialize)popMenuChart).BeginInit(); ((System.ComponentModel.ISupportInitialize)barManager1).BeginInit(); ((System.ComponentModel.ISupportInitialize)popMenuLine).BeginInit(); @@ -89,76 +89,76 @@ // // chartControl1 // - chartAnchorPoint2.X = 937; - chartAnchorPoint2.Y = 207; - textAnnotation2.AnchorPoint = chartAnchorPoint2; - textAnnotation2.AnnotationID = 0; - textAnnotation2.AutoHeight = true; - textAnnotation2.AutoWidth = true; - textAnnotation2.BackColor = Color.FromArgb(255, 255, 255); - textAnnotation2.ConnectorStyle = DevExpress.XtraCharts.AnnotationConnectorStyle.None; - textAnnotation2.Name = "TextAnnoWorkPoint"; - relativePosition2.Angle = -212.10625595511783D; - relativePosition2.ConnectorLength = 60.207972893961475D; - textAnnotation2.ShapePosition = relativePosition2; - textAnnotation2.Text = "宸ヤ綔鐐�"; - textAnnotation2.TextColor = Color.FromArgb(0, 0, 0); - chartControl1.AnnotationRepository.AddRange(new DevExpress.XtraCharts.Annotation[] { textAnnotation2 }); + chartAnchorPoint1.X = 937; + chartAnchorPoint1.Y = 207; + textAnnotation1.AnchorPoint = chartAnchorPoint1; + textAnnotation1.AnnotationID = 0; + textAnnotation1.AutoHeight = true; + textAnnotation1.AutoWidth = true; + textAnnotation1.BackColor = Color.FromArgb(255, 255, 255); + textAnnotation1.ConnectorStyle = DevExpress.XtraCharts.AnnotationConnectorStyle.None; + textAnnotation1.Name = "TextAnnoWorkPoint"; + relativePosition1.Angle = -212.10625595511783D; + relativePosition1.ConnectorLength = 60.207972893961475D; + textAnnotation1.ShapePosition = relativePosition1; + textAnnotation1.Text = "宸ヤ綔鐐�"; + textAnnotation1.TextColor = Color.FromArgb(0, 0, 0); + chartControl1.AnnotationRepository.AddRange(new DevExpress.XtraCharts.Annotation[] { textAnnotation1 }); chartControl1.BorderOptions.Visibility = DevExpress.Utils.DefaultBoolean.False; - constantLine2.AxisValueSerializable = "1"; - constantLine2.ConstantLineID = 0; - constantLine2.LineStyle.LineJoin = System.Drawing.Drawing2D.LineJoin.Miter; - constantLine2.LineStyle.Thickness = 2; - constantLine2.Name = "WorkPointLine"; - constantLine2.ShowInLegend = false; - constantLine2.Title.DXFont = new DevExpress.Drawing.DXFont("Tahoma", 8F); - constantLine2.Title.Text = "宸ヤ綔鐐�"; - xyDiagram2.AxisX.ConstantLines.AddRange(new DevExpress.XtraCharts.ConstantLine[] { constantLine2 }); - xyDiagram2.AxisX.Title.Text = "娴侀噺 锛坢鲁/h锛�"; - xyDiagram2.AxisX.Title.Visibility = DevExpress.Utils.DefaultBoolean.Default; - xyDiagram2.AxisX.VisibleInPanesSerializable = "-1"; - xyDiagram2.AxisY.Color = Color.DodgerBlue; - xyDiagram2.AxisY.Label.TextColor = Color.DodgerBlue; - xyDiagram2.AxisY.Title.Alignment = StringAlignment.Far; - xyDiagram2.AxisY.Title.EnableAntialiasing = DevExpress.Utils.DefaultBoolean.False; - xyDiagram2.AxisY.Title.Text = "鎵▼/m"; - xyDiagram2.AxisY.Title.TextColor = Color.DodgerBlue; - xyDiagram2.AxisY.Title.Visibility = DevExpress.Utils.DefaultBoolean.True; - xyDiagram2.AxisY.VisibleInPanesSerializable = "-1"; - xyDiagram2.DefaultPane.BorderVisible = false; - xyDiagram2.DefaultPane.Title.Text = "鏃犳暟鎹�"; - xyDiagramPane3.BorderVisible = false; - xyDiagramPane3.Name = "PaneQE"; - xyDiagramPane3.PaneID = 0; - xyDiagramPane4.BorderVisible = false; - xyDiagramPane4.Name = "PaneQP"; - xyDiagramPane4.PaneID = 1; - xyDiagramPane4.RuntimeCollapse = DevExpress.Utils.DefaultBoolean.False; - xyDiagramPane4.SelectionRectangle.BorderVisible = false; - xyDiagram2.Panes.AddRange(new DevExpress.XtraCharts.XYDiagramPane[] { xyDiagramPane3, xyDiagramPane4 }); - secondaryAxisy3.AxisID = 0; - secondaryAxisy3.Color = Color.Green; - secondaryAxisy3.Label.Border.Visibility = DevExpress.Utils.DefaultBoolean.False; - secondaryAxisy3.Label.TextColor = Color.Green; - secondaryAxisy3.Name = "AxisYQE"; - secondaryAxisy3.Title.Text = "鏁堢巼/%"; - secondaryAxisy3.Title.TextColor = Color.Green; - secondaryAxisy3.Title.Visibility = DevExpress.Utils.DefaultBoolean.Default; - secondaryAxisy3.VisibleInPanesSerializable = "0"; - secondaryAxisy4.Alignment = DevExpress.XtraCharts.AxisAlignment.Near; - secondaryAxisy4.AxisID = 1; - secondaryAxisy4.Label.Border.Visibility = DevExpress.Utils.DefaultBoolean.False; - secondaryAxisy4.Label.TextColor = Color.Crimson; - secondaryAxisy4.Name = "AxisYQP"; - secondaryAxisy4.NumericScaleOptions.AutoGrid = false; - secondaryAxisy4.NumericScaleOptions.GridSpacing = 2D; - secondaryAxisy4.Title.Alignment = StringAlignment.Near; - secondaryAxisy4.Title.Text = "鍔熺巼/kW"; - secondaryAxisy4.Title.TextColor = Color.Crimson; - secondaryAxisy4.Title.Visibility = DevExpress.Utils.DefaultBoolean.Default; - secondaryAxisy4.VisibleInPanesSerializable = "1"; - xyDiagram2.SecondaryAxesY.AddRange(new DevExpress.XtraCharts.SecondaryAxisY[] { secondaryAxisy3, secondaryAxisy4 }); - chartControl1.Diagram = xyDiagram2; + constantLine1.AxisValueSerializable = "1"; + constantLine1.ConstantLineID = 0; + constantLine1.LineStyle.LineJoin = System.Drawing.Drawing2D.LineJoin.Miter; + constantLine1.LineStyle.Thickness = 2; + constantLine1.Name = "WorkPointLine"; + constantLine1.ShowInLegend = false; + constantLine1.Title.DXFont = new DevExpress.Drawing.DXFont("Tahoma", 8F); + constantLine1.Title.Text = "宸ヤ綔鐐�"; + xyDiagram1.AxisX.ConstantLines.AddRange(new DevExpress.XtraCharts.ConstantLine[] { constantLine1 }); + xyDiagram1.AxisX.Title.Text = "娴侀噺 锛坢鲁/h锛�"; + xyDiagram1.AxisX.Title.Visibility = DevExpress.Utils.DefaultBoolean.Default; + xyDiagram1.AxisX.VisibleInPanesSerializable = "-1"; + xyDiagram1.AxisY.Color = Color.DodgerBlue; + xyDiagram1.AxisY.Label.TextColor = Color.DodgerBlue; + xyDiagram1.AxisY.Title.Alignment = StringAlignment.Far; + xyDiagram1.AxisY.Title.EnableAntialiasing = DevExpress.Utils.DefaultBoolean.False; + xyDiagram1.AxisY.Title.Text = "鎵▼/m"; + xyDiagram1.AxisY.Title.TextColor = Color.DodgerBlue; + xyDiagram1.AxisY.Title.Visibility = DevExpress.Utils.DefaultBoolean.True; + xyDiagram1.AxisY.VisibleInPanesSerializable = "-1"; + xyDiagram1.DefaultPane.BorderVisible = false; + xyDiagram1.DefaultPane.Title.Text = "鏃犳暟鎹�"; + xyDiagramPane1.BorderVisible = false; + xyDiagramPane1.Name = "PaneQE"; + xyDiagramPane1.PaneID = 0; + xyDiagramPane2.BorderVisible = false; + xyDiagramPane2.Name = "PaneQP"; + xyDiagramPane2.PaneID = 1; + xyDiagramPane2.RuntimeCollapse = DevExpress.Utils.DefaultBoolean.False; + xyDiagramPane2.SelectionRectangle.BorderVisible = false; + xyDiagram1.Panes.AddRange(new DevExpress.XtraCharts.XYDiagramPane[] { xyDiagramPane1, xyDiagramPane2 }); + secondaryAxisy1.AxisID = 0; + secondaryAxisy1.Color = Color.Green; + secondaryAxisy1.Label.Border.Visibility = DevExpress.Utils.DefaultBoolean.False; + secondaryAxisy1.Label.TextColor = Color.Green; + secondaryAxisy1.Name = "AxisYQE"; + secondaryAxisy1.Title.Text = "鏁堢巼/%"; + secondaryAxisy1.Title.TextColor = Color.Green; + secondaryAxisy1.Title.Visibility = DevExpress.Utils.DefaultBoolean.Default; + secondaryAxisy1.VisibleInPanesSerializable = "0"; + secondaryAxisy2.Alignment = DevExpress.XtraCharts.AxisAlignment.Near; + secondaryAxisy2.AxisID = 1; + secondaryAxisy2.Label.Border.Visibility = DevExpress.Utils.DefaultBoolean.False; + secondaryAxisy2.Label.TextColor = Color.Crimson; + secondaryAxisy2.Name = "AxisYQP"; + secondaryAxisy2.NumericScaleOptions.AutoGrid = false; + secondaryAxisy2.NumericScaleOptions.GridSpacing = 2D; + secondaryAxisy2.Title.Alignment = StringAlignment.Near; + secondaryAxisy2.Title.Text = "鍔熺巼/kW"; + secondaryAxisy2.Title.TextColor = Color.Crimson; + secondaryAxisy2.Title.Visibility = DevExpress.Utils.DefaultBoolean.Default; + secondaryAxisy2.VisibleInPanesSerializable = "1"; + xyDiagram1.SecondaryAxesY.AddRange(new DevExpress.XtraCharts.SecondaryAxisY[] { secondaryAxisy1, secondaryAxisy2 }); + chartControl1.Diagram = xyDiagram1; chartControl1.Dock = DockStyle.Fill; chartControl1.Legend.AlignmentHorizontal = DevExpress.XtraCharts.LegendAlignmentHorizontal.Right; chartControl1.Legend.Border.Visibility = DevExpress.Utils.DefaultBoolean.False; @@ -166,36 +166,36 @@ chartControl1.Legend.LegendID = -1; chartControl1.Legend.MarkerMode = DevExpress.XtraCharts.LegendMarkerMode.CheckBoxAndMarker; chartControl1.Legend.Visibility = DevExpress.Utils.DefaultBoolean.False; - chartControl1.Location = new Point(0, 31); + chartControl1.Location = new Point(0, 34); chartControl1.Name = "chartControl1"; - series4.Name = "SeriesQH"; - series4.SeriesID = 0; - splineSeriesView4.Color = Color.FromArgb(84, 141, 212); - series4.View = splineSeriesView4; - series5.Name = "SeriesQE"; - series5.SeriesID = 1; - splineSeriesView5.AxisYName = "AxisYQE"; - splineSeriesView5.Color = Color.FromArgb(155, 187, 89); - splineSeriesView5.PaneName = "PaneQE"; - series5.View = splineSeriesView5; - series6.Name = "SeriesQP"; - series6.SeriesID = 2; - splineSeriesView6.AxisYName = "AxisYQP"; - splineSeriesView6.Color = Color.FromArgb(192, 0, 0); - splineSeriesView6.PaneName = "PaneQP"; - series6.View = splineSeriesView6; + series1.Name = "SeriesQH"; + series1.SeriesID = 0; + splineSeriesView1.Color = Color.FromArgb(84, 141, 212); + series1.View = splineSeriesView1; + series2.Name = "SeriesQE"; + series2.SeriesID = 1; + splineSeriesView2.AxisYName = "AxisYQE"; + splineSeriesView2.Color = Color.FromArgb(155, 187, 89); + splineSeriesView2.PaneName = "PaneQE"; + series2.View = splineSeriesView2; + series3.Name = "SeriesQP"; + series3.SeriesID = 2; + splineSeriesView3.AxisYName = "AxisYQP"; + splineSeriesView3.Color = Color.FromArgb(192, 0, 0); + splineSeriesView3.PaneName = "PaneQP"; + series3.View = splineSeriesView3; chartControl1.SeriesSerializable = new DevExpress.XtraCharts.Series[] { - series4, - series5, - series6 + series1, + series2, + series3 }; - chartControl1.Size = new Size(1023, 826); + chartControl1.Size = new Size(1023, 823); chartControl1.TabIndex = 0; // // popMenuChart // - popMenuChart.LinksPersistInfo.AddRange(new DevExpress.XtraBars.LinkPersistInfo[] { new DevExpress.XtraBars.LinkPersistInfo(barBtnSetChartAxis), new DevExpress.XtraBars.LinkPersistInfo(barCekCurveQHVisible, true), new DevExpress.XtraBars.LinkPersistInfo(barCekCurveQEVisible), new DevExpress.XtraBars.LinkPersistInfo(barCekCurveQPVisible), new DevExpress.XtraBars.LinkPersistInfo(barCekLineVisible, true), new DevExpress.XtraBars.LinkPersistInfo(barCekCurveNameVisible), new DevExpress.XtraBars.LinkPersistInfo(barCekSetAxisNameVisible), new DevExpress.XtraBars.LinkPersistInfo(barCekLegendVisible) }); + popMenuChart.LinksPersistInfo.AddRange(new DevExpress.XtraBars.LinkPersistInfo[] { new DevExpress.XtraBars.LinkPersistInfo(barBtnSetChartAxis), new DevExpress.XtraBars.LinkPersistInfo(barCekCurveQHVisible, true), new DevExpress.XtraBars.LinkPersistInfo(barCekCurveQEVisible), new DevExpress.XtraBars.LinkPersistInfo(barCekCurveQPVisible), new DevExpress.XtraBars.LinkPersistInfo(barCekCurveEQVisible), new DevExpress.XtraBars.LinkPersistInfo(barCekLineVisible, true), new DevExpress.XtraBars.LinkPersistInfo(barCekCurveNameVisible), new DevExpress.XtraBars.LinkPersistInfo(barCekSetAxisNameVisible), new DevExpress.XtraBars.LinkPersistInfo(barCekLegendVisible) }); popMenuChart.Manager = barManager1; popMenuChart.Name = "popMenuChart"; // @@ -238,6 +238,16 @@ barCekCurveQPVisible.Name = "barCekCurveQPVisible"; barCekCurveQPVisible.CheckedChanged += barCekCurveQPVisible_CheckedChanged; // + // barCekCurveEQVisible + // + barCekCurveEQVisible.BindableChecked = true; + barCekCurveEQVisible.Caption = "瑁呯疆绾�"; + barCekCurveEQVisible.Checked = true; + barCekCurveEQVisible.Id = 22; + barCekCurveEQVisible.ImageOptions.SvgImage = (DevExpress.Utils.Svg.SvgImage)resources.GetObject("barCekCurveEQVisible.ImageOptions.SvgImage"); + barCekCurveEQVisible.Name = "barCekCurveEQVisible"; + barCekCurveEQVisible.CheckedChanged += barCekCurveEQVisible_CheckedChanged; + // // barCekLineVisible // barCekLineVisible.Caption = "宸ヤ綔鐐�"; @@ -248,7 +258,9 @@ // // barCekCurveNameVisible // + barCekCurveNameVisible.BindableChecked = true; barCekCurveNameVisible.Caption = "鏇茬嚎鍚�"; + barCekCurveNameVisible.Checked = true; barCekCurveNameVisible.Id = 21; barCekCurveNameVisible.ImageOptions.SvgImage = (DevExpress.Utils.Svg.SvgImage)resources.GetObject("barCekCurveNameVisible.ImageOptions.SvgImage"); barCekCurveNameVisible.Name = "barCekCurveNameVisible"; @@ -286,13 +298,62 @@ barManager1.MaxItemId = 26; barManager1.ShowFullMenus = true; // + // barMenu + // + barMenu.BarName = "main"; + barMenu.CanDockStyle = DevExpress.XtraBars.BarCanDockStyle.Top; + barMenu.DockCol = 0; + barMenu.DockRow = 0; + barMenu.DockStyle = DevExpress.XtraBars.BarDockStyle.Top; + barMenu.LinksPersistInfo.AddRange(new DevExpress.XtraBars.LinkPersistInfo[] { new DevExpress.XtraBars.LinkPersistInfo(barSubMenuVisible), new DevExpress.XtraBars.LinkPersistInfo(barSubMenuEdit), new DevExpress.XtraBars.LinkPersistInfo(barSubMenuQuery) }); + barMenu.OptionsBar.DrawBorder = false; + barMenu.OptionsBar.MinHeight = 30; + barMenu.OptionsBar.MultiLine = true; + barMenu.OptionsBar.UseWholeRow = true; + barMenu.Text = "鑿滃崟"; + // + // barSubMenuVisible + // + barSubMenuVisible.Caption = "鏄剧ず"; + barSubMenuVisible.Id = 23; + barSubMenuVisible.ImageOptions.SvgImage = (DevExpress.Utils.Svg.SvgImage)resources.GetObject("barSubMenuVisible.ImageOptions.SvgImage"); + barSubMenuVisible.LinksPersistInfo.AddRange(new DevExpress.XtraBars.LinkPersistInfo[] { new DevExpress.XtraBars.LinkPersistInfo(barCekCurveQHVisible, true), new DevExpress.XtraBars.LinkPersistInfo(barCekCurveQPVisible), new DevExpress.XtraBars.LinkPersistInfo(barCekCurveQEVisible), new DevExpress.XtraBars.LinkPersistInfo(barCekCurveEQVisible), new DevExpress.XtraBars.LinkPersistInfo(barCekCurveNameVisible, true), new DevExpress.XtraBars.LinkPersistInfo(barCekLegendVisible), new DevExpress.XtraBars.LinkPersistInfo(barCekSetAxisNameVisible) }); + barSubMenuVisible.Name = "barSubMenuVisible"; + barSubMenuVisible.PaintStyle = DevExpress.XtraBars.BarItemPaintStyle.CaptionGlyph; + // + // barSubMenuEdit + // + barSubMenuEdit.Caption = "缂栬緫"; + barSubMenuEdit.Id = 24; + barSubMenuEdit.ImageOptions.SvgImage = (DevExpress.Utils.Svg.SvgImage)resources.GetObject("barSubMenuEdit.ImageOptions.SvgImage"); + barSubMenuEdit.LinksPersistInfo.AddRange(new DevExpress.XtraBars.LinkPersistInfo[] { new DevExpress.XtraBars.LinkPersistInfo(barBtnSetChartAxis) }); + barSubMenuEdit.Name = "barSubMenuEdit"; + barSubMenuEdit.PaintStyle = DevExpress.XtraBars.BarItemPaintStyle.CaptionGlyph; + // + // barSubMenuQuery + // + barSubMenuQuery.Caption = "鏌ヨ"; + barSubMenuQuery.Id = 25; + barSubMenuQuery.ImageOptions.SvgImage = (DevExpress.Utils.Svg.SvgImage)resources.GetObject("barSubMenuQuery.ImageOptions.SvgImage"); + barSubMenuQuery.LinksPersistInfo.AddRange(new DevExpress.XtraBars.LinkPersistInfo[] { new DevExpress.XtraBars.LinkPersistInfo(barBtnSetAxisQValue) }); + barSubMenuQuery.Name = "barSubMenuQuery"; + barSubMenuQuery.PaintStyle = DevExpress.XtraBars.BarItemPaintStyle.CaptionGlyph; + // + // barBtnSetAxisQValue + // + barBtnSetAxisQValue.Caption = "瀹氫綅娴侀噺鐐�"; + barBtnSetAxisQValue.Id = 13; + barBtnSetAxisQValue.ImageOptions.SvgImage = (DevExpress.Utils.Svg.SvgImage)resources.GetObject("barBtnSetAxisQValue.ImageOptions.SvgImage"); + barBtnSetAxisQValue.Name = "barBtnSetAxisQValue"; + barBtnSetAxisQValue.ItemClick += barBtnSetAxisQValue_ItemClick; + // // barDockControlTop // barDockControlTop.CausesValidation = false; barDockControlTop.Dock = DockStyle.Top; barDockControlTop.Location = new Point(0, 0); barDockControlTop.Manager = barManager1; - barDockControlTop.Size = new Size(1023, 31); + barDockControlTop.Size = new Size(1023, 34); // // barDockControlBottom // @@ -306,33 +367,17 @@ // barDockControlLeft.CausesValidation = false; barDockControlLeft.Dock = DockStyle.Left; - barDockControlLeft.Location = new Point(0, 31); + barDockControlLeft.Location = new Point(0, 34); barDockControlLeft.Manager = barManager1; - barDockControlLeft.Size = new Size(0, 826); + barDockControlLeft.Size = new Size(0, 823); // // barDockControlRight // barDockControlRight.CausesValidation = false; barDockControlRight.Dock = DockStyle.Right; - barDockControlRight.Location = new Point(1023, 31); + barDockControlRight.Location = new Point(1023, 34); barDockControlRight.Manager = barManager1; - barDockControlRight.Size = new Size(0, 826); - // - // barBtnSetAxisQValue - // - barBtnSetAxisQValue.Caption = "瀹氫綅娴侀噺鐐�"; - barBtnSetAxisQValue.Id = 13; - barBtnSetAxisQValue.ImageOptions.SvgImage = (DevExpress.Utils.Svg.SvgImage)resources.GetObject("barBtnSetAxisQValue.ImageOptions.SvgImage"); - barBtnSetAxisQValue.Name = "barBtnSetAxisQValue"; - barBtnSetAxisQValue.ItemClick += barBtnSetAxisQValue_ItemClick; - // - // barCekCurveEQVisible - // - barCekCurveEQVisible.Caption = "瑁呯疆绾�"; - barCekCurveEQVisible.Id = 22; - barCekCurveEQVisible.ImageOptions.SvgImage = (DevExpress.Utils.Svg.SvgImage)resources.GetObject("barCekCurveEQVisible.ImageOptions.SvgImage"); - barCekCurveEQVisible.Name = "barCekCurveEQVisible"; - barCekCurveEQVisible.CheckedChanged += barCekCurveEQVisible_CheckedChanged; + barDockControlRight.Size = new Size(0, 823); // // popMenuLine // @@ -351,44 +396,6 @@ bar1.OptionsBar.UseWholeRow = true; bar1.Text = "Custom 2"; // - // barMenu - // - barMenu.BarName = "main"; - barMenu.CanDockStyle = DevExpress.XtraBars.BarCanDockStyle.Top; - barMenu.DockCol = 0; - barMenu.DockRow = 0; - barMenu.DockStyle = DevExpress.XtraBars.BarDockStyle.Top; - barMenu.LinksPersistInfo.AddRange(new DevExpress.XtraBars.LinkPersistInfo[] { new DevExpress.XtraBars.LinkPersistInfo(barSubMenuVisible), new DevExpress.XtraBars.LinkPersistInfo(barSubMenuEdit), new DevExpress.XtraBars.LinkPersistInfo(barSubMenuQuery) }); - barMenu.OptionsBar.DrawBorder = false; - barMenu.OptionsBar.MinHeight = 30; - barMenu.OptionsBar.MultiLine = true; - barMenu.OptionsBar.UseWholeRow = true; - barMenu.Text = "鑿滃崟"; - // - // barSubMenuVisible - // - barSubMenuVisible.Caption = "鍥捐〃鏄剧ず"; - barSubMenuVisible.Id = 23; - barSubMenuVisible.ImageOptions.SvgImage = (DevExpress.Utils.Svg.SvgImage)resources.GetObject("barSubMenuVisible.ImageOptions.SvgImage"); - barSubMenuVisible.LinksPersistInfo.AddRange(new DevExpress.XtraBars.LinkPersistInfo[] { new DevExpress.XtraBars.LinkPersistInfo(barCekCurveQHVisible, true), new DevExpress.XtraBars.LinkPersistInfo(barCekCurveQPVisible), new DevExpress.XtraBars.LinkPersistInfo(barCekCurveQEVisible), new DevExpress.XtraBars.LinkPersistInfo(barCekCurveEQVisible), new DevExpress.XtraBars.LinkPersistInfo(barCekCurveNameVisible, true), new DevExpress.XtraBars.LinkPersistInfo(barCekLegendVisible), new DevExpress.XtraBars.LinkPersistInfo(barCekSetAxisNameVisible) }); - barSubMenuVisible.Name = "barSubMenuVisible"; - // - // barSubMenuEdit - // - barSubMenuEdit.Caption = "鍥捐〃缂栬緫"; - barSubMenuEdit.Id = 24; - barSubMenuEdit.ImageOptions.SvgImage = (DevExpress.Utils.Svg.SvgImage)resources.GetObject("barSubMenuEdit.ImageOptions.SvgImage"); - barSubMenuEdit.LinksPersistInfo.AddRange(new DevExpress.XtraBars.LinkPersistInfo[] { new DevExpress.XtraBars.LinkPersistInfo(barBtnSetChartAxis) }); - barSubMenuEdit.Name = "barSubMenuEdit"; - // - // barSubMenuQuery - // - barSubMenuQuery.Caption = "鍥捐〃鏌ヨ"; - barSubMenuQuery.Id = 25; - barSubMenuQuery.ImageOptions.SvgImage = (DevExpress.Utils.Svg.SvgImage)resources.GetObject("barSubMenuQuery.ImageOptions.SvgImage"); - barSubMenuQuery.LinksPersistInfo.AddRange(new DevExpress.XtraBars.LinkPersistInfo[] { new DevExpress.XtraBars.LinkPersistInfo(barBtnSetAxisQValue) }); - barSubMenuQuery.Name = "barSubMenuQuery"; - // // PumpSerialParallelChart // AutoScaleDimensions = new SizeF(10F, 22F); @@ -400,19 +407,19 @@ Controls.Add(barDockControlTop); Name = "PumpSerialParallelChart"; Size = new Size(1023, 857); - ((System.ComponentModel.ISupportInitialize)textAnnotation2).EndInit(); - ((System.ComponentModel.ISupportInitialize)constantLine2).EndInit(); - ((System.ComponentModel.ISupportInitialize)xyDiagramPane3).EndInit(); - ((System.ComponentModel.ISupportInitialize)xyDiagramPane4).EndInit(); - ((System.ComponentModel.ISupportInitialize)secondaryAxisy3).EndInit(); - ((System.ComponentModel.ISupportInitialize)secondaryAxisy4).EndInit(); - ((System.ComponentModel.ISupportInitialize)xyDiagram2).EndInit(); - ((System.ComponentModel.ISupportInitialize)splineSeriesView4).EndInit(); - ((System.ComponentModel.ISupportInitialize)series4).EndInit(); - ((System.ComponentModel.ISupportInitialize)splineSeriesView5).EndInit(); - ((System.ComponentModel.ISupportInitialize)series5).EndInit(); - ((System.ComponentModel.ISupportInitialize)splineSeriesView6).EndInit(); - ((System.ComponentModel.ISupportInitialize)series6).EndInit(); + ((System.ComponentModel.ISupportInitialize)textAnnotation1).EndInit(); + ((System.ComponentModel.ISupportInitialize)constantLine1).EndInit(); + ((System.ComponentModel.ISupportInitialize)xyDiagramPane1).EndInit(); + ((System.ComponentModel.ISupportInitialize)xyDiagramPane2).EndInit(); + ((System.ComponentModel.ISupportInitialize)secondaryAxisy1).EndInit(); + ((System.ComponentModel.ISupportInitialize)secondaryAxisy2).EndInit(); + ((System.ComponentModel.ISupportInitialize)xyDiagram1).EndInit(); + ((System.ComponentModel.ISupportInitialize)splineSeriesView1).EndInit(); + ((System.ComponentModel.ISupportInitialize)series1).EndInit(); + ((System.ComponentModel.ISupportInitialize)splineSeriesView2).EndInit(); + ((System.ComponentModel.ISupportInitialize)series2).EndInit(); + ((System.ComponentModel.ISupportInitialize)splineSeriesView3).EndInit(); + ((System.ComponentModel.ISupportInitialize)series3).EndInit(); ((System.ComponentModel.ISupportInitialize)chartControl1).EndInit(); ((System.ComponentModel.ISupportInitialize)popMenuChart).EndInit(); ((System.ComponentModel.ISupportInitialize)barManager1).EndInit(); -- Gitblit v1.9.3