public MainWindow() { InitializeComponent(); DataContext = this; winWatcher = new WindowsWatcher(); ScannedApps = winWatcher.GetWindows(); IgnoredScannedApps = winWatcher.ignoredApps; RestoreScannedApps = new LocationApps(); PreviousSnapshots = winWatcher.GetPreviousSnapShotList(); screens = System.Windows.Forms.Screen.AllScreens.ToList(); RefreshDwgs(); }
public SnapShot(string name, LocationApps toRestore, LocationApps currentScanned) { Name = name; ScannedApps = currentScanned; RestoreApps = toRestore; }