| | |
| | | { |
| | | this.gcMain = new DevExpress.XtraGrid.GridControl(); |
| | | this.gridView1 = new DevExpress.XtraGrid.Views.Grid.GridView(); |
| | | this.colChkInt = new DevExpress.XtraGrid.Columns.GridColumn(); |
| | | this.gv_guid = new DevExpress.XtraGrid.Columns.GridColumn(); |
| | | this.gridColumn1 = new DevExpress.XtraGrid.Columns.GridColumn(); |
| | | this.gv_supplierItemCode = new DevExpress.XtraGrid.Columns.GridColumn(); |
| | | this.gv_supplierItemName = new DevExpress.XtraGrid.Columns.GridColumn(); |
| | | this.gridColumn1 = new DevExpress.XtraGrid.Columns.GridColumn(); |
| | | this.panelControl1 = new DevExpress.XtraEditors.PanelControl(); |
| | | this.btnIn = new DevExpress.XtraEditors.SimpleButton(); |
| | | ((System.ComponentModel.ISupportInitialize)(this.gcMain)).BeginInit(); |
| | |
| | | // gcMain |
| | | // |
| | | this.gcMain.Dock = System.Windows.Forms.DockStyle.Fill; |
| | | |
| | | this.gcMain.Location = new System.Drawing.Point(0, 0); |
| | | this.gcMain.MainView = this.gridView1; |
| | | this.gcMain.Name = "gcMain"; |
| | |
| | | // |
| | | this.gridView1.Appearance.HeaderPanel.Options.UseTextOptions = true; |
| | | this.gridView1.Appearance.HeaderPanel.TextOptions.WordWrap = DevExpress.Utils.WordWrap.Wrap; |
| | | |
| | | this.gridView1.Appearance.Row.Options.UseFont = true; |
| | | this.gridView1.ColumnPanelRowHeight = 50; |
| | | this.gridView1.Columns.AddRange(new DevExpress.XtraGrid.Columns.GridColumn[] { |
| | | this.colChkInt, |
| | | this.gv_guid, |
| | | this.gridColumn1, |
| | | this.gv_supplierItemCode, |
| | |
| | | this.gridView1.IndicatorWidth = 50; |
| | | this.gridView1.Name = "gridView1"; |
| | | this.gridView1.OptionsFind.ShowSearchNavButtons = false; |
| | | this.gridView1.OptionsSelection.MultiSelect = true; |
| | | this.gridView1.OptionsSelection.MultiSelectMode = DevExpress.XtraGrid.Views.Grid.GridMultiSelectMode.CheckBoxRowSelect; |
| | | this.gridView1.OptionsView.ShowAutoFilterRow = true; |
| | | this.gridView1.OptionsView.ShowGroupPanel = false; |
| | | // |
| | | // colChkInt |
| | | // |
| | | this.colChkInt.Caption = "."; |
| | | this.colChkInt.FieldName = "chkInt"; |
| | | this.colChkInt.MinWidth = 25; |
| | | this.colChkInt.Name = "colChkInt"; |
| | | this.colChkInt.Visible = true; |
| | | this.colChkInt.VisibleIndex = 0; |
| | | this.colChkInt.Width = 94; |
| | | // |
| | | // gv_guid |
| | | // |
| | | |
| | | this.gv_guid.AppearanceCell.Options.UseFont = true; |
| | | this.gv_guid.Caption = "主键不能删除"; |
| | | this.gv_guid.FieldName = "guid"; |
| | |
| | | this.gv_guid.Tag = "query_a.guid"; |
| | | this.gv_guid.Width = 94; |
| | | // |
| | | // gridColumn1 |
| | | // |
| | | this.gridColumn1.Caption = "工序代码"; |
| | | this.gridColumn1.FieldName = "processNo"; |
| | | this.gridColumn1.MinWidth = 10; |
| | | this.gridColumn1.Name = "gridColumn1"; |
| | | this.gridColumn1.OptionsColumn.ReadOnly = true; |
| | | this.gridColumn1.Visible = true; |
| | | this.gridColumn1.VisibleIndex = 1; |
| | | this.gridColumn1.Width = 94; |
| | | // |
| | | // gv_supplierItemCode |
| | | // |
| | | |
| | | this.gv_supplierItemCode.AppearanceCell.Options.UseFont = true; |
| | | this.gv_supplierItemCode.Caption = "工序名称"; |
| | | this.gv_supplierItemCode.FieldName = "processName"; |
| | |
| | | // |
| | | // gv_supplierItemName |
| | | // |
| | | |
| | | this.gv_supplierItemName.AppearanceCell.Options.UseFont = true; |
| | | this.gv_supplierItemName.Caption = "工序备注"; |
| | | this.gv_supplierItemName.FieldName = "remark"; |
| | |
| | | this.gv_supplierItemName.Visible = true; |
| | | this.gv_supplierItemName.VisibleIndex = 3; |
| | | this.gv_supplierItemName.Width = 120; |
| | | // |
| | | // gridColumn1 |
| | | // |
| | | this.gridColumn1.Caption = "工序代码"; |
| | | this.gridColumn1.FieldName = "processNo"; |
| | | this.gridColumn1.MinWidth = 25; |
| | | this.gridColumn1.Name = "gridColumn1"; |
| | | this.gridColumn1.Visible = true; |
| | | this.gridColumn1.VisibleIndex = 1; |
| | | this.gridColumn1.Width = 94; |
| | | // |
| | | // panelControl1 |
| | | // |
| | |
| | | private DevExpress.XtraGrid.GridControl gcMain; |
| | | private DevExpress.XtraGrid.Views.Grid.GridView gridView1; |
| | | private DevExpress.XtraGrid.Columns.GridColumn gv_guid; |
| | | private DevExpress.XtraGrid.Columns.GridColumn gridColumn1; |
| | | private DevExpress.XtraGrid.Columns.GridColumn gv_supplierItemCode; |
| | | private DevExpress.XtraGrid.Columns.GridColumn gv_supplierItemName; |
| | | private DevExpress.XtraEditors.PanelControl panelControl1; |
| | | private DevExpress.XtraEditors.SimpleButton btnIn; |
| | | private DevExpress.XtraGrid.Columns.GridColumn colChkInt; |
| | | private DevExpress.XtraGrid.Columns.GridColumn gridColumn1; |
| | | } |
| | | } |