private void menuItem2_Click(object sender, EventArgs e)
 {
     Cursor.Current = Cursors.WaitCursor;
     if (res == 2)
     {
         if (ws.embarcaEscuadra(tag, codigo, op, remi, int.Parse("0")) == 0)
         {
             MessageBox.Show("Tarima embarcada exitosamente");
             frmPicking_Escuadras fpe = new frmPicking_Escuadras(2, user, remi);
             fpe.Show();
             GC.Collect();
             this.Dispose();
         }
     }
     else if (res == 3)
     {
         if (ws.clearEscuadra(tag, codigo, op) == 0)
         {
             MessageBox.Show("Tarima verificada para su salida");
             frmPicking_Escuadras fpe = new frmPicking_Escuadras(3, user, remi);
             fpe.Show();
             GC.Collect();
             this.Dispose();
         }
     }
     Cursor.Current = Cursors.Default;
 }
 private void menuItem1_Click(object sender, EventArgs e)
 {
     if (res == 2)
     {
         frmPicking_Escuadras fpe = new frmPicking_Escuadras(2, user);
         fpe.Show();
         GC.Collect();
         this.Dispose();
     }
     else if (res == 3)
     {
         frmPicking_Escuadras fpe = new frmPicking_Escuadras(3, user);
         fpe.Show();
         GC.Collect();
         this.Dispose();
     }
 }