示例#1
0
文件: Context.cs 项目: glwu/acat
        /// <summary>
        /// Initializes the singleton instance of the class
        /// </summary>
        static Context()
        {
            AppQuit = false;
            AppWindowPosition = Windows.WindowPosition.MiddleRight;

            //Initialize all the manager singleton objects
            _actuatorManager = ActuatorManager.Instance;
            _agentManager = AgentManager.Instance;
            _panelManager = PanelManager.Instance;
            _ttsManager = TTSManager.Instance;
            _automationEventManager = AutomationEventManager.Instance;
            _wordPredictionManager = WordPredictionManager.Instance;
            _spellCheckManager = SpellCheckManager.Instance;
            _themeManager = ThemeManager.Instance;
        }
示例#2
0
文件: Context.cs 项目: nbsrujan/acat
 /// <summary>
 /// Initializes the singleton instance of the class
 /// </summary>
 static Context()
 {
     AppQuit = false;
     AppWindowPosition = Windows.WindowPosition.TopRight;
     _actuatorManager = ActuatorManager.Instance;
     _agentManager = AgentManager.Instance;
     _panelManager = PanelManager.Instance;
     _ttsManager = TTSManager.Instance;
     _automationEventManager = AutomationEventManager.Instance;
     _wordPredictionManager = WordPredictionManager.Instance;
     _spellCheckManager = SpellCheckManager.Instance;
     _themeManager = ThemeManager.Instance;
 }