Click here to Skip to main content
15,922,315 members
Home / Discussions / C#
   

C#

 
GeneralRe: [Announce] diagnosing interop marshaling Pin
David Stone13-May-03 7:54
sitebuilderDavid Stone13-May-03 7:54 
GeneralRe: [Announce] diagnosing interop marshaling Pin
Kant13-May-03 8:11
Kant13-May-03 8:11 
GeneralRe: [Announce] diagnosing interop marshaling Pin
Stephane Rodriguez.13-May-03 9:08
Stephane Rodriguez.13-May-03 9:08 
GeneralRe: [Announce] diagnosing interop marshaling Pin
Richard Deeming14-May-03 5:40
mveRichard Deeming14-May-03 5:40 
GeneralRe: [Announce] diagnosing interop marshaling Pin
Stephane Rodriguez.14-May-03 6:55
Stephane Rodriguez.14-May-03 6:55 
GeneralSetting events - beginner question Pin
Neil Lamka13-May-03 4:57
Neil Lamka13-May-03 4:57 
GeneralRe: Setting events - beginner question Pin
Bo Hunter14-May-03 10:02
Bo Hunter14-May-03 10:02 
GeneralRe: Setting events - beginner question Pin
Neil Lamka14-May-03 11:29
Neil Lamka14-May-03 11:29 
Thanks for the pointer.

If I use this method then I'm assuming that in my DLL that handles reading the XML definitions for menus and all that I'd have

1) Set an "OnClick" event handler internal to my DLL
and then
2) When processing the OnClick event figure out the real target menthod that should process the event and use the Invoke as you described.

Is there any way to set the event handler for the menu item so as to bypass having to handle the event and route it? I'd like to get out of the way and just wire the menu directly to the desired handler. I was hoping that once I found the MethodInfo for the target method I would be able to set the menu event handler directly. Or is that what your note allows me to do and I just did not understand.

Thanks
Neil

Neil Lamka
neil@meetingworks.com
GeneralRe: Setting events - beginner question Pin
Bo Hunter16-May-03 19:57
Bo Hunter16-May-03 19:57 
GeneralRe: Setting events - beginner question Pin
Neil Lamka17-May-03 5:30
Neil Lamka17-May-03 5:30 
GeneralIndex/Custom Control Pin
Kant13-May-03 4:48
Kant13-May-03 4:48 
Questionchanges in a datagrid? Pin
Manster13-May-03 4:26
Manster13-May-03 4:26 
AnswerRe: changes in a datagrid? Pin
Kant13-May-03 4:55
Kant13-May-03 4:55 
GeneralRe: changes in a datagrid? Pin
Manster13-May-03 5:57
Manster13-May-03 5:57 
GeneralRe: changes in a datagrid? Pin
Kant13-May-03 6:36
Kant13-May-03 6:36 
GeneralRe: changes in a datagrid? Pin
Manster13-May-03 7:02
Manster13-May-03 7:02 
GeneralRe: changes in a datagrid? Pin
Kant13-May-03 7:04
Kant13-May-03 7:04 
GeneralRe: changes in a datagrid? Pin
Manster13-May-03 7:39
Manster13-May-03 7:39 
GeneralRe: changes in a datagrid? Pin
Kant13-May-03 8:22
Kant13-May-03 8:22 
GeneralRe: changes in a datagrid? Pin
Manster13-May-03 8:59
Manster13-May-03 8:59 
GeneralRe: changes in a datagrid? Pin
Manster13-May-03 13:03
Manster13-May-03 13:03 
GeneralMenus Pin
Omega50113-May-03 0:57
Omega50113-May-03 0:57 
GeneralRe: Menus Pin
cdehelean13-May-03 1:56
cdehelean13-May-03 1:56 
GeneralRe: Menus Pin
Omega50113-May-03 4:57
Omega50113-May-03 4:57 
Questionan error of M$ VS .NET IDE fatware?!? Pin
cruscal13-May-03 0:23
cruscal13-May-03 0:23 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.