private void btnInsertar_Producto_Click(object sender, EventArgs e) { using (GestorProductos elProducto = new GestorProductos()) { elProducto.ingresar_Producto(txtNombre_Producto.Text, txtCategoria_Producto.Text, txtGenero_Producto.Text, txtEdad_Producto.Text, double.Parse(txtPrecio_Producto.Text)); } cargarGridProducto(); }