Robert,

I was asking how to determine the delegate type (not how you know what
function within your class matches the signature of the delegate that is
the actual event).  The solution that Drew and Mattias posted (as modified
by me in my last post) works great.

However, I've made an additional discovery that makes that solution moot.
When one uses the technique for generating the event function signature by
double-clicking on the event in the Event pane of the Properties window,
the Forms Designer automatically adds the event hook-up, in the
InitializeComponent function.  Therefore my question about how to determine
the delegate type (though adequately solved now) is irrelevant, because the
Forms Designer does all that for me.

This isn't quite as easy (and certainly less intuitive) than the VB
equivalent, but its close.

Bill

You can read messages from the DOTNET archive, unsubscribe from DOTNET, or
subscribe to other DevelopMentor lists at http://discuss.develop.com.

Reply via email to