Beispiel #1
0
 public void populateWarpList()
 {
     for (short index = 0; index < (short)288; ++index)
     {
         WarpLocation warpLocation = new WarpLocation((int)index);
         if (warpLocation.name != "")
         {
             this.everyWarp.Add(warpLocation);
             this.warps_lb.Items.Add((object)warpLocation.name);
         }
     }
 }
Beispiel #2
0
 private void button1_Click(object sender, EventArgs e)
 {
     this.warp = this.everyWarp[this.warps_lb.SelectedIndices[0]];
     this.Close();
 }