public static void RemoveButton(SAControl button) { if (buttonList.Contains(button)) { buttonList.RemoveAt(buttonList.IndexOf(button)); } }
public static void AddButton(SAControl button) { buttonList.Add(button); }