public void RecreateAll()
        {
            taskbars = TaskbarUtils.ListTaskbars().ToList();

            ActivePlacement = Settings.Placement;

            // recreate all windows
            foreach (var w in windows)
            {
                w.RestoreTaskbar();
                w.Close();
            }

            windows.Clear();

            // add the component to each taskbar (primary and secondary)
            foreach (var taskbar in taskbars)
            {
                var f = new WeekWindow(taskbar, Settings, DialogService);
                f.Show();

                Register(f);
            }
        }
 public void Deregister(WeekWindow window)
 {
     windows.Remove(window);
 }
 public void Register(WeekWindow window)
 {
     windows.Add(window);
 }