Example #1
0
 private void ScrollBox_SelectedChanged(object sender, ListItemEventArgs e)
 {
     if (Items == null)
     {
         return;
     }
     foreach (IListItem item in Items)
     {
         if (item.Button != null)
         {
             item.Button.Sprite = ListItemSprite;
         }
     }
     if (Selected != null && Selected.Button != null)
     {
         Selected.Button.Sprite = SelectedItemSprite;
     }
 }
Example #2
0
 private void ComboBox_ItemRemoved(object sender, ListItemEventArgs e)
 {
     UpdateItems();
 }