DoEvents Method
Processes events from the internal message queue.
Syntax
[VB.NET] Public Sub DoEvents()
[C#] public void DoEvents();
Remarks
When DoEvents is called, the component processes any available events. If no events are available, it waits for a preset period of time, and then returns.
NOTE: This method has a corresponding asynchronous version (DoEventsAsync) for use in the Xamarin environment.