| | |
| | | using DevExpress.Office.Utils; |
| | | using DevExpress.XtraEditors; |
| | | using DevExpress.XtraEditors; |
| | | using DevExpress.XtraGrid.Columns; |
| | | using DevExpress.XtraLayout.Utils; |
| | | using Gs.DevApp.Entity; |
| | | using Gs.DevApp.ToolBox; |
| | | using Gs.DevApp.UserControl; |
| | | using Newtonsoft.Json; |
| | | using Newtonsoft.Json.Linq; |
| | | using NModbus; |
| | |
| | | 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); |
| | | 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("宋体", 15F);//grid |
| | | System.Drawing.Font ft4 = new System.Drawing.Font("宋体", 12F);//head |
| | | System.Drawing.Font ft5 = new System.Drawing.Font("宋体", 12F);//表头 |
| | | //设置字体大小 |
| | | this.btnGood.Appearance.Font = ft1; |
| | | this.btnBad.Appearance.Font = ft1; |
| | |
| | | this.simpleButton5.Appearance.Font =ft2; |
| | | this.simpleButton4.Appearance.Font =ft2; |
| | | this.simpleButton6.Appearance.Font =ft2; |
| | | this.lbSum1.Appearance.Font = ft2; |
| | | this.lbSum2.Appearance.Font = ft2; |
| | | this.lbSum3.Appearance.Font = ft2; |
| | | this.lbSum4.Appearance.Font = ft2; |
| | | this.gvMx1.Appearance.Row.Font = ft3; |
| | | this.gvMx2.Appearance.Row.Font = ft3; |
| | | this.layoutControlItem1.AppearanceItemCaption.Font = ft4; |