Method PostAndBusyCursor
PostAndBusyCursor(Action?)
Executes the specified action while displaying a busy cursor.
public static void PostAndBusyCursor(Action? action)
Parameters
actionActionThe action to execute. If null, the method returns immediately without performing any action.
Remarks
This method posts the action to be executed and ensures that a busy cursor is displayed during its execution.