| | |
| | | /// </summary> |
| | | private void InitializeComponent() |
| | | { |
| | | components = new System.ComponentModel.Container(); |
| | | components = new System.ComponentModel.Container(); |
| | | 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(); |
| | | valveViewChart1 = new Yw.WinFrmUI.Phart.ValveViewChart(); |
| | | ((System.ComponentModel.ISupportInitialize)barManager1).BeginInit(); |
| | | SuspendLayout(); |
| | | // |
| | | // |
| | | // barManager1 |
| | | // |
| | | barManager1.Bars.AddRange(new DevExpress.XtraBars.Bar[] { bar2 }); |
| | |
| | | barManager1.Items.AddRange(new DevExpress.XtraBars.BarItem[] { barCekLineVisible }); |
| | | barManager1.MainMenu = bar2; |
| | | barManager1.MaxItemId = 1; |
| | | // |
| | | // 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) }); |
| | | 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 |
| | | // valveViewChart1 |
| | | // |
| | | 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; |
| | | valveViewChart1.Dock = DockStyle.Fill; |
| | | valveViewChart1.Location = new Point(0, 33); |
| | | valveViewChart1.Name = "valveViewChart1"; |
| | | valveViewChart1.Size = new Size(954, 762); |
| | | valveViewChart1.TabIndex = 4; |
| | | // |
| | | // ValveChartViewCtrl |
| | | // |
| | | AutoScaleDimensions = new SizeF(10F, 22F); |
| | | AutoScaleMode = AutoScaleMode.Font; |
| | | AutoScaleMode = AutoScaleMode.Font; |
| | | Controls.Add(valveViewChart1); |
| | | Controls.Add(barDockControlLeft); |
| | | Controls.Add(barDockControlRight); |
| | | Controls.Add(barDockControlBottom); |
| | |
| | | } |
| | | |
| | | #endregion |
| | | |
| | | |
| | | private DevExpress.XtraBars.BarManager barManager1; |
| | | private DevExpress.XtraBars.Bar bar2; |
| | | private DevExpress.XtraBars.BarCheckItem barCekLineVisible; |
| | |
| | | private DevExpress.XtraBars.BarDockControl barDockControlBottom; |
| | | private DevExpress.XtraBars.BarDockControl barDockControlLeft; |
| | | private DevExpress.XtraBars.BarDockControl barDockControlRight; |
| | | private Yw.WinFrmUI.Phart.ValveViewChart valveViewChart1; |
| | | } |
| | | } |