المساعد الشخصي الرقمي

مشاهدة النسخة كاملة : Right Click Menu



C# Programming
10-06-2009, 10:23 PM
I need help for the following purpose:
Suppose I have a tree view and there are various items there. When I right click on a item it will display a menu which contains dynamic options in the menu.

[I have tried by context menu strip. For my tree view I have chosen the contextmenustrip1. But problem is when i right click any where on the tree view it shows the menu with static items. But I need when i will right click on any node only at that moment it should appear with some option those are available in a listbox.(The list box is dynamic)]