示例#1
0
        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();
        }
示例#2
0
 public SnapShot(string name, LocationApps toRestore, LocationApps currentScanned)
 {
     Name        = name;
     ScannedApps = currentScanned;
     RestoreApps = toRestore;
 }