| | |
| | | // 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(2, 2); |
| | | 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 = 60; |
| | | this.gridView1.Columns.AddRange(new DevExpress.XtraGrid.Columns.GridColumn[] { |
| | |
| | | // |
| | | // gv_depotCode |
| | | // |
| | | this.gv_depotCode.AppearanceCell.Font = new System.Drawing.Font("Tahoma", 10F); |
| | | |
| | | this.gv_depotCode.AppearanceCell.Options.UseFont = true; |
| | | this.gv_depotCode.Caption = "打印机编号"; |
| | | this.gv_depotCode.FieldName = "printNo"; |
| | |
| | | // |
| | | // gv_depottype |
| | | // |
| | | this.gv_depottype.AppearanceCell.Font = new System.Drawing.Font("Tahoma", 10F); |
| | | |
| | | this.gv_depottype.AppearanceCell.Options.UseFont = true; |
| | | this.gv_depottype.Caption = "打印机IP"; |
| | | this.gv_depottype.FieldName = "ip"; |
| | |
| | | // |
| | | // gv_createBy |
| | | // |
| | | this.gv_createBy.AppearanceCell.Font = new System.Drawing.Font("Tahoma", 10F); |
| | | |
| | | this.gv_createBy.AppearanceCell.Options.UseFont = true; |
| | | this.gv_createBy.Caption = "打印机端口"; |
| | | this.gv_createBy.FieldName = "port"; |
| | |
| | | // |
| | | // gv_isNg |
| | | // |
| | | this.gv_isNg.AppearanceCell.Font = new System.Drawing.Font("Tahoma", 10F); |
| | | |
| | | this.gv_isNg.AppearanceCell.Options.UseFont = true; |
| | | this.gv_isNg.Caption = "打印机备注"; |
| | | this.gv_isNg.FieldName = "remark"; |