| | |
| | | public Frm_Work01(string _fGx, string _fBc, string _strinOther, int chkWater = 0) |
| | | { |
| | | InitializeComponent(); |
| | | System.Drawing.Font ft1 = new System.Drawing.Font("宋体", 35F); |
| | | System.Drawing.Font ft2 = new System.Drawing.Font("宋体", 25F); |
| | | System.Drawing.Font ft3 = new System.Drawing.Font("宋体", 20F); |
| | | System.Drawing.Font ft4 = new System.Drawing.Font("宋体", 15F); |
| | | System.Drawing.Font ft5 = new System.Drawing.Font("宋体", 12F); |
| | | //设置字体大小 |
| | | this.btnGood.Appearance.Font = ft1; |
| | | this.btnBad.Appearance.Font = ft1; |
| | | this.simpleButton3.Appearance.Font =ft2; |
| | | this.simpleButton7.Appearance.Font =ft2; |
| | | this.simpleButton5.Appearance.Font =ft2; |
| | | this.simpleButton4.Appearance.Font =ft2; |
| | | this.simpleButton6.Appearance.Font =ft2; |
| | | this.gvMx1.Appearance.Row.Font = ft3; |
| | | this.gvMx2.Appearance.Row.Font = ft3; |
| | | this.layoutControlItem1.AppearanceItemCaption.Font = ft4; |
| | | this.layoutControlItem2.AppearanceItemCaption.Font = ft4; |
| | | this.layoutControlItem3.AppearanceItemCaption.Font = ft4; |
| | | this.layoutControlItem4.AppearanceItemCaption.Font = ft4; |
| | | this.layoutControlItem5.AppearanceItemCaption.Font = ft4; |
| | | this.layShuiJian.AppearanceItemCaption.Font = ft4; |
| | | this.layoutControlItem7.AppearanceItemCaption.Font = ft4; |
| | | this.layoutControlItem8.AppearanceItemCaption.Font = ft4; |
| | | this.layoutControlItem10.AppearanceItemCaption.Font = ft4; |
| | | this.layoutControlItem11.AppearanceItemCaption.Font = ft4; |
| | | this.layoutControlItem12.AppearanceItemCaption.Font = ft4; |
| | | this.layoutControlItem13.AppearanceItemCaption.Font = ft4; |
| | | this.layoutControlItem14.AppearanceItemCaption.Font = ft4; |
| | | this.layoutControlItem15.AppearanceItemCaption.Font = ft4; |
| | | this.txt_gdbh.Properties.Appearance.Font =ft5; |
| | | this.txt_itemNo.Properties.Appearance.Font =ft5; |
| | | this.txt_itemModel.Properties.Appearance.Font =ft5; |
| | | this.txt_gx.Properties.Appearance.Font =ft5; |
| | | this.txt_bc.Properties.Appearance.Font =ft5; |
| | | this.txt_itemName.Properties.Appearance.Font =ft5; |
| | | this.txt_yjDate.Properties.Appearance.Font =ft5; |
| | | this.txt_collectBy.Properties.Appearance.Font =ft5; |
| | | this.txt_sbNo.Properties.Appearance.Font =ft5; |
| | | this.txt_sjXt.Properties.Appearance.Font =ft5; |
| | | this.txt_sjDate.Properties.Appearance.Font =ft5; |
| | | this.txt_barCode.Properties.Appearance.Font =ft5; |
| | | this.txt_currentBarCode.Properties.Appearance.Font =ft5; |
| | | this.txt_gongWei.Properties.Appearance.Font =ft5; |
| | | this.txt_dianJianPath.Properties.Appearance.Font =ft5; |
| | | try |
| | | { |
| | | string _vanishingSeconds = chkWater.ToString(); |