private void Button_Click_2(object sender, RoutedEventArgs e)
        {
            ControladorAnimal ca = new ControladorAnimal();
            Animal            a  = new Animal();

            a.IdAnimal = Int32.Parse(txtId.Text);
            ca.DeleteSQL(a);
            CargarAnimales();
            Clear();
        }
        private void Button_Click(object sender, RoutedEventArgs e)
        {
            ControladorAnimal ca = new ControladorAnimal();
            Animal            a  = new Animal();

            a.Nombre = txtNombre.Text;
            a.Tipo   = cmbTipo.Text;
            a.Precio = Double.Parse(txtPrecio.Text);
            ca.InsertSQL(a);
            CargarAnimales();
            Clear();
        }
        public void CargarAnimales()
        {
            ControladorAnimal _ca = new ControladorAnimal();

            dtgLista.ItemsSource = _ca.ShowAllAnimals();
        }