private void AudioSwitching(object sender, EventArgs e) { var element = sender as MenuItem; MyUtils.SwitchDeviceFromString(element.Text); }