Jump to content

Context menu architecture question


Recommended Posts

Guest MrLister
Posted

Hello,

I am developing a windows mobile application for the pocket pc 2003 framework and I would like to make a context menu. Sounds easy right... well here is the catch - the context menu needs to be shown from within a user control (UserControl2). Again sounds easy right... but wait there is more. the user control is contained within another user control (UserControl1), something like in the attached file

So what I would like to do is either create a menu resource that I can load from either user control, modifying the contents of the context menu with respect to which control it is brought up in,

or

have UserControl2 fire an event to UserControl1 indicating the context menu should be shown.

The context menu shall be shown when the user right clicks where the "x"'s are

What would you suggest as a solution for this problem ?

post-213156-1162847886_thumb.png

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.