C# Class Habanero.Faces.Win.Async.UIThreadExecutorWin

Show file Open project: Chillisoft/habanero.faces Class Usage Examples

Public Methods

Method Description
ExecuteOnUIThread ( Control control, Delegate method ) : void

Attempts to run a delegate method on the UI thread of a System.Windows.Forms.Control Basically a wrapper around BeginInvoke with testing for readiness / availability of the control itself

Method Details

ExecuteOnUIThread() public static method

Attempts to run a delegate method on the UI thread of a System.Windows.Forms.Control Basically a wrapper around BeginInvoke with testing for readiness / availability of the control itself
public static ExecuteOnUIThread ( Control control, Delegate method ) : void
control System.Windows.Forms.Control Control to run on
method System.Delegate delegate method to run
return void