Пример #1
0
 public void SetDefaultAudioDevice(string id)
 {
     _deviceService.SetDefaultAudioDevice(id);
 }
Пример #2
0
        void Device_Click(object sender, EventArgs e)
        {
            var id = ((System.Windows.Forms.MenuItem)sender).Name.Substring(_deviceItemPrefix.Length);

            _audioDeviceService.SetDefaultAudioDevice(id);
        }