Skip to content

A GUI app that prevents the computer from going to sleep by calling WinAPI function.

Notifications You must be signed in to change notification settings

bellabas/It-Is-On

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

It is ON!

Prevents the computer from going to sleep. The app was developed with WPF and WinForms in the MVVM pattern, and it uses IoC container.

Usage:

Three selectable modes are available:

  • Prevent Screensaver and Sleep
  • Prevent Sleep (which keeps the computer awake but the screensaver will be on)
  • Normal mode (the computer state before you opened the app)

Features:

  • The minimize button puts the app in the system tray instead of the normal tray, so it won't bother anyone. A simple click on the tray icon will restore the window.
  • Clicking the close button will first safely revert the app back to normal mode then closes the window.

Dependencies:

How it works:

It calls a WinAPI function that sets the appropriate flags which prevents the computer from sleeping or turning off the screen.