コード例 #1
0
 private void button1_Click(object sender, RoutedEventArgs e)
 {
     parent.DoStuff();
     this.Close();
 }