Exemple #1
0
 public static void RemoveToolbarButton(ToolbarButton button)
 {
     buttons.Remove(button);
     buttons.Sort((a, b) => a.Order.CompareTo(b.Order));
 }
Exemple #2
0
 public static void AddToolbarButton(ToolbarButton button)
 {
     buttons.Add(button);
     buttons.Sort((a, b) => a.Order.CompareTo(b.Order));
 }