示例#1
0
 // <Important>
 // Displays an ItemList using the names of the items, on the given array of labels.
 // Currently should be used for size and options (until we get images for those).
 public void DisplayAsText(Label[] labels)
 {
     for (int i = 0; i < labels.Count(); i++)
     {
         int newindex = i + selected;
         this.Item(newindex).SetLabel(labels[i]);
     }
 }