private void Timer_Elapsed(object sender, ElapsedEventArgs e) { _timer?.Stop(); ExplorerMonitor.Check(); MaximizedMonitor.Check(); _timer?.Start(); }
static Window() { _monitor = new ExplorerMonitor(); _explorer_monitor = Cache<ExplorerWindowRepresentor[]>.FiveSeconds(() => _monitor.FetchCurrent().ToArray(), false); }
static Window() { _monitor = new ExplorerMonitor(); _explorer_monitor = Cache <ExplorerWindowRepresentor[]> .FiveSeconds(() => _monitor.FetchCurrent().ToArray(), false); }