private static Image GetWallpaper(SaveFile SAV, int box) { string s = BoxWallpaper.GetWallpaper(SAV, box); return((Bitmap)(Resources.ResourceManager.GetObject(s) ?? Resources.box_wp16xy)); }
private static Image GetWallpaper(SaveFile sav, int box) { string s = BoxWallpaper.GetWallpaperResourceName(sav.Version, sav.GetBoxWallpaper(box)); return((Bitmap)Resources.ResourceManager.GetObject(s) ?? Resources.box_wp16xy); }