| | |
| | | /// </summary> |
| | | private void InitializeComponent() |
| | | { |
| | | components = new System.ComponentModel.Container(); |
| | | System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(PipeManageMainPage)); |
| | | components = new Container(); |
| | | ComponentResourceManager resources = new ComponentResourceManager(typeof(PipeManageMainPage)); |
| | | ribbonControl1 = new DevExpress.XtraBars.Ribbon.RibbonControl(); |
| | | BtnAdd = new DevExpress.XtraBars.BarButtonItem(); |
| | | BtnEdit = new DevExpress.XtraBars.BarButtonItem(); |
| | |
| | | colDescription = new DevExpress.XtraGrid.Columns.GridColumn(); |
| | | colKeyWord = new DevExpress.XtraGrid.Columns.GridColumn(); |
| | | colMaterial = new DevExpress.XtraGrid.Columns.GridColumn(); |
| | | colMinorLoss = new DevExpress.XtraGrid.Columns.GridColumn(); |
| | | dockManager1 = new DevExpress.XtraBars.Docking.DockManager(components); |
| | | dockPanel1 = new DevExpress.XtraBars.Docking.DockPanel(); |
| | | dockPanel1_Container = new DevExpress.XtraBars.Docking.ControlContainer(); |
| | | pipeLineTreeListCtrl1 = new PipeLineTreeListCtrl(); |
| | | ((System.ComponentModel.ISupportInitialize)ribbonControl1).BeginInit(); |
| | | ((System.ComponentModel.ISupportInitialize)svgImageCollection1).BeginInit(); |
| | | ((ISupportInitialize)ribbonControl1).BeginInit(); |
| | | ((ISupportInitialize)svgImageCollection1).BeginInit(); |
| | | sidePanel1.SuspendLayout(); |
| | | ((System.ComponentModel.ISupportInitialize)gridControl1).BeginInit(); |
| | | ((System.ComponentModel.ISupportInitialize)pipeLineViewModelBindingSource).BeginInit(); |
| | | ((System.ComponentModel.ISupportInitialize)gridView1).BeginInit(); |
| | | ((System.ComponentModel.ISupportInitialize)dockManager1).BeginInit(); |
| | | ((ISupportInitialize)gridControl1).BeginInit(); |
| | | ((ISupportInitialize)pipeLineViewModelBindingSource).BeginInit(); |
| | | ((ISupportInitialize)gridView1).BeginInit(); |
| | | ((ISupportInitialize)dockManager1).BeginInit(); |
| | | dockPanel1.SuspendLayout(); |
| | | dockPanel1_Container.SuspendLayout(); |
| | | SuspendLayout(); |
| | |
| | | // |
| | | barBtnSetCoefficient.Caption = "局阻系数"; |
| | | barBtnSetCoefficient.Id = 24; |
| | | barBtnSetCoefficient.ImageOptions.SvgImage = (DevExpress.Utils.Svg.SvgImage)resources.GetObject("barBtnSetcoefficient.ImageOptions.SvgImage"); |
| | | barBtnSetCoefficient.ImageOptions.SvgImage = (DevExpress.Utils.Svg.SvgImage)resources.GetObject("barBtnSetCoefficient.ImageOptions.SvgImage"); |
| | | barBtnSetCoefficient.Name = "barBtnSetCoefficient"; |
| | | barBtnSetCoefficient.ItemClick += barBtnSetcoefficient_ItemClick; |
| | | // |
| | |
| | | gridView1.Appearance.HeaderPanel.Options.UseTextOptions = true; |
| | | gridView1.Appearance.HeaderPanel.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center; |
| | | gridView1.BorderStyle = DevExpress.XtraEditors.Controls.BorderStyles.NoBorder; |
| | | gridView1.Columns.AddRange(new DevExpress.XtraGrid.Columns.GridColumn[] { colName, colCaliber, colHazen, colDarcy, colManning, colDescription, colKeyWord, colMaterial }); |
| | | gridView1.Columns.AddRange(new DevExpress.XtraGrid.Columns.GridColumn[] { colName, colCaliber, colHazen, colDarcy, colManning, colDescription, colKeyWord, colMaterial, colMinorLoss }); |
| | | gridView1.GridControl = gridControl1; |
| | | gridView1.Name = "gridView1"; |
| | | gridView1.OptionsView.ShowGroupPanel = false; |
| | |
| | | colName.Name = "colName"; |
| | | colName.Visible = true; |
| | | colName.VisibleIndex = 0; |
| | | colName.Width = 192; |
| | | colName.Width = 149; |
| | | // |
| | | // colCaliber |
| | | // |
| | |
| | | colCaliber.FieldName = "Caliber"; |
| | | colCaliber.Name = "colCaliber"; |
| | | colCaliber.Visible = true; |
| | | colCaliber.VisibleIndex = 3; |
| | | colCaliber.Width = 85; |
| | | colCaliber.VisibleIndex = 4; |
| | | colCaliber.Width = 63; |
| | | // |
| | | // colHazen |
| | | // |
| | |
| | | colHazen.FieldName = "Hazen"; |
| | | colHazen.Name = "colHazen"; |
| | | colHazen.Visible = true; |
| | | colHazen.VisibleIndex = 4; |
| | | colHazen.Width = 117; |
| | | colHazen.VisibleIndex = 5; |
| | | colHazen.Width = 85; |
| | | // |
| | | // colDarcy |
| | | // |
| | |
| | | colDarcy.FieldName = "Darcy"; |
| | | colDarcy.Name = "colDarcy"; |
| | | colDarcy.Visible = true; |
| | | colDarcy.VisibleIndex = 5; |
| | | colDarcy.Width = 98; |
| | | colDarcy.VisibleIndex = 6; |
| | | colDarcy.Width = 85; |
| | | // |
| | | // colManning |
| | | // |
| | |
| | | colManning.FieldName = "Manning"; |
| | | colManning.Name = "colManning"; |
| | | colManning.Visible = true; |
| | | colManning.VisibleIndex = 6; |
| | | colManning.Width = 111; |
| | | colManning.VisibleIndex = 7; |
| | | colManning.Width = 64; |
| | | // |
| | | // colDescription |
| | | // |
| | |
| | | colDescription.FieldName = "Description"; |
| | | colDescription.Name = "colDescription"; |
| | | colDescription.Visible = true; |
| | | colDescription.VisibleIndex = 7; |
| | | colDescription.Width = 222; |
| | | colDescription.VisibleIndex = 8; |
| | | colDescription.Width = 122; |
| | | // |
| | | // colKeyWord |
| | | // |
| | | colKeyWord.FieldName = "KeyWord"; |
| | | colKeyWord.Name = "colKeyWord"; |
| | | colKeyWord.Visible = true; |
| | | colKeyWord.VisibleIndex = 1; |
| | | colKeyWord.Width = 128; |
| | | colKeyWord.VisibleIndex = 2; |
| | | colKeyWord.Width = 91; |
| | | // |
| | | // colMaterial |
| | | // |
| | | colMaterial.FieldName = "Material"; |
| | | colMaterial.Name = "colMaterial"; |
| | | colMaterial.Visible = true; |
| | | colMaterial.VisibleIndex = 2; |
| | | colMaterial.VisibleIndex = 3; |
| | | colMaterial.Width = 135; |
| | | // |
| | | // colMinorLoss |
| | | // |
| | | colMinorLoss.FieldName = "MinorLoss"; |
| | | colMinorLoss.Name = "colMinorLoss"; |
| | | colMinorLoss.Visible = true; |
| | | colMinorLoss.VisibleIndex = 1; |
| | | colMinorLoss.Width = 65; |
| | | // |
| | | // dockManager1 |
| | | // |
| | |
| | | Controls.Add(dockPanel1); |
| | | Name = "PipeManageMainPage"; |
| | | Size = new Size(890, 520); |
| | | ((System.ComponentModel.ISupportInitialize)ribbonControl1).EndInit(); |
| | | ((System.ComponentModel.ISupportInitialize)svgImageCollection1).EndInit(); |
| | | ((ISupportInitialize)ribbonControl1).EndInit(); |
| | | ((ISupportInitialize)svgImageCollection1).EndInit(); |
| | | sidePanel1.ResumeLayout(false); |
| | | sidePanel1.PerformLayout(); |
| | | ((System.ComponentModel.ISupportInitialize)gridControl1).EndInit(); |
| | | ((System.ComponentModel.ISupportInitialize)pipeLineViewModelBindingSource).EndInit(); |
| | | ((System.ComponentModel.ISupportInitialize)gridView1).EndInit(); |
| | | ((System.ComponentModel.ISupportInitialize)dockManager1).EndInit(); |
| | | ((ISupportInitialize)gridControl1).EndInit(); |
| | | ((ISupportInitialize)pipeLineViewModelBindingSource).EndInit(); |
| | | ((ISupportInitialize)gridView1).EndInit(); |
| | | ((ISupportInitialize)dockManager1).EndInit(); |
| | | dockPanel1.ResumeLayout(false); |
| | | dockPanel1_Container.ResumeLayout(false); |
| | | ResumeLayout(false); |
| | |
| | | private DevExpress.XtraGrid.Columns.GridColumn colKeyWord; |
| | | private DevExpress.XtraBars.BarButtonItem barBtnSetCoefficient; |
| | | private DevExpress.XtraGrid.Columns.GridColumn colMaterial; |
| | | private DevExpress.XtraGrid.Columns.GridColumn colMinorLoss; |
| | | } |
| | | } |