Answer by NobodysNightmare for Disable a c# form if not used for a certain...
You can use GetLastInputInfo to determine how long ago the user last interacted with the system. see the MSDNIf you only want to keep track of interactions with your form alone you should use a timer...
View ArticleAnswer by Christophe De Troyer for Disable a c# form if not used for a...
As you can read in this question: How to enable ALL controls on a form? you can write a small method that disables ALL controls in your form.Now for the timer, you can create a timer object that is...
View ArticleDisable a c# form if not used for a certain duration?
I want to disable the content of a c# windows form if I don't work on it for a certain duration, for example 10 minutes? Is this possible?
View Article
More Pages to Explore .....