System.Windows.Forms.Command??

  • Thread starter Thread starter Ignacio X. Domínguez
  • Start date Start date
I

Ignacio X. Domínguez

Is there any way I can call System.Windows.Forms.Command.DispatchID() ?? the
problem is that it is declared internal, so I can't reach it because it
gives me: 'System.Windows.Forms.Command' is not accessible in this context
because it is 'Private'. exception.

Any ideas? Thanks
 
Hi tocayo ;)

No if that class as you said is internal to Forms , you cannot use it, and
you should not.

what are you trying to do?

Cheers,
 
I thought I could have access somehow like when I call
ContextMenu.GetType().InvokeMember(...)

I'm trying to send a message like NotifyIcon does, to give messages to a
ContextMenu when it is clicked cause it's not shown with
ContextMenu.Show()

I guess I have to find another way.. any ideas?
 
Back
Top