/// <summary> /// /// </summary> /// <see cref="WinFormsHelper.InvokeSafe{TCtrl, TState}(TCtrl, Action{TCtrl, TState}, Func{TCtrl, TState})" /> public static void InvokeSafe <TCtrl, TState>(this TCtrl ctrl, Action <TCtrl, TState> action, Func <TCtrl, TState> actionStateFactory) where TCtrl : global::System.Windows.Forms.Control { WinFormsHelper.InvokeSafe <TCtrl, TState>(ctrl, action, actionStateFactory); }
/// <summary> /// /// </summary> /// <see cref="WinFormsHelper.InvokeSafe{TCtrl, TState, TResult}(TCtrl, Func{TCtrl, TState, TResult}, Func{TCtrl, TState})" /> public static TResult InvokeSafe <TCtrl, TState, TResult>(this TCtrl ctrl, Func <TCtrl, TState, TResult> func, Func <TCtrl, TState> funcStateFactory) where TCtrl : global::System.Windows.Forms.Control { return(WinFormsHelper.InvokeSafe <TCtrl, TState, TResult>(ctrl, func, funcStateFactory)); }
// Public Methods (6) /// <summary> /// /// </summary> /// <see cref="WinFormsHelper.InvokeSafe{TCtrl}(TCtrl, Action{TCtrl})" /> public static void InvokeSafe <TCtrl>(this TCtrl ctrl, Action <TCtrl> action) where TCtrl : global::System.Windows.Forms.Control { WinFormsHelper.InvokeSafe <TCtrl>(ctrl, action); }