Esempio n. 1
0
 private void btnRegistrar_Click(object sender, EventArgs e)
 {
     if (!FaltanCampos)
     {
         Interface = new InterfaceUsuario(this);
         if (Interface.ActualizarPedido(ObtenerPedido))
         {
             MessageBox.Show("Pedido actualizado con éxito", "AVISO", MessageBoxButtons.OK, MessageBoxIcon.Information);
             Close();
         }
         else
         {
             Validar.MensajeErrorBaseDeDatos();
         }
     }
 }