コード例 #1
0
 private void Window_Closed(object sender, EventArgs e)
 {
     if (fClosing)
     {
         MainWindow mv = new MainWindow();
         mv.Show();
     }
 }
コード例 #2
0
 private void Button_Click(object sender, RoutedEventArgs e)
 {
     MainWindow mv = new MainWindow();
     mv.Show();
     this.Close();
 }