Idle processing in windows forms
-
public static event EventHandler Idle private void Application_Idle(Object sender, EventArgs e) { MessageBox.Show("You are in the Application.Idle event."); }
-
public static event EventHandler Idle private void Application_Idle(Object sender, EventArgs e) { MessageBox.Show("You are in the Application.Idle event."); }
-
saksp wrote:
How to associate event handler with the Idle event in c#?
?? why would it be different from any other event? try
Application.Idle+=myIdleHandler;
:)Luc Pattyn [Forum Guidelines] [My Articles]
- before you ask a question here, search CodeProject, then Google - the quality and detail of your question reflects on the effectiveness of the help you are likely to get - use the code block button (PRE tags) to preserve formatting when showing multi-line code snippets
-
saksp wrote:
How to associate event handler with the Idle event in c#?
?? why would it be different from any other event? try
Application.Idle+=myIdleHandler;
:)Luc Pattyn [Forum Guidelines] [My Articles]
- before you ask a question here, search CodeProject, then Google - the quality and detail of your question reflects on the effectiveness of the help you are likely to get - use the code block button (PRE tags) to preserve formatting when showing multi-line code snippets
Another example of trying different things in a test app. I swear, some of these guys really should reevaluate their current career path...
"Why don't you tie a kerosene-soaked rag around your ankles so the ants won't climb up and eat your candy ass..." - Dale Earnhardt, 1997
-----
"...the staggering layers of obscenity in your statement make it a work of art on so many levels." - Jason Jystad, 10/26/2001 -
Another example of trying different things in a test app. I swear, some of these guys really should reevaluate their current career path...
"Why don't you tie a kerosene-soaked rag around your ankles so the ants won't climb up and eat your candy ass..." - Dale Earnhardt, 1997
-----
"...the staggering layers of obscenity in your statement make it a work of art on so many levels." - Jason Jystad, 10/26/2001Yep. Weekend programmers resemble weekend traffic. Quantity down, quality down. :-D
Luc Pattyn [Forum Guidelines] [My Articles]
- before you ask a question here, search CodeProject, then Google - the quality and detail of your question reflects on the effectiveness of the help you are likely to get - use the code block button (PRE tags) to preserve formatting when showing multi-line code snippets