Exemplo n.º 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();
        }
Exemplo n.º 2
0
 public SnapShot(string name, LocationApps toRestore, LocationApps currentScanned)
 {
     Name        = name;
     ScannedApps = currentScanned;
     RestoreApps = toRestore;
 }