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); }
static public ITere Create(Control ctx, Fay act, bool forceDirect = false) { return(new Tere { Ctx = ctx, Ta = act, ForceDirect = forceDirect }); }
static public ITere <t, tt> Create <t, tt>(this Control ctx, Fay <t, tt> act) { return(new Tere <t, tt> { Ctx = ctx, Ta = act }); }