
DoEvents() inside a class?
It's not obvious, but DoEvents still exists - you just have to qualify it:
System.Windows.Forms.Application.DoEvents().
A better suggestion, however, would be to have the method run on it's own
thread.
--
hth,
Steve Hoag (the V-Bee)
Microsoft Corp.
This posting is provided "AS IS" with no warranties, and confers no rights.
Quote:
> I got an application with a class that takes a while to
> complete a method. How can I put something like a DoEvents
> inside the loop of the class?
> Thanks,