Click here to Skip to main content
15,898,588 members
Home / Discussions / C#
   

C#

 
GeneralRe: [Announce] diagnosing interop marshaling Pin
David Stone13-May-03 5:23
sitebuilderDavid Stone13-May-03 5:23 
GeneralRe: [Announce] diagnosing interop marshaling Pin
Kant13-May-03 6:15
Kant13-May-03 6:15 
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 
I'm trying to educate myself on C# and .Net. I decided to try and use the techniques outlined by Marc Clifton ("Using XML to generate Menus") but to use it with a different UI tool kit along with extending the menus.xsd to support imagelists.

What I'm looking for is a method of taking an input name (of an imagelist or a method) passed in the xml definition or the menu and use that name to pass the actual object or method to the appropriate constructors etc.

I've found that I can find the appropriate MethodInfo information using reflection and can find the FieldInfo information for an imagelist but I can't seem to figure out how to use that information to accomplish my objective. I'm using the Crownwood Magic Library menus that have a MenuCommand constructor that will take an imagelist and index value for the menu image and will take an EventHandler for an OnClick event.

Is there a way to use the information retrieved form the reflection methods to set the event handler and to set the imagelist from the names passed in the xml.

Thanks for the help

Neil Lamka
neil@meetingworks.com
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 
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 

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.