I found a really cool article at CodeProject with an implementation of the
CreateDelegate function:
http://www.codeproject.com/netcf/UsingMyXamlCF.asp
"Strider" wrote:
> Hello all,
>
> I am trying to create a mechanism where event handlers are registered at
> runtime. What I need to do is to create an instance of a delegate without
> knowing the concrete type and callback method at compile time.
>
> In the .NET Framework this can be acheived by using the CreateDelegate
> static method and the DynamicInvoke instance method of the System.Delegate
> type.
>
> However these members are not available at the Compact Framwork.
>
> I am running out of ideas :-( Any help would be greatly appreciated!