C# Class Habanero.Faces.Win.ControlsHelper

Provides useful utilities for windows controls. E.g.
  • SafeGui
  • Show file Open project: Chillisoft/habanero.faces

    Public Methods

    Method Description
    SafeGui ( Control control, MethodInvoker invoker ) : void

    Executes the provided delegate in the specified control's thread. Use this method to avoid problems with cross thread calls.

    Method Details

    SafeGui() public static method

    Executes the provided delegate in the specified control's thread. Use this method to avoid problems with cross thread calls.
    public static SafeGui ( Control control, MethodInvoker invoker ) : void
    control System.Windows.Forms.Control The control running on the thread to be used.
    invoker MethodInvoker The delegate to execute on the control's thread.
    return void