Ejemplo n.º 1
0
        public static async Task ApplyWallpaper(Wallpaper w)
        {
            if (LastWallpaper != null)
            {
                LastWallpaper.Clean();
            }

            LastWallpaper = GetWallper(w.ProjectInfo.Type);
            await LastWallpaper.Show();
        }
        public static async Task ApplyWallpaper(WallpaperType type, WallpapaerParameter info)
        {
            if (LastWallpaper != null)
            {
                LastWallpaper.Clean();
            }

            LastWallpaper = GetWallper(type);
            await LastWallpaper.Show(info);
        }