示例#1
0
 private void DogsButton_Click(object sender, RoutedEventArgs e)
 {
     if (DogsWindow == null)
     {
         DogsWindow = new DogsWindow(this);
         DogsWindow.Show();
     }
 }
示例#2
0
 public CreateNewDogWindow(DogsWindow parent)
 {
     InitializeComponent();
     this.parent = parent;
 }