I'm trying to serialize my menubar for use later, however I want to use
XML to serialize this list. Not a problem with the Text property of the
MenuItem control, however the ClickEvent is a bit trickier. I managed
to find some code in the MSDN on getting a class method (and therefore
a delegate) using a string, making deserialization possibe, however
turning an event's evocation list into a string/array of strings
doesn't seem as easy. I'd have to get the invocation list of the event,
and from the looks of it's not possible (compiler gives an error: The
event can only appear on the left hand side of += or -=). Anyone have
any ideas?
Thanks in advance
-Rob