private void btnStop_Click(object sender, RoutedEventArgs e) { var displayIds = monitorsVM.Where(m => m.Checked).Select(m => (uint)monitorsVM.IndexOf(m)).ToArray(); WallpaperManager.CloseWallpaper(displayIds); }
private void btnStop_Click(object sender, RoutedEventArgs e) { var displayIds = monitorsVM.Where(m => m.Checked).Select(m => (uint)monitorsVM.IndexOf(m)).ToArray(); WallpaperManager.CloseWallpaper(displayIds); }