private void CloseRegistration() { var view = new StartUpView(); view.Show(); this.Close(); }
protected override void OnStartup(StartupEventArgs e) { base.OnStartup(e); IoC.Setup(); //var IoC = new ViewModelLocator(); SetupExceptionHandling(); SetupDataGridSingleClickEditEvent(); //Show the main window Current.MainWindow = StartUpView.GetStartUpWindow(); Current.MainWindow.Show(); }