Esempio n. 1
0
        private void Style(DesktopEx.FolderFlags flag, bool newValue)
        {
            var current = DesktopEx.Style(flag);

            _Style.Add(flag, current);

            if (current != newValue)
            {
                DesktopEx.Style(flag, newValue);
            }
        }
Esempio n. 2
0
        private void RestoreDesktop()
        {
            DesktopEx.Icons(_Mode, _IconSize);

            /* restore styles */
            foreach (var entry in _Style)
            {
                DesktopEx.Style(entry.Key, entry.Value);
            }

            Wallpaper.Restore();
        }