aggarwal_vitesh
March 7th, 2003, 01:35 AM
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,
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,