Exemplo n.º 1
0
 private void OkButton_Click(object sender, EventArgs e)
 {
     defWallpaper = WallpaperController.GetCurrentWallpaper();
     defColor     = WallpaperController.GetColor();
     WallpaperController.SetColor(defColor);
     WallpaperController.SetWallpaper(defWallpaper, 0, 0);
     Close();
 }
Exemplo n.º 2
0
 public MainForm()
 {
     defWallpaper = WallpaperController.GetCurrentWallpaper();
     defColor     = WallpaperController.GetColor();
     InitializeComponent();
 }