public void RemoveButton(Windows.Core.Window windowToRemove) { TaskBarButton button = FindWindowButton(windowToRemove); if (button != null) { button.Close(); mButtons.Remove(button); Init(); } }
public void AddButton(TaskBarButton buttonToAdd) { buttonToAdd.Parent = this; mButtons.Add(buttonToAdd); Init(); }