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

I want to have a program calculating how long the computer was working. So I need to show the duration on a form and postpone the turnoff procedure until the user click a button provided on the form. So I have two problems that I asked the first one in previous question and now the second one is how to delay turnoff procedure until the user click a button. I think I should kill the turnoff procedure, I mean to cancel it somehow and after showing the form and when the user click the button I should turn off the PC by code. So if the suggestion sounds right, I should modify my question and ask how one can kill the turnoff procedure. Could you please let me how I can get it done?

Thank you very much
Posted

1 solution

 
Share this answer
 
Comments
ahhashemi 25-Jul-10 3:51am    
Reason for my vote of 4
For his attempt to find a relevent article. Thanks alot

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