Example #1
0
 public static TR InvokeBy <TR>(this Func <TR> func, System.Windows.Forms.Control control) => control.ControlInvoke(obj => func());
Example #2
0
 public static void InvokeBy(this Action action, System.Windows.Forms.Control control) => control.ControlInvoke(obj => action());