| | |
| | | using IStation.DataProvider; |
| | | using IStation.Desktop.CurveMgr; |
| | | using System; |
| | | using System.Collections.Generic; |
| | | using System.Windows.Forms; |
| | | |
| | | namespace IStation |
| | |
| | | System.Windows.Forms.Application.SetCompatibleTextRenderingDefault(false); |
| | | |
| | | IStation.LogHelper.Initial(); |
| | | |
| | | //字体 |
| | | var font = new System.Drawing.Font("微软雅黑", 10); |
| | | |
| | | //字体 |
| | | var font = new System.Drawing.Font("微软雅黑", 10); |
| | | DevExpress.XtraEditors.WindowsFormsSettings.DefaultFont = font; |
| | | DevExpress.XtraEditors.WindowsFormsSettings.DefaultMenuFont = font; |
| | | DevExpress.Utils.AppearanceObject.DefaultFont = font; |
| | |
| | | SettingsHelper.Save(); |
| | | } |
| | | |
| | | var frmMain = new frmMain(); |
| | | // |
| | | List<Model.RiverWaterLevelDrop> allRiverWaterLevelDrop = BLL.RiverWaterLevelDrop.GetList(); |
| | | IStation.Calc.ErQu.GlobalParas.RiverWaterLevelDrops = allRiverWaterLevelDrop; |
| | | |
| | | List<Model.ReservoirParas> allReservoirParas = BLL.ReservoirParas.GetList(); |
| | | IStation.Calc.ErQu.GlobalParas.ReservoirParasList = allReservoirParas; |
| | | |
| | | var asT = BLL.AnaSetting.GetSetting(); |
| | | IStation.Calc.ErQu.GlobalParas.AnaSetting = asT; |
| | | |
| | | |
| | | |
| | | |
| | | var frmMain = new frmMain(); |
| | | frmMain.Initial(); |
| | | Application.Run(frmMain); |
| | | } |