Exemple #1
0
 public void RefreshMicList(object sender, EventArgs e)
 {
     _mic.Dispose();
     _mic = new DgMic();
     _mic.OnVolumeNotification += _mic_OnVolumeNotification;
     IsMuted = Settings.IsMuted; // reassert the muted state on the new set of mics
 }
Exemple #2
0
 public NotifyIconViewModel()
 {
     IconPath = @"res\microphone_unmuted.ico";
     _mic     = new DgMic();
     _mic.OnVolumeNotification += _mic_OnVolumeNotification;
     ExitApplicationCommand     = new RelayCommand(ExitApplication);
     ForkOnGitHubCommand        = new RelayCommand(ForkOnGithub);
     OpenSettingsWindowCommand  = new RelayCommand(OpenSettingsWindow);
 }