| | |
| | | // gcMain |
| | | // |
| | | this.gcMain.Dock = System.Windows.Forms.DockStyle.Fill; |
| | | this.gcMain.Font = new System.Drawing.Font("Tahoma", 10F); |
| | | |
| | | 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.Font = new System.Drawing.Font("Tahoma", 10F); |
| | | |
| | | this.gridView1.Appearance.Row.Options.UseFont = true; |
| | | this.gridView1.ColumnPanelRowHeight = 50; |
| | | this.gridView1.Columns.AddRange(new DevExpress.XtraGrid.Columns.GridColumn[] { |
| | |
| | | // |
| | | // gv_guid |
| | | // |
| | | this.gv_guid.AppearanceCell.Font = new System.Drawing.Font("Tahoma", 10F); |
| | | |
| | | this.gv_guid.AppearanceCell.Options.UseFont = true; |
| | | this.gv_guid.Caption = "主键不能删除"; |
| | | this.gv_guid.FieldName = "guid"; |
| | |
| | | // |
| | | // gv_remarks |
| | | // |
| | | this.gv_remarks.AppearanceCell.Font = new System.Drawing.Font("Tahoma", 10F); |
| | | |
| | | this.gv_remarks.AppearanceCell.Options.UseFont = true; |
| | | this.gv_remarks.Caption = "需求单号"; |
| | | this.gv_remarks.FieldName = "saleOrderNo"; |
| | |
| | | // |
| | | // gv_billNo |
| | | // |
| | | this.gv_billNo.AppearanceCell.Font = new System.Drawing.Font("Tahoma", 10F); |
| | | |
| | | this.gv_billNo.AppearanceCell.ForeColor = System.Drawing.Color.Red; |
| | | this.gv_billNo.AppearanceCell.Options.UseFont = true; |
| | | this.gv_billNo.AppearanceCell.Options.UseForeColor = true; |
| | |
| | | // |
| | | // gv_supplierItemCode |
| | | // |
| | | this.gv_supplierItemCode.AppearanceCell.Font = new System.Drawing.Font("Tahoma", 10F); |
| | | |
| | | this.gv_supplierItemCode.AppearanceCell.Options.UseFont = true; |
| | | this.gv_supplierItemCode.Caption = "物料编码"; |
| | | this.gv_supplierItemCode.FieldName = "wlbm"; |
| | |
| | | // |
| | | // gv_supplierItemName |
| | | // |
| | | this.gv_supplierItemName.AppearanceCell.Font = new System.Drawing.Font("Tahoma", 10F); |
| | | |
| | | this.gv_supplierItemName.AppearanceCell.Options.UseFont = true; |
| | | this.gv_supplierItemName.Caption = "物料名称"; |
| | | this.gv_supplierItemName.FieldName = "wlmc"; |
| | |
| | | // |
| | | // gv_purchaseUnit |
| | | // |
| | | this.gv_purchaseUnit.AppearanceCell.Font = new System.Drawing.Font("Tahoma", 10F); |
| | | |
| | | this.gv_purchaseUnit.AppearanceCell.Options.UseFont = true; |
| | | this.gv_purchaseUnit.Caption = "车间"; |
| | | this.gv_purchaseUnit.FieldName = "dptName"; |
| | |
| | | // |
| | | // gv_inventoryUnit |
| | | // |
| | | this.gv_inventoryUnit.AppearanceCell.Font = new System.Drawing.Font("Tahoma", 10F); |
| | | |
| | | this.gv_inventoryUnit.AppearanceCell.Options.UseFont = true; |
| | | this.gv_inventoryUnit.Caption = "开工状态"; |
| | | this.gv_inventoryUnit.FieldName = "gdzt"; |
| | |
| | | // btnIn |
| | | // |
| | | this.btnIn.Appearance.BackColor = DevExpress.LookAndFeel.DXSkinColors.FillColors.Primary; |
| | | this.btnIn.Appearance.Font = new System.Drawing.Font("Tahoma", 10F); |
| | | |
| | | this.btnIn.Appearance.Options.UseBackColor = true; |
| | | this.btnIn.Appearance.Options.UseFont = true; |
| | | this.btnIn.Dock = System.Windows.Forms.DockStyle.Right; |