Beispiel #1
0
        public FrmMain(AppConfiguration appConfig)
            : this()
        {
            if (appConfig == null)
            {
                throw new ArgumentNullException("appConfig");
            }

            Program.RebindGroupConnection(appConfig.Get());
            _service = Program.GetService();

            //Update dataBase
            Program.MigrateDataBase();
            _service.InitService();
        }