Ok hi, I am making a program in Microsoft Visual Studio and every time I run it and and click start (I have a start button), it will do what I have it programmed to do, but the form always freezes and doesn't display what i want it too (it says "Not Responding" once i start it). It is good for doing it job, but I have things on the form that are supposed to be shown. While it keeps freezing, it does not give me the option to stop it, or show any labels I have set to change, during it's running. Any help on this will be appreciated. Thank You.
EDIT: This is what I have:
void CheckAll()
{
for (; ; )
{
CheckPixel();
Application.DoEvents();
}
}
It is constantly doing CheckPixel();, I take it that is the reason why it is freezing. There are never any breaks.