private void comboMode_SelectionChanged(object sender, SelectionChangedEventArgs e) { this.SetMode(); } }