Exemple #1
0
 private void MomentaryShowHook_PropertyChanged(object sender, PropertyChangedEventArgs e)
 {
     if (nameof(GlobalHotkey.Enabled) == e.PropertyName)
     {
         Settings.Default.MomentaryShowEnabled = _HotkeyManager.GetHook(HK_MOMENTARY).Enabled;
     }
     if (nameof(GlobalHotkey.Key) == e.PropertyName)
     {
         Settings.Default.MomentaryShowKeyCombo = _HotkeyManager.GetHook(HK_MOMENTARY).Key.ToStorage();
     }
 }