private void buttonConverDolar_Click(object sender, EventArgs e) { double aux; if (double.TryParse(txtConverDolar.Text, out aux)) { Dolar Dolares = new Dolar(aux); textBox11.Text = (Dolares.getCantidad()).ToString(); textBox10.Text = ((Euro)Dolares).GetCantidad().ToString(); textBox12.Text = ((Peso)Dolares).getCantidad().ToString(); } }