Hi all,
Okay, here's something I'd like to do, but I'm not certain its possible.
Thus far in playing with it, I haven't been able to get it going. I'm able
to load and compile a .cs file using the CodeCompiler class. I know that
portion works correctly because I can use the Invoke method of the MethodInfo
object it returns and it triggers my dynamically loaded function. My
problem shows up in +=ing my function onto an event. No matter what I've
tried to give it, I get compiler errors "variable not method", "method name
expected", etc. Is there a way to get this function bound onto my event?
Thanks much!