예제 #1
0
 public void ClearItems()
 {
     items.Clear();
     selectableItems.Clear();
     itemDictionary.Clear();
     DropDownItemsContainer.Clear();
 }
예제 #2
0
        public void ClearTeams()
        {
            allTeams.Clear();
            teams.Clear();

            TeamsCount = 0;
        }
예제 #3
0
 public virtual void Reset()
 {
     if (Contents == null)
     {
         InternalChildren = new Drawable[]
         {
             new ScrollContainer
             {
                 Children = new[]
                 {
                     buttonsContainer = new FlowContainer
                     {
                         Direction    = FlowDirection.VerticalOnly,
                         AutoSizeAxes = Axes.Both,
                         Spacing      = new Vector2(15, 5)
                     }
                 }
             },
             Contents = new Container()
             {
                 RelativeSizeAxes = Axes.Both,
             },
         };
     }
     else
     {
         Contents.Clear();
         buttonsContainer.Clear();
     }
 }
예제 #4
0
 public void ClearItems()
 {
     internalItems.Clear();
     selectableItems.Clear();
     itemDictionary.Clear();
     DropDownList.Clear();
 }