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