Esempio n. 1
0
        public MainViewModel()
        {
            Instance = this;
            SettingsList.Load();
            _audio  = new Audio();
            Devices = _audio.GetDevices().ToObservableCollection();

            // Get full path
            string appdataLocalPath = Environment.GetFolderPath(Environment.SpecialFolder.LocalApplicationData);

            SettingsDirectory    = Path.Combine(appdataLocalPath, "EAS");
            SettingsFileFullPath = Path.Combine(SettingsDirectory, SettingsFileName);

            LoadHotKeysFromFile();
            RegisterAllHotKeys();
            ReloadHotKeys();
        }