private void Schritt3_abbrechen_Copy_Click(object sender, RoutedEventArgs e) { var window = new Step4(); window.Show(); Close(); }
public Step3() { InitializeComponent(); var viewModel = ServiceLocator.Current.GetInstance <Step3ViewModel>(); if (viewModel.CloseAction == null) { viewModel.CloseAction = Close; } var nextWindow = new Step4(); if (viewModel.ShowNextAction == null) { viewModel.ShowNextAction = nextWindow.Show; } }