예제 #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;
 }