Click here to Skip to main content
15,893,381 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi,

I would like to shut down my WPF project, after I do not use my project at 2 minutes. How can I understand system empty mode like screen saver ? I searched about this matter so much thinks but I could not find. Can you help me?
Posted
Updated 10-Sep-12 5:10am
v2
Comments
Kenneth Haugland 10-Sep-12 9:49am    
What do you mean? Other might get it, but im wondering. Do you mean like a splash screen wheil the program exits?
[no name] 10-Sep-12 9:50am    
You will have to be more specific. What is ShoutDown? Where are you getting this "system empty mode"?
Member 9198639 10-Sep-12 9:54am    
i am using my application via touch screen. But sometimes, users forgetting exit from application and leaves from computer. If users did not do any work in computer, i want to understand this status and then exit from application.
Philip Stuyck 10-Sep-12 11:25am    
Why don't you simply use a dispatchtimer and reset it each time a meaningfull action is triggered. Then if the timer expires, you can safely exit the application.

1 solution

Google[^] solves this problem for you ;)
 
Share this answer
 
Comments
Philip Stuyck 10-Sep-12 11:45am    
hehe, first example contains the dispatchertimer I was talking about;-)
It actually amazes me how many questions can be answered just by googling properly.
Anyway +5 for knowing how to google.
Kenneth Haugland 10-Sep-12 11:57am    
Yup, sad but true, but nearly all the questions could be solved one way or the other by googling ;) To be fair I have watched this video:
http://www.powersearchingwithgoogle.com/ :-D
BTW: Thanks for the 5 :)
Member 9198639 11-Sep-12 1:11am    
thank you guys..
Member 9198639 11-Sep-12 3:10am    
I also found some things in here that i talked.. this is so much useful and this is doing what i want.. Link: http://www.codeproject.com/Articles/42884/Implementation-of-Auto-Logoff-Based-on-User-Inacti

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900