private void btnModificarArticulo_Click(object sender, EventArgs e) { try { InventarioDAO.actualizarStock(comboBox3.Text, Convert.ToInt32(numericUpDown2.Text)); MessageBox.Show("Stock acctualizado exitosamente", "JUMBO - Bottled coffee", MessageBoxButtons.OK, MessageBoxIcon.Information); actualizarControles(); } catch (Exception exception) { MessageBox.Show("Error" + exception.Message, "Error dialog", MessageBoxButtons.OK, MessageBoxIcon.Error); } }