示例#1
0
        public void ResetPosition(bool renderBackground = true)
        {
            setShellWindowSize();

            DesktopOverlayWindow?.ResetPosition();
            DesktopWindow?.ResetPosition();
            if (renderBackground && isShellWindow)
            {
                DesktopWindow?.ReloadBackground();
            }
        }
示例#2
0
        public IntPtr OnSetDeskWallpaper()
        {
            DesktopWindow?.ReloadBackground();

            return(new IntPtr(NativeMethods.MA_NOACTIVATE));
        }
 private void WallpaperChanged(object sender, EventArgs e)
 {
     DesktopWindow?.ReloadBackground();
 }