Пример #1
0
        private void Image_PreviewMouseLeftButtonUp_1(object sender, MouseButtonEventArgs e)
        {
            AddPet addPet = new AddPet();

            addPet.Owner = this;
            addPet.Show();
        }
Пример #2
0
        private void btnAdd_Click(object sender, RoutedEventArgs e)
        {
            AddPet addPet = new AddPet();

            addPet.Owner = this;
            addPet.ShowDialog();
        }