Пример #1
0
 public static bool TryBeginInvoke <T0, T1, T2>(this Control control, Action <T0, T1, T2> action, T0 p0, T1 p1, T2 p2)
 {
     return(control.TryBeginInvoke(() => action(p0, p1, p2)));
 }
Пример #2
0
 public static bool TryBeginInvoke <T0, T1, T2, T3, T4>(this Control control,
                                                        Action <T0, T1, T2, T3, T4> action, T0 p0, T1 p1, T2 p2, T3 p3, T4 p4)
 {
     return(control.TryBeginInvoke(() => action(p0, p1, p2, p3, p4)));
 }
Пример #3
0
 public static bool TryBeginInvoke <T0>(this Control control, Action <T0> action, T0 p0)
 {
     return(control.TryBeginInvoke(() => action(p0)));
 }