Example #1
0
        public void RemoveButton(Windows.Core.Window windowToRemove)
        {
            TaskBarButton button = FindWindowButton(windowToRemove);

            if (button != null)
            {
                button.Close();
                mButtons.Remove(button);
                Init();
            }
        }
Example #2
0
 public void AddButton(TaskBarButton buttonToAdd)
 {
     buttonToAdd.Parent = this;
     mButtons.Add(buttonToAdd);
     Init();
 }