private void UC_ComboBox_ModeleSelect_SelectionChanged(object sender, SelectionChangedEventArgs e) { if (!this.IsLoaded) { return; } int index = UC_ComboBox_ModeleSelect.SelectedIndex; NotificationSystem.Show(new Notification { Message = index.ToString() }); switch (index) { case 0: ContentControl = new Internal.Editor.MatriculaEditor(); UC_DockPanel_Content.Children.Add((UserControl)ContentControl); break; } }