Click here to Skip to main content
15,889,867 members
Home / Discussions / C#
   

C#

 
AnswerRe: Windows Forms Pin
ednrgc14-Nov-06 5:20
ednrgc14-Nov-06 5:20 
Questiongetting a string from dll & printing it on richtextbox... Pin
IamHuM14-Nov-06 3:18
IamHuM14-Nov-06 3:18 
AnswerRe: getting a string from dll & printing it on richtextbox... Pin
Eduard Keilholz14-Nov-06 4:46
Eduard Keilholz14-Nov-06 4:46 
Questionscreen resolution changed event Pin
freshonlineMax14-Nov-06 2:54
freshonlineMax14-Nov-06 2:54 
AnswerRe: screen resolution changed event Pin
Martin#14-Nov-06 3:27
Martin#14-Nov-06 3:27 
GeneralRe: screen resolution changed event Pin
freshonlineMax14-Nov-06 4:52
freshonlineMax14-Nov-06 4:52 
GeneralRe: screen resolution changed event Pin
Martin#14-Nov-06 5:21
Martin#14-Nov-06 5:21 
QuestionXML Tree View - Please Guide. [modified] Pin
h@s@n14-Nov-06 2:21
h@s@n14-Nov-06 2:21 
I am new to C# you are requested to please guide.

I have very simple application.

1. Main Menu (File: Open, save, exit);

2. A tree view

3. Context Menu and ImageList

I have loaded xml file using open dialgoue. With XmlTextReader I have loaded xml file in tree view.


Please guide me from here below:

Now I want to add a context (pop-up) menu. That will enable me to add a node under three categories:

1. Before Node (Same level)
2. After Node (Same Level)
3. Child Node

If root node selected I would be able to ADD only child node in the tree. Means contextMenu will show only child enabled.

If element node selected I would be able to add before, after nodes or a child node. (Before and After creates element on same level under root).



Also I want cut, copy and paste functionality in context menu. That will enable me to cut, copy and paste nodes.

Save in MainMenu will enable me to save changes in according to tree modification.

Please tell me by examples. What steps should be taken? Waiting for your reply.



If user right clicks on node context menu appears and user select appropriately from enable menu for the selected node.








-- modified at 8:28 Tuesday 14th November, 2006
AnswerRe: XML Tree View - Please Guide. Pin
Ed.Poore14-Nov-06 2:24
Ed.Poore14-Nov-06 2:24 
GeneralRe: XML Tree View - Please Guide. Pin
h@s@n14-Nov-06 2:34
h@s@n14-Nov-06 2:34 
GeneralRe: XML Tree View - Please Guide. Pin
Ed.Poore14-Nov-06 3:01
Ed.Poore14-Nov-06 3:01 
GeneralRe: XML Tree View - Please Guide. Pin
ejuanpp14-Nov-06 3:24
ejuanpp14-Nov-06 3:24 
QuestionHow to self recall after a time interval Pin
t2o2uk14-Nov-06 2:14
t2o2uk14-Nov-06 2:14 
AnswerRe: How to self recall after a time interval Pin
Martin#14-Nov-06 2:22
Martin#14-Nov-06 2:22 
GeneralRe: How to self recall after a time interval Pin
Martin#14-Nov-06 2:28
Martin#14-Nov-06 2:28 
AnswerRe: How to self recall after a time interval Pin
Guffa14-Nov-06 2:29
Guffa14-Nov-06 2:29 
QuestionBackgroundWorker CancelSync() ?? Pin
Chris_Green14-Nov-06 2:12
Chris_Green14-Nov-06 2:12 
AnswerRe: BackgroundWorker CancelSync() ?? Pin
Judah Gabriel Himango14-Nov-06 8:51
sponsorJudah Gabriel Himango14-Nov-06 8:51 
QuestionEPS file from TChart Pin
haritus14-Nov-06 1:51
haritus14-Nov-06 1:51 
Questionfixed width tootips Pin
Mridang Agarwalla14-Nov-06 1:01
Mridang Agarwalla14-Nov-06 1:01 
QuestionRandom Class issue Pin
Russell Jones14-Nov-06 0:42
Russell Jones14-Nov-06 0:42 
AnswerRe: Random Class issue Pin
Guffa14-Nov-06 1:02
Guffa14-Nov-06 1:02 
GeneralRe: Random Class issue Pin
Russell Jones14-Nov-06 1:09
Russell Jones14-Nov-06 1:09 
AnswerRe: Random Class issue Pin
Guffa14-Nov-06 4:36
Guffa14-Nov-06 4:36 
Questionchange current datagridview row style Pin
gus_br14-Nov-06 0:36
gus_br14-Nov-06 0:36 

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.