public void ResetPosition(bool renderBackground = true) { setShellWindowSize(); DesktopOverlayWindow?.ResetPosition(); DesktopWindow?.ResetPosition(); if (renderBackground && isShellWindow) { DesktopWindow?.ReloadBackground(); } }
public IntPtr OnSetDeskWallpaper() { DesktopWindow?.ReloadBackground(); return(new IntPtr(NativeMethods.MA_NOACTIVATE)); }
private void WallpaperChanged(object sender, EventArgs e) { DesktopWindow?.ReloadBackground(); }