Esempio n. 1
0
 public static void MoveDown(string name)
 {
     for (int i = 0; i < Packs.pack.Count; i++)
     {
         if (Packs.pack[i].sName == name)
         {
             Packs.MoveDown(i);
             return;
         }
     }
 }
Esempio n. 2
0
 private void btn_Click(object sender, TomShane.Neoforce.Controls.EventArgs e)
 {
     if (sender == this.btnUp)
     {
         Packs.MoveUp(this.p.sName);
         Helper.updateList = true;
         return;
     }
     if (sender == this.btnDown)
     {
         Packs.MoveDown(this.p.sName);
         Helper.updateList = true;
     }
 }