private void btnGuardar_Click(object sender, EventArgs e) { try { Entidades.SubCliente _subCliente = CargarEntidad(); bool Exito = ClienteNeg.GuardarEdicionFacturaSubCliente(_subCliente, cuit, idsubCliente); if (Exito == true) { ProgressBar(); const string message2 = "Se registro la edición de la factura exitosamente."; const string caption2 = "Éxito"; var result2 = MessageBox.Show(message2, caption2, MessageBoxButtons.OK, MessageBoxIcon.Asterisk); LimpiarCampos(); } else { } } catch (Exception ex) { } }