Method RunLoop
RunLoop(RunState, bool)
public static void RunLoop(Application.RunState state, bool wait = true)
Parameters
state
Application.RunStateThe state returned by the Begin(Toplevel) method.
wait
boolBy 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.