private void Window_Closed(object sender, EventArgs e) { if (fClosing) { MainWindow mv = new MainWindow(); mv.Show(); } }
private void Button_Click(object sender, RoutedEventArgs e) { MainWindow mv = new MainWindow(); mv.Show(); this.Close(); }