| | |
| | | // 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 = "rkmxGuid"; |
| | |
| | | // |
| | | // 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 = "itemNo"; |
| | |
| | | // |
| | | // 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 = "itemName"; |
| | |
| | | // |
| | | // gv_purchaseUnit |
| | | // |
| | | this.gv_purchaseUnit.AppearanceCell.Font = new System.Drawing.Font("Tahoma", 10F); |
| | | |
| | | this.gv_purchaseUnit.AppearanceCell.ForeColor = System.Drawing.Color.Blue; |
| | | this.gv_purchaseUnit.AppearanceCell.Options.UseFont = true; |
| | | this.gv_purchaseUnit.AppearanceCell.Options.UseForeColor = true; |