Esempio n. 1
0
 public ClewPost(System.Windows.Forms.Control ctx, Fay primaryAction, Fay postAction)
 {
     Ctx = ctx;
     // I forgot I didn't want this running on the ui-thread..
     go = primaryAction;
     // on the ui thread.
     post = Tere.Create(ctx, postAction);
 }
Esempio n. 2
0
 static public ITere Create(Control ctx, Fay act, bool forceDirect = false)
 {
     return(new Tere {
         Ctx = ctx, Ta = act, ForceDirect = forceDirect
     });
 }
Esempio n. 3
0
 static public ITere <t, tt> Create <t, tt>(this Control ctx, Fay <t, tt> act)
 {
     return(new Tere <t, tt> {
         Ctx = ctx, Ta = act
     });
 }