public void addButton(string action, string type, string path) { CustomButton cb = new CustomButton(action, type, path); addButton(cb); }
public void addButton(CustomButton button) { buttons.Add(button); this.guiCustomized = true; }