private void setWallpaperPreview() { Bitmap preview; preview = (Bitmap)ImageFunctions.LoadImage(fullPathCurrent, Setting.getSettingsFullPath(Properties.Settings.Default.Portable)); if (preview != null) { this.pbPreviewImage.Image.Dispose(); this.pbPreviewImage.Image = (Image)preview.Clone(); preview.Dispose(); } }