| | |
| | | svgImageCollection1 = new DevExpress.Utils.SvgImageCollection(components); |
| | | sidePanel1 = new DevExpress.XtraEditors.SidePanel(); |
| | | gridControl1 = new DevExpress.XtraGrid.GridControl(); |
| | | gridView1 = new DevExpress.XtraGrid.Views.Grid.GridView(); |
| | | pipeLineViewModelBindingSource = new BindingSource(components); |
| | | gridView1 = new DevExpress.XtraGrid.Views.Grid.GridView(); |
| | | colName = new DevExpress.XtraGrid.Columns.GridColumn(); |
| | | colCaliber = new DevExpress.XtraGrid.Columns.GridColumn(); |
| | | colMaterial = new DevExpress.XtraGrid.Columns.GridColumn(); |
| | |
| | | colManning = new DevExpress.XtraGrid.Columns.GridColumn(); |
| | | colSortCode = new DevExpress.XtraGrid.Columns.GridColumn(); |
| | | colDescription = new DevExpress.XtraGrid.Columns.GridColumn(); |
| | | ribbonPageGroup2 = new DevExpress.XtraBars.Ribbon.RibbonPageGroup(); |
| | | BtnDescription = new DevExpress.XtraBars.BarButtonItem(); |
| | | ((System.ComponentModel.ISupportInitialize)ribbonControl1).BeginInit(); |
| | | ((System.ComponentModel.ISupportInitialize)svgImageCollection1).BeginInit(); |
| | | sidePanel1.SuspendLayout(); |
| | | ((System.ComponentModel.ISupportInitialize)gridControl1).BeginInit(); |
| | | ((System.ComponentModel.ISupportInitialize)gridView1).BeginInit(); |
| | | ((System.ComponentModel.ISupportInitialize)pipeLineViewModelBindingSource).BeginInit(); |
| | | ((System.ComponentModel.ISupportInitialize)gridView1).BeginInit(); |
| | | SuspendLayout(); |
| | | // |
| | | // ribbonControl1 |
| | |
| | | ribbonControl1.DrawGroupsBorderMode = DevExpress.Utils.DefaultBoolean.True; |
| | | ribbonControl1.ExpandCollapseItem.Id = 0; |
| | | ribbonControl1.ItemPanelStyle = DevExpress.XtraBars.Ribbon.RibbonItemPanelStyle.Classic; |
| | | ribbonControl1.Items.AddRange(new DevExpress.XtraBars.BarItem[] { ribbonControl1.ExpandCollapseItem, BtnAdd, BtnEdit, BtnDelete, BarBtnEidtPumpPart }); |
| | | ribbonControl1.Items.AddRange(new DevExpress.XtraBars.BarItem[] { ribbonControl1.ExpandCollapseItem, BtnAdd, BtnEdit, BtnDelete, BarBtnEidtPumpPart, BtnDescription }); |
| | | ribbonControl1.Location = new Point(0, 0); |
| | | ribbonControl1.MaxItemId = 22; |
| | | ribbonControl1.MaxItemId = 23; |
| | | ribbonControl1.Name = "ribbonControl1"; |
| | | ribbonControl1.Pages.AddRange(new DevExpress.XtraBars.Ribbon.RibbonPage[] { ribbonPage1 }); |
| | | ribbonControl1.ShowApplicationButton = DevExpress.Utils.DefaultBoolean.False; |
| | |
| | | // |
| | | // ribbonPage1 |
| | | // |
| | | ribbonPage1.Groups.AddRange(new DevExpress.XtraBars.Ribbon.RibbonPageGroup[] { ribbonPageGroup1 }); |
| | | ribbonPage1.Groups.AddRange(new DevExpress.XtraBars.Ribbon.RibbonPageGroup[] { ribbonPageGroup1, ribbonPageGroup2 }); |
| | | ribbonPage1.Name = "ribbonPage1"; |
| | | ribbonPage1.Text = "ribbonPage1"; |
| | | // |
| | |
| | | gridControl1.TabIndex = 1; |
| | | gridControl1.ViewCollection.AddRange(new DevExpress.XtraGrid.Views.Base.BaseView[] { gridView1 }); |
| | | // |
| | | // pipeLineViewModelBindingSource |
| | | // |
| | | pipeLineViewModelBindingSource.DataSource = typeof(PipeLineViewModel); |
| | | // |
| | | // gridView1 |
| | | // |
| | | gridView1.Appearance.HeaderPanel.Options.UseTextOptions = true; |
| | |
| | | gridView1.Name = "gridView1"; |
| | | gridView1.OptionsView.ShowGroupPanel = false; |
| | | // |
| | | // pipeLineViewModelBindingSource |
| | | // |
| | | pipeLineViewModelBindingSource.DataSource = typeof(PipeLineViewModel); |
| | | // |
| | | // colName |
| | | // |
| | | colName.AppearanceCell.Options.UseTextOptions = true; |
| | | colName.AppearanceCell.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center; |
| | | colName.FieldName = "Name"; |
| | | colName.Name = "colName"; |
| | | colName.Visible = true; |
| | | colName.VisibleIndex = 0; |
| | | colName.Width = 186; |
| | | // |
| | | // colCaliber |
| | | // |
| | | colCaliber.AppearanceCell.Options.UseTextOptions = true; |
| | | colCaliber.AppearanceCell.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center; |
| | | colCaliber.FieldName = "Caliber"; |
| | | colCaliber.Name = "colCaliber"; |
| | | colCaliber.Visible = true; |
| | | colCaliber.VisibleIndex = 1; |
| | | colCaliber.Width = 132; |
| | | // |
| | | // colMaterial |
| | | // |
| | | colMaterial.AppearanceCell.Options.UseTextOptions = true; |
| | | colMaterial.AppearanceCell.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center; |
| | | colMaterial.FieldName = "Material"; |
| | | colMaterial.Name = "colMaterial"; |
| | | colMaterial.Visible = true; |
| | | colMaterial.VisibleIndex = 2; |
| | | colMaterial.Width = 121; |
| | | // |
| | | // colHazen |
| | | // |
| | | colHazen.AppearanceCell.Options.UseTextOptions = true; |
| | | colHazen.AppearanceCell.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center; |
| | | colHazen.FieldName = "Hazen"; |
| | | colHazen.Name = "colHazen"; |
| | | colHazen.Visible = true; |
| | | colHazen.VisibleIndex = 3; |
| | | colHazen.Width = 125; |
| | | // |
| | | // colDarcy |
| | | // |
| | | colDarcy.AppearanceCell.Options.UseTextOptions = true; |
| | | colDarcy.AppearanceCell.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center; |
| | | colDarcy.FieldName = "Darcy"; |
| | | colDarcy.Name = "colDarcy"; |
| | | colDarcy.Visible = true; |
| | | colDarcy.VisibleIndex = 4; |
| | | colDarcy.Width = 150; |
| | | // |
| | | // colManning |
| | | // |
| | | colManning.AppearanceCell.Options.UseTextOptions = true; |
| | | colManning.AppearanceCell.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center; |
| | | colManning.FieldName = "Manning"; |
| | | colManning.Name = "colManning"; |
| | | colManning.Visible = true; |
| | | colManning.VisibleIndex = 5; |
| | | colManning.Width = 128; |
| | | // |
| | | // colSortCode |
| | | // |
| | | colSortCode.AppearanceCell.Options.UseTextOptions = true; |
| | | colSortCode.AppearanceCell.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center; |
| | | colSortCode.FieldName = "SortCode"; |
| | | colSortCode.Name = "colSortCode"; |
| | | colSortCode.Visible = true; |
| | | colSortCode.VisibleIndex = 6; |
| | | colSortCode.VisibleIndex = 7; |
| | | colSortCode.Width = 95; |
| | | // |
| | | // colDescription |
| | | // |
| | | colDescription.AppearanceCell.Options.UseTextOptions = true; |
| | | colDescription.AppearanceCell.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center; |
| | | colDescription.FieldName = "Description"; |
| | | colDescription.Name = "colDescription"; |
| | | colDescription.Visible = true; |
| | | colDescription.VisibleIndex = 7; |
| | | colDescription.VisibleIndex = 6; |
| | | colDescription.Width = 233; |
| | | // |
| | | // ribbonPageGroup2 |
| | | // |
| | | ribbonPageGroup2.ItemLinks.Add(BtnDescription); |
| | | ribbonPageGroup2.Name = "ribbonPageGroup2"; |
| | | ribbonPageGroup2.Text = "更多"; |
| | | // |
| | | // BtnDescription |
| | | // |
| | | BtnDescription.Caption = "说明"; |
| | | BtnDescription.Id = 22; |
| | | BtnDescription.ImageOptions.SvgImage = (DevExpress.Utils.Svg.SvgImage)resources.GetObject("barButtonItem1.ImageOptions.SvgImage"); |
| | | BtnDescription.Name = "BtnDescription"; |
| | | BtnDescription.ItemClick += BtnDescription_ItemClick; |
| | | // |
| | | // PipeLineManageMainPanel |
| | | // |
| | |
| | | sidePanel1.ResumeLayout(false); |
| | | sidePanel1.PerformLayout(); |
| | | ((System.ComponentModel.ISupportInitialize)gridControl1).EndInit(); |
| | | ((System.ComponentModel.ISupportInitialize)gridView1).EndInit(); |
| | | ((System.ComponentModel.ISupportInitialize)pipeLineViewModelBindingSource).EndInit(); |
| | | ((System.ComponentModel.ISupportInitialize)gridView1).EndInit(); |
| | | ResumeLayout(false); |
| | | } |
| | | |
| | |
| | | private DevExpress.XtraGrid.Columns.GridColumn colManning; |
| | | private DevExpress.XtraGrid.Columns.GridColumn colSortCode; |
| | | private DevExpress.XtraGrid.Columns.GridColumn colDescription; |
| | | private DevExpress.XtraBars.BarButtonItem BtnDescription; |
| | | private DevExpress.XtraBars.Ribbon.RibbonPageGroup ribbonPageGroup2; |
| | | } |
| | | } |