Idle processing
-
I have written following code. I have selected Project type as Visual C# --> Smart Devise --> Windows CE 5.0 When i built the solution i am getting error as "'System.Windows.Forms.Application' does not contain a definition for 'Idle'" int counter = 0; private void Form1_Idle(object sender, System.EventArgs e) { counter++; label1.Text = counter.ToString(); } private void Form1_Load(object sender, System.EventArgs e) { Application.Idle +=new EventHandler(Form1_Idle); } how to handle Idle event.
thanks
-
I have written following code. I have selected Project type as Visual C# --> Smart Devise --> Windows CE 5.0 When i built the solution i am getting error as "'System.Windows.Forms.Application' does not contain a definition for 'Idle'" int counter = 0; private void Form1_Idle(object sender, System.EventArgs e) { counter++; label1.Text = counter.ToString(); } private void Form1_Load(object sender, System.EventArgs e) { Application.Idle +=new EventHandler(Form1_Idle); } how to handle Idle event.
thanks
-
I have written following code. I have selected Project type as Visual C# --> Smart Devise --> Windows CE 5.0 When i built the solution i am getting error as "'System.Windows.Forms.Application' does not contain a definition for 'Idle'" int counter = 0; private void Form1_Idle(object sender, System.EventArgs e) { counter++; label1.Text = counter.ToString(); } private void Form1_Load(object sender, System.EventArgs e) { Application.Idle +=new EventHandler(Form1_Idle); } how to handle Idle event.
thanks
saksp wrote:
I have selected Project type as Visual C# --> Smart Devise --> Windows CE 5.0
The .NET Compact Framework doesn't support the
Application.Idle
event. It is only supported by the .NET Framework.
Too many passwords to remember? Try KeePass Password Safe!