Click here to Skip to main content
15,890,185 members
Home / Discussions / C#
   

C#

 
GeneralRe: C# DataRelation Pin
turbochimp13-Apr-05 6:54
turbochimp13-Apr-05 6:54 
GeneralC# & Crystal Reports Pin
JRGuerrero13-Apr-05 5:50
JRGuerrero13-Apr-05 5:50 
GeneralOutput Type of Class library can not be started directly Pin
LiamD13-Apr-05 5:49
LiamD13-Apr-05 5:49 
GeneralRe: Output Type of Class library can not be started directly Pin
turbochimp13-Apr-05 6:49
turbochimp13-Apr-05 6:49 
GeneralRe: Output Type of Class library can not be started directly Pin
LiamD13-Apr-05 23:58
LiamD13-Apr-05 23:58 
GeneralRe: Output Type of Class library can not be started directly Pin
turbochimp14-Apr-05 2:34
turbochimp14-Apr-05 2:34 
GeneralPopmenu Pin
cishi_us13-Apr-05 5:39
cishi_us13-Apr-05 5:39 
GeneralRe: Popmenu Pin
Ashok Dhamija13-Apr-05 21:38
Ashok Dhamija13-Apr-05 21:38 
Do as under:

1. In the designer mode, drag a ContextMenu control from the ToolBar to the Form (on which your TreeView control is placed). It is named as ContextMenu1.

2. Add items (as per your requirement) to this ContextMenu instance in the space provided therein (with the prompt of "Type here") as you would while building a normal menu.

3. In the designer mode itself, now select your instance of TreeView control and in its Properties window, select the ContextMenu property and assign the value of the aforesaid instance "ContextMenu1" which you have just designed.

4. Now, just compile and run it. When you right-click on a node, you'll see a popup menu with the items you just placed as above.

5. For adding functionality to the menu items in the aforesaid ContextMenu, use the eventhandler for the click event of the particular menu item.
GeneralMultifile Assembly Hellllllp Pin
abohassan13-Apr-05 5:33
abohassan13-Apr-05 5:33 
GeneralRe: Multifile Assembly Hellllllp Pin
turbochimp13-Apr-05 5:45
turbochimp13-Apr-05 5:45 
GeneralProcess tree CPU Usage (WMI) Pin
Strangely13-Apr-05 4:40
Strangely13-Apr-05 4:40 
GeneralRe: Process tree CPU Usage (WMI) Pin
Strangely13-Apr-05 10:38
Strangely13-Apr-05 10:38 
GeneralRe: Process tree CPU Usage (WMI) Pin
leppie13-Apr-05 19:08
leppie13-Apr-05 19:08 
GeneralSimple DB2 question Pin
trk_wakil13-Apr-05 4:16
trk_wakil13-Apr-05 4:16 
GeneralRe: Simple DB2 question Pin
Vasudevan Deepak Kumar13-Apr-05 4:38
Vasudevan Deepak Kumar13-Apr-05 4:38 
GeneralRe: Simple DB2 question Pin
trk_wakil13-Apr-05 7:01
trk_wakil13-Apr-05 7:01 
GeneralRe: Simple DB2 question Pin
Vasudevan Deepak Kumar13-Apr-05 19:30
Vasudevan Deepak Kumar13-Apr-05 19:30 
GeneralRe: Simple DB2 question Pin
trk_wakil14-Apr-05 4:48
trk_wakil14-Apr-05 4:48 
GeneralAsymmetric encryption in config files Pin
Esmo200013-Apr-05 4:11
Esmo200013-Apr-05 4:11 
GeneralRe: Asymmetric encryption in config files Pin
turbochimp13-Apr-05 5:42
turbochimp13-Apr-05 5:42 
GeneralRe: Asymmetric encryption in config files Pin
Esmo200013-Apr-05 5:49
Esmo200013-Apr-05 5:49 
GeneralRe: Asymmetric encryption in config files Pin
turbochimp13-Apr-05 6:45
turbochimp13-Apr-05 6:45 
GeneralRe: Asymmetric encryption in config files Pin
Esmo200013-Apr-05 9:59
Esmo200013-Apr-05 9:59 
GeneralRe: Asymmetric encryption in config files Pin
turbochimp13-Apr-05 10:54
turbochimp13-Apr-05 10:54 
GeneralRe: Asymmetric encryption in config files Pin
Ashok Dhamija13-Apr-05 22:00
Ashok Dhamija13-Apr-05 22:00 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.