| | |
| | | // gcMain1 |
| | | // |
| | | this.gcMain1.Dock = System.Windows.Forms.DockStyle.Fill; |
| | | this.gcMain1.Font = new System.Drawing.Font("Tahoma", 10F); |
| | | |
| | | this.gcMain1.Location = new System.Drawing.Point(0, 0); |
| | | this.gcMain1.MainView = this.gridView1; |
| | | this.gcMain1.Name = "gcMain1"; |
| | |
| | | // |
| | | // gridView1 |
| | | // |
| | | this.gridView1.Appearance.Row.Font = new System.Drawing.Font("Tahoma", 10F); |
| | | |
| | | this.gridView1.Appearance.Row.Options.UseFont = true; |
| | | this.gridView1.Columns.AddRange(new DevExpress.XtraGrid.Columns.GridColumn[] { |
| | | this.gv_printNo, |
| | |
| | | // |
| | | // gv_printNo |
| | | // |
| | | this.gv_printNo.AppearanceCell.Font = new System.Drawing.Font("Tahoma", 10F); |
| | | |
| | | this.gv_printNo.AppearanceCell.Options.UseFont = true; |
| | | this.gv_printNo.Caption = "打印机编号 "; |
| | | this.gv_printNo.FieldName = "printNo"; |
| | |
| | | // |
| | | // gv_ip |
| | | // |
| | | this.gv_ip.AppearanceCell.Font = new System.Drawing.Font("Tahoma", 10F); |
| | | |
| | | this.gv_ip.AppearanceCell.Options.UseFont = true; |
| | | this.gv_ip.Caption = "打印机IP "; |
| | | this.gv_ip.FieldName = "ip"; |
| | |
| | | // |
| | | // gv_port |
| | | // |
| | | this.gv_port.AppearanceCell.Font = new System.Drawing.Font("Tahoma", 10F); |
| | | |
| | | this.gv_port.AppearanceCell.Options.UseFont = true; |
| | | this.gv_port.Caption = "打印机端口 "; |
| | | this.gv_port.FieldName = "port"; |
| | |
| | | // |
| | | // gv_remark |
| | | // |
| | | this.gv_remark.AppearanceCell.Font = new System.Drawing.Font("Tahoma", 10F); |
| | | |
| | | this.gv_remark.AppearanceCell.Options.UseFont = true; |
| | | this.gv_remark.Caption = "备注 "; |
| | | this.gv_remark.FieldName = "remark"; |
| | |
| | | // |
| | | this.txt_remark.Location = new System.Drawing.Point(375, 50); |
| | | this.txt_remark.Name = "txt_remark"; |
| | | this.txt_remark.Properties.Appearance.Font = new System.Drawing.Font("Tahoma", 10F); |
| | | |
| | | this.txt_remark.Properties.Appearance.Options.UseFont = true; |
| | | this.txt_remark.Size = new System.Drawing.Size(185, 28); |
| | | this.txt_remark.StyleController = this.layoutMx1; |
| | |
| | | // |
| | | this.txt_port.Location = new System.Drawing.Point(99, 50); |
| | | this.txt_port.Name = "txt_port"; |
| | | this.txt_port.Properties.Appearance.Font = new System.Drawing.Font("Tahoma", 10F); |
| | | |
| | | this.txt_port.Properties.Appearance.Options.UseFont = true; |
| | | this.txt_port.Properties.MaskSettings.Set("MaskManagerType", typeof(DevExpress.Data.Mask.RegExpMaskManager)); |
| | | this.txt_port.Properties.MaskSettings.Set("mask", "\\d+"); |
| | |
| | | // |
| | | this.txt_ip.Location = new System.Drawing.Point(375, 12); |
| | | this.txt_ip.Name = "txt_ip"; |
| | | this.txt_ip.Properties.Appearance.Font = new System.Drawing.Font("Tahoma", 10F); |
| | | |
| | | this.txt_ip.Properties.Appearance.Options.UseFont = true; |
| | | this.txt_ip.Size = new System.Drawing.Size(185, 28); |
| | | this.txt_ip.StyleController = this.layoutMx1; |
| | |
| | | // |
| | | this.txt_printNo.Location = new System.Drawing.Point(99, 12); |
| | | this.txt_printNo.Name = "txt_printNo"; |
| | | this.txt_printNo.Properties.Appearance.Font = new System.Drawing.Font("Tahoma", 10F); |
| | | |
| | | this.txt_printNo.Properties.Appearance.Options.UseFont = true; |
| | | this.txt_printNo.Size = new System.Drawing.Size(185, 28); |
| | | this.txt_printNo.StyleController = this.layoutMx1; |