Ejemplo n.º 1
0
Archivo: Context.cs Proyecto: 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;
        }
Ejemplo n.º 2
0
 /// <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;
 }