Click or drag to resize

RhinoAppInvokeOnUiThread Method

Execute a function on the main UI thread.

Namespace:  Rhino
Assembly:  RhinoCommon (in RhinoCommon.dll)
Since: 6.0
Syntax
public static void InvokeOnUiThread(
	Delegate method,
	params Object[] args
)

Parameters

method
Type: SystemDelegate
function to execute
args
Type: SystemObject
parameters to pass to the function
Remarks
When called from the UI thread the function runs immediately. From any other thread it is posted to the UI thread and this returns without waiting for it to run.
See Also