internal static void Update() { KeyboardExt.Update(); MouseExt.Update(); BasicInputHandler.Update(); }
private void MainWindow_Loaded(object sender, RoutedEventArgs e) { screenSaverTimer = new DispatcherTimer { Interval = TimeSpan.FromSeconds(screenSaverTimerInterval) }; screenSaverTimer.Tick += (s, arg) => Snow(); screenSaverTimer.Start(); myTimer = new Timer(1500); myTimer.AutoReset = false; myTimer.Elapsed += delegate { MouseExt.SafeOverrideCursor(Cursors.None); }; //Hide cursor }
internal static void Update() { KeyboardExt.Update(); MouseExt.Update(); }