| | |
| | | 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(); |
| | | // |
| | |
| | | // |
| | | universalViewChart1.AxisXTitle = "流量 (m³/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); |
| | |
| | | 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 |
| | | // |
| | |
| | | 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 |
| | | // |
| | |
| | | private DevExpress.XtraBars.BarDockControl barDockControlBottom; |
| | | private DevExpress.XtraBars.BarDockControl barDockControlLeft; |
| | | private DevExpress.XtraBars.BarDockControl barDockControlRight; |
| | | private DevExpress.XtraBars.BarButtonItem barSetCoordinate; |
| | | } |
| | | } |