-
Context menu
Hi,
I am working on windows application in C#, i am using a user control, and in turn using the user control in my Winform.
Winform can have more than one instances of User ctrl.
NOw, i have a context menu on my user control, at runtine , when i click on any Item of context menu, i want to know the parent of context Menu(which should be my user control ) but its not behaving as expected,can somebody pls explain, how to find the parent of context menu ??
Thanks in advance,
-
any control has a
Tag property u can set objects to that Tag so you can link parent to context menu...
Paresh