Ejemplo n.º 1
0
        /// <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();
            }
        }