/// <summary> /// This class should be created and passed into Application.Run( ... ) /// </summary> public BotAppContext() { InitializeContext(); subscribe = new Subscribe(); appStorage = AppStorage.Deserialize(); modelFactory = new ModelFactory(appStorage); if (Config.OpenFormsAtInit.Value) { ShowBotForm(); } }