private static void ShowWelcomeIfAppropriate()
 {
     if (!s_settings.HasKey(FirstRunKey))
     {
         s_settings.Set(FirstRunKey, true);
         ProtocolLaunchEarTrumpet("welcome");
     }
 }
示例#2
0
 public void ResetTrayIconIdentity() => _settings.Set(s_trayIconIdKey, Guid.Empty);
示例#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);
 }