public virtual void Insert(int index, SimplePopupButton button)
 {
     if (Contains(button))
     {
         return;
     }
     List.Insert(index, button);
 }
        public virtual int Add(SimplePopupButton button)
        {
            int res = IndexOf(button);

            if (res == -1)
            {
                res = List.Add(button);
            }
            return(res);
        }
 public virtual bool Contains(SimplePopupButton button)
 {
     return(List.Contains(button));
 }
 public virtual int IndexOf(SimplePopupButton button)
 {
     return(List.IndexOf(button));
 }
 public CustomButtonCollectionEventArgs(SimplePopupButton paramButton, CollectionChangeAction paramAction)
     : base(paramButton)
 {
     protCurrentAction = paramAction;
 }
 public CustomButtonEventsArgs(SimplePopupButton paramButton)
 {
     protCustomButton = paramButton;
 }
Example #7
0
 public EventsArgsCustomButton(SimplePopupButton currentButton)
 {
     protCustomButton = currentButton;
 }