I wan't to popup a specific form when the user didn't use the program for 2 minutes, let's say.
Means: When the application run, and the user didn't press any key / any button / didn't move the cursor at all for 2 minutes, I want the application to detect it and to show an instance of one of the form's window. I use winform application in c#.
How can I do it? Tal.
See the Application.Idle
event and this related question:
How to detect when the program is idle?
There is also a detailed example here:
http://www.codeproject.com/KB/miscctrl/Application_Idle.aspx
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With