コード例 #1
0
        private void Schritt3_abbrechen_Copy_Click(object sender, RoutedEventArgs e)
        {
            var window = new Step4();

            window.Show();
            Close();
        }
コード例 #2
0
        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;
            }
        }