Quantcast
Channel: Disable a c# form if not used for a certain duration? - Stack Overflow
Browsing latest articles
Browse All 3 View Live

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 Article



Answer 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 Article

Disable 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
Browsing latest articles
Browse All 3 View Live




Latest Images

<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>
<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596344.js" async> </script>