For example, how does the program detect when the user hasn't used it for 5 minutes?
Asked
Active
Viewed 335 times
2
-
1Command line? WPF? Winforms? Webforms? – Oded Aug 06 '10 at 09:47
-
Do you mean program (A) detect when it, (A), hasn't been used for a while or do you mean program (A) detect when another program, (B), hasn't been used for a while? – Paul Ruane Aug 06 '10 at 09:55
-
Winforms , I need webform - yes – pedram Aug 06 '10 at 14:12
1 Answers
1
In WinForms there is an Application.Idle event:
http://msdn.microsoft.com/en-us/library/system.windows.forms.application.idle.aspx

Kurt
- 4,477
- 2
- 26
- 34