private void Image_PreviewMouseLeftButtonUp_1(object sender, MouseButtonEventArgs e) { AddPet addPet = new AddPet(); addPet.Owner = this; addPet.Show(); }
private void btnAdd_Click(object sender, RoutedEventArgs e) { AddPet addPet = new AddPet(); addPet.Owner = this; addPet.ShowDialog(); }