UtilFormsDoEventsSafe Method

Processes all Windows messages currently in the message queue of the GUI.

This method greatly boosts the performance of any application in difference to DoEvents method.

When calling DoEvents to make the UI responsive, it generally decreases application performance;

however, using this method, we make sure there is at least one input event (keyboard or mouse) that needs to be processed before internally calling DoEvents.

Definition

Namespace: DevCase.Core.Application.Forms
Assembly: DevCase.net48 (in DevCase.net48.dll) Version: 6.0.0.0 (6.0)
XMLNS for XAML: Not mapped to an xmlns.
public static void DoEventsSafe()

Example

This is a code example.
C#
No code example is currently available or this language may not be supported.

See Also