ID

Uploaded

Status

Description

Work Items

Action

2808
by bigwave
Apr 21, 2009
6:00 PM

Being evaluated

To stop the applicatoin using 100% CPU (or 50% on dual core) in the Form1.cs file change the line around 239 to include a Thread.Sleep statement.

You'll need to add "using System.Threading;"

while (NextCheck > DateTime.Now)
{
if (backgroundWorker1.CancellationPending == true)
{
break;
}
else
{
Thread.Sleep(10000); //sleep for 10 seconds
Application.DoEvents();
}
}

Download

View All
  • 1-1 of 1 Patches
    • Previous
    • 1
    • Next
    • Showing
    • All
    • Patches