Example #1
0
 /// <summary>
 /// Adds a button to the set of registered buttons
 /// </summary>
 /// <param name="b">The button to add</param>
 public void AddButton(AbstractElement b)
 {
     Buttons.Add(b);
 }
Example #2
0
 /// <summary>
 /// Adds a button to the set of registered buttons
 /// </summary>
 /// <param name="b">The button to add</param>
 public void RemoveButton(AbstractElement b)
 {
     if (Buttons.Contains(b))
         Buttons.Remove(b);
 }