private void button1_Click(object sender, EventArgs e)
        {
            TratamientosCEN trataCEN = new TratamientosCEN();

            if (trataCEN.ReadOID(tbID.Text) == null)
            {
                if (tbNombre.Text != "" && tbPrecio.Text != "" && tbFecha_Ini.Text != "" && tbFecha_fin.Text != "" && tbID.Text != "")
                {
                    trataCEN = new TratamientosCEN();
                    //   float precio = float.Parse(tbPrecio.Text, System.Globalization.NumberStyles.Float, new System.Globalization.CultureInfo("en-US"));
                    trataCEN.Nuevo_tratamiento(tbNombre.Text, float.Parse(tbPrecio.Text), tbFecha_Ini.Text, tbFecha_fin.Text, tbID.Text);

                    MessageBox.Show("Elige un animal para el tratamiento y pulsa editar");
                    Dame_Todos();
                    btInsertarAnimal.Text = "Insertar";
                    button6.Enabled = false;
                    button1.Enabled = false;
                    button2.Enabled = false;
                    button3.Enabled = false;
                    btBuscar.Enabled = false;
                    btInsertarAnimal.Enabled = true;
                    tbID.Enabled = false;
                    label12.Visible = true;
                    dataGridView1.Visible = false;
                    editarAnimal = true; // con esto controlo que se llame a editar de animales o tratamiento.
                  //  Limpiar();
                }
                else
                {
                    MessageBox.Show("Tienes que rellenar todos los datos");
                }
            }
            else
            {
                MessageBox.Show("El tratamiento ya existe");
            }
        }