Exemple #1
0
 private void ActivarProducto()
 {
     Interface = new InterfaceUsuario(this);
     if (Interface.ActivarProducto(Convert.ToInt32(dgvProductos[0, dgvProductos.SelectedCells[0].RowIndex].Value)))
     {
         MessageBox.Show("Producto activado con éxito", "AVISO", MessageBoxButtons.OK, MessageBoxIcon.Information);
         LlenarData(Búsqueda.Total);
     }
     else
     {
         Validar.MensajeErrorBaseDeDatos();
     }
 }