/// <summary> /// Loads the settings screen. /// </summary> /// <param name="sender"></param> /// <param name="e"></param> private void BtnSettings(object sender, RoutedEventArgs e) { //_settingsWindow.ShowDialog(); var settings = new UserControls.SettingsControl(contentControl, _library); contentControl.Content = settings; }
/// <summary> /// Loads the settings screen. /// </summary> /// <param name="sender"></param> /// <param name="e"></param> private void Button_Click_2(object sender, RoutedEventArgs e) { //_settingsWindow.ShowDialog(); LoadParrotData(); var settings = new UserControls.SettingsControl(); settings.LoadStuff(ParrotData); contentControl.Content = settings; }