Beispiel #1
0
 public MenuWindow()
 {
     InitializeComponent();
     settings = SharedSettings.GetInstance();
     ColorCompenents();
     settings.ColorsUpdated += SettingsColorsUpdated;
     Loaded          += MainWindowLoaded;
     LocationChanged += MenuWindowLocationChanged;
 }
Beispiel #2
0
        public Desktop()
        {
            InitializeComponent();
            this.DockScreen();
            this.SendToBottom();
            Activated   += DesktopActivated;
            Deactivated += DesktopDeactivated;

            LoadButtons();

            settings = SharedSettings.GetInstance();
            settings.WallpaperChanged += SettingsWallpaperChanged;
            SetWallpaper();
        }
Beispiel #3
0
        public TaskWindow()
        {
            InitializeComponent();
            settings = SharedSettings.GetInstance();

            ColorCompenents();
            settings.ColorsUpdated += SettingsColorsUpdated;
            Loaded          += MainWindowLoaded;
            LocationChanged += TaskWindowLocationChanged;
            var menu = new MenuWindow();

            menu.Show();

            var desktop = new Desktop();

            desktop.Show();

            setter = new WorkspaceSetter(this, menu, desktop);
        }