Example #1
0
 private void layOutPane_ChildrenCollectionChanged(object sender, EventArgs e)
 {
     if (layOutPane.Children.Count == 0)
     {
         parent.Window = null;
         win.Close();
     }
 }
Example #2
0
 private void Button_Click(object sender, RoutedEventArgs e)
 {
     Window.Close();
 }