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

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