private static void ShowWelcomeIfAppropriate()
 {
     if (!s_settings.HasKey(FirstRunKey))
     {
         s_settings.Set(FirstRunKey, true);
         ProtocolLaunchEarTrumpet("welcome");
     }
 }
Exemple #2
0
 public void ResetTrayIconIdentity() => _settings.Set(s_trayIconIdKey, Guid.Empty);
Exemple #3
0
 protected void SaveSettings(string key)
 {
     _settings.Set(key, _commandControlMappings);
 }
 public void Set <T>(string key, T value)
 {
     _globalBag.Set($"{Namespace}{key}", value);
     SettingChanged?.Invoke(this, key);
 }