| | |
| | | svgImageCollection1 = new DevExpress.Utils.SvgImageCollection(components); |
| | | sidePanel1 = new DevExpress.XtraEditors.SidePanel(); |
| | | gridControl1 = new DevExpress.XtraGrid.GridControl(); |
| | | adaptingViewModelBindingSource = 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(); |
| | | colCoefficient = new DevExpress.XtraGrid.Columns.GridColumn(); |
| | | colSortCode = new DevExpress.XtraGrid.Columns.GridColumn(); |
| | | colDescription = new DevExpress.XtraGrid.Columns.GridColumn(); |
| | | ((System.ComponentModel.ISupportInitialize)ribbonControl1).BeginInit(); |
| | | ((System.ComponentModel.ISupportInitialize)svgImageCollection1).BeginInit(); |
| | | sidePanel1.SuspendLayout(); |
| | | ((System.ComponentModel.ISupportInitialize)gridControl1).BeginInit(); |
| | | ((System.ComponentModel.ISupportInitialize)adaptingViewModelBindingSource).BeginInit(); |
| | | ((System.ComponentModel.ISupportInitialize)gridView1).BeginInit(); |
| | | SuspendLayout(); |
| | | // |
| | |
| | | // |
| | | // BtnAdd |
| | | // |
| | | BtnAdd.Caption = "添加型号"; |
| | | BtnAdd.Caption = "添加弯头"; |
| | | BtnAdd.Id = 1; |
| | | BtnAdd.ImageOptions.SvgImage = (DevExpress.Utils.Svg.SvgImage)resources.GetObject("BtnAdd.ImageOptions.SvgImage"); |
| | | BtnAdd.Name = "BtnAdd"; |
| | | BtnAdd.ItemClick += BtnAdd_ItemClick; |
| | | // |
| | | // BtnEdit |
| | | // |
| | | BtnEdit.Caption = "编辑型号"; |
| | | BtnEdit.Caption = "编辑弯头"; |
| | | BtnEdit.Id = 2; |
| | | BtnEdit.ImageOptions.SvgImage = (DevExpress.Utils.Svg.SvgImage)resources.GetObject("BtnEdit.ImageOptions.SvgImage"); |
| | | BtnEdit.Name = "BtnEdit"; |
| | | BtnEdit.ItemClick += BtnEdit_ItemClick; |
| | | // |
| | | // BtnDelete |
| | | // |
| | | BtnDelete.Caption = "删除型号"; |
| | | BtnDelete.Caption = "删除弯头"; |
| | | BtnDelete.Id = 3; |
| | | BtnDelete.ImageOptions.SvgImage = (DevExpress.Utils.Svg.SvgImage)resources.GetObject("BtnDelete.ImageOptions.SvgImage"); |
| | | BtnDelete.Name = "BtnDelete"; |
| | | BtnDelete.ItemClick += BtnDelete_ItemClick; |
| | | // |
| | | // BarBtnEidtPumpPart |
| | | // |
| | |
| | | // |
| | | // gridControl1 |
| | | // |
| | | gridControl1.DataSource = adaptingViewModelBindingSource; |
| | | gridControl1.Dock = DockStyle.Fill; |
| | | gridControl1.Location = new Point(0, 101); |
| | | gridControl1.MainView = gridView1; |
| | |
| | | gridControl1.TabIndex = 1; |
| | | gridControl1.ViewCollection.AddRange(new DevExpress.XtraGrid.Views.Base.BaseView[] { gridView1 }); |
| | | // |
| | | // adaptingViewModelBindingSource |
| | | // |
| | | adaptingViewModelBindingSource.DataSource = typeof(AdaptingViewModel); |
| | | // |
| | | // gridView1 |
| | | // |
| | | gridView1.Columns.AddRange(new DevExpress.XtraGrid.Columns.GridColumn[] { colName, colCaliber, colMaterial, colCoefficient, colSortCode, colDescription }); |
| | | gridView1.GridControl = gridControl1; |
| | | gridView1.Name = "gridView1"; |
| | | gridView1.OptionsView.ShowGroupPanel = false; |
| | | // |
| | | // colName |
| | | // |
| | | colName.FieldName = "Name"; |
| | | colName.Name = "colName"; |
| | | colName.Visible = true; |
| | | colName.VisibleIndex = 0; |
| | | colName.Width = 210; |
| | | // |
| | | // colCaliber |
| | | // |
| | | colCaliber.FieldName = "Caliber"; |
| | | colCaliber.Name = "colCaliber"; |
| | | colCaliber.Visible = true; |
| | | colCaliber.VisibleIndex = 1; |
| | | colCaliber.Width = 187; |
| | | // |
| | | // colMaterial |
| | | // |
| | | colMaterial.FieldName = "Material"; |
| | | colMaterial.Name = "colMaterial"; |
| | | colMaterial.Visible = true; |
| | | colMaterial.VisibleIndex = 2; |
| | | colMaterial.Width = 183; |
| | | // |
| | | // colCoefficient |
| | | // |
| | | colCoefficient.FieldName = "Coefficient"; |
| | | colCoefficient.Name = "colCoefficient"; |
| | | colCoefficient.Visible = true; |
| | | colCoefficient.VisibleIndex = 3; |
| | | colCoefficient.Width = 180; |
| | | // |
| | | // colSortCode |
| | | // |
| | | colSortCode.FieldName = "SortCode"; |
| | | colSortCode.Name = "colSortCode"; |
| | | colSortCode.Visible = true; |
| | | colSortCode.VisibleIndex = 5; |
| | | colSortCode.Width = 123; |
| | | // |
| | | // colDescription |
| | | // |
| | | colDescription.FieldName = "Description"; |
| | | colDescription.Name = "colDescription"; |
| | | colDescription.Visible = true; |
| | | colDescription.VisibleIndex = 4; |
| | | colDescription.Width = 287; |
| | | // |
| | | // ElbowManageMainPanel |
| | | // |
| | |
| | | sidePanel1.ResumeLayout(false); |
| | | sidePanel1.PerformLayout(); |
| | | ((System.ComponentModel.ISupportInitialize)gridControl1).EndInit(); |
| | | ((System.ComponentModel.ISupportInitialize)adaptingViewModelBindingSource).EndInit(); |
| | | ((System.ComponentModel.ISupportInitialize)gridView1).EndInit(); |
| | | ResumeLayout(false); |
| | | } |
| | |
| | | private DevExpress.XtraEditors.SidePanel sidePanel1; |
| | | private DevExpress.XtraGrid.GridControl gridControl1; |
| | | private DevExpress.XtraGrid.Views.Grid.GridView gridView1; |
| | | private BindingSource adaptingViewModelBindingSource; |
| | | private DevExpress.XtraGrid.Columns.GridColumn colCaliber; |
| | | private DevExpress.XtraGrid.Columns.GridColumn colMaterial; |
| | | private DevExpress.XtraGrid.Columns.GridColumn colCoefficient; |
| | | private DevExpress.XtraGrid.Columns.GridColumn colName; |
| | | private DevExpress.XtraGrid.Columns.GridColumn colSortCode; |
| | | private DevExpress.XtraGrid.Columns.GridColumn colDescription; |
| | | } |
| | | } |