예제 #1
0
        public async void Apply()
        {
            CanClean    = true;
            CanGenerate = true;
            //await
            var para = new WallpapaerParameter()
            {
                Dir = Dir, EnterPoint = EndPoint, Args = Arguments
            };

            await WallpaperManger.ApplyWallpaper(SelectedType, para);
        }
예제 #2
0
 public async void ApplyWallpaper(Wallpaper w)
 {
     currentShowWallpaper = w;
     await WallpaperManger.ApplyWallpaper(w.Type, w.PackInfo);
 }