private void audioChannelTextBox_TextChanged(object sender, TextChangedEventArgs e) { int temp = 0; if (int.TryParse(audioChannelTextBox.Text, out temp)) { kinectSettings.audioAngleChannel = temp; } }