Click here to Skip to main content
16,014,748 members
Home / Discussions / C#
   

C#

 
GeneralRe: WooHoo! My first C# app. Now where do I start?? Pin
Albert Pascual24-Apr-02 10:27
sitebuilderAlbert Pascual24-Apr-02 10:27 
AnswerRe: WooHoo! My first C# app. Now where do I start?? Pin
Albert Pascual24-Apr-02 5:58
sitebuilderAlbert Pascual24-Apr-02 5:58 
GeneralRe: WooHoo! My first C# app. Now where do I start?? Pin
Mark Donkers24-Apr-02 6:21
Mark Donkers24-Apr-02 6:21 
GeneralTreeView Expansion Question Pin
Sabran23-Apr-02 9:35
Sabran23-Apr-02 9:35 
GeneralRe: TreeView Expansion Question Pin
Neil Van Note23-Apr-02 9:41
Neil Van Note23-Apr-02 9:41 
GeneralRe: TreeView Expansion Question Pin
Sabran23-Apr-02 9:50
Sabran23-Apr-02 9:50 
GeneralRe: TreeView Expansion Question Pin
Sabran23-Apr-02 10:51
Sabran23-Apr-02 10:51 
GeneralRe: TreeView Expansion Question Pin
Neil Van Note23-Apr-02 17:43
Neil Van Note23-Apr-02 17:43 
If you knew this path at compile time then you may just want to hold onto a reference to the TreeNode object when you created it so it will be handy.

The alternative is to just drill down on the Nodes collection to get to it; again, if you knew where you put it at compile time.

If the revelation of it became known at runtime, i.e. it was passed in on an event, just call the Remove method on the node itself.

Yet another method would to mark special nodes by putting something in the Tag property, you could then enumerate the entire tree and pluck out the nodes your after.

Does this answer the question?

GeneralRe: TreeView Expansion Question Pin
Sabran27-Apr-02 0:18
Sabran27-Apr-02 0:18 
GeneralRe: TreeView Expansion Question Pin
Neil Van Note27-Apr-02 8:42
Neil Van Note27-Apr-02 8:42 
QuestionControls across forms? Pin
Brian Olej23-Apr-02 7:19
Brian Olej23-Apr-02 7:19 
AnswerRe: Controls across forms? Pin
James T. Johnson23-Apr-02 8:31
James T. Johnson23-Apr-02 8:31 
GeneralRe: Controls across forms? Pin
Brian Olej23-Apr-02 9:27
Brian Olej23-Apr-02 9:27 
GeneralRe: Controls across forms? Pin
James T. Johnson24-Apr-02 2:10
James T. Johnson24-Apr-02 2:10 
GeneralRe: Controls across forms? Pin
Brian Olej24-Apr-02 2:31
Brian Olej24-Apr-02 2:31 
GeneralHit Test Pin
23-Apr-02 6:47
suss23-Apr-02 6:47 
GeneralRe: Hit Test Pin
Nick Parker23-Apr-02 8:00
protectorNick Parker23-Apr-02 8:00 
GeneralRe: Hit Test Pin
Neil Van Note23-Apr-02 8:04
Neil Van Note23-Apr-02 8:04 
GeneralRe: GetChildAtPoint *ADVANCED!* Pin
23-Apr-02 9:36
suss23-Apr-02 9:36 
GeneralRe: GetChildAtPoint *ADVANCED!* Pin
Neil Van Note23-Apr-02 10:10
Neil Van Note23-Apr-02 10:10 
GeneralRe: GetChildAtPoint *ADVANCED!* Pin
Neil Van Note23-Apr-02 18:29
Neil Van Note23-Apr-02 18:29 
GeneralA deeper explaination Pin
23-Apr-02 9:49
suss23-Apr-02 9:49 
GeneralConectionStringIII Pin
Mazdak23-Apr-02 5:03
Mazdak23-Apr-02 5:03 
GeneralRe: ConectionStringIII Pin
Neil Van Note23-Apr-02 8:31
Neil Van Note23-Apr-02 8:31 
GeneralRe: ConectionStringIII Pin
Neil Van Note23-Apr-02 8:39
Neil Van Note23-Apr-02 8:39 

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.