Method RunLoop
RunLoop(RunState, bool)
public static void RunLoop(Application.RunState state, bool wait = true)
Parameters
stateApplication.RunStateThe state returned by the Begin(Toplevel) method.
waitboolBy default this is true which will execute the runloop waiting for events, if set to false, a single iteration will execute.
Remarks
Use the wait parameter to control whether this is a blocking or non-blocking call.