Click here to Skip to main content
15,900,511 members
Home / Discussions / C#
   

C#

 
GeneralCrystal Report: How to change registration keycode Pin
STW28-May-03 4:47
STW28-May-03 4:47 
GeneralRe: Crystal Report: How to change registration keycode Pin
joan_fl28-May-03 5:31
joan_fl28-May-03 5:31 
GeneralClickety Police Pin
Ray Cassick28-May-03 6:57
Ray Cassick28-May-03 6:57 
GeneralRe: Crystal Report: How to change registration keycode Pin
Meysam Mahfouzi28-May-03 17:18
Meysam Mahfouzi28-May-03 17:18 
GeneralRe: Crystal Report: How to change registration keycode Pin
STW29-May-03 20:07
STW29-May-03 20:07 
GeneralUsing System.Web in C# Pin
aatja0128-May-03 4:05
aatja0128-May-03 4:05 
GeneralRe: Using System.Web in C# Pin
28-May-03 5:24
suss28-May-03 5:24 
QuestionIs this possible? Pin
Manster28-May-03 3:48
Manster28-May-03 3:48 
I’ve got a treeview control on a windows form and the treeview is already populated. Is their a way to traverse through the tree looking for a node with certain text, then remove that node when the matched node with the text is found? I’m passing in the string text of the node I want to delete from another form, the tree is located on the parent form.

The tree looks like this. I want to delete Smith when it's passed in from the other form.

Employee
Johnson
Smith
Employee Location
Boston
Seattle

If this is possible any help would be greatly appreciated.

The code below won’t work since I don’t want to select the node manually.

TreeNode tn = treeView1.SelectedNode;
treeView1.Nodes.Remove(tn);

Big Grin | :-D

AnswerRe: Is this possible? Pin
Nick Parker28-May-03 4:34
protectorNick Parker28-May-03 4:34 
GeneralIssues Consuming Webservice From WinForm App Pin
Ach1lles28-May-03 3:05
Ach1lles28-May-03 3:05 
GeneralCrystal Reports and .net Pin
Braulio Dez28-May-03 1:15
Braulio Dez28-May-03 1:15 
GeneralRe: Crystal Reports and .net Pin
Rocky Moore28-May-03 3:28
Rocky Moore28-May-03 3:28 
GeneralRe: Crystal Reports and .net Pin
Braulio Dez28-May-03 3:44
Braulio Dez28-May-03 3:44 
GeneralC# graphics help required urgent. Pin
Hayat28-May-03 0:48
Hayat28-May-03 0:48 
GeneralRe: C# graphics help required urgent. Pin
Hayat30-May-03 0:23
Hayat30-May-03 0:23 
GeneralRe: C# graphics help required urgent. Pin
Hayat30-May-03 0:29
Hayat30-May-03 0:29 
GeneralUpdating data programmatically Pin
totig27-May-03 23:28
totig27-May-03 23:28 
GeneralRe: Updating data programmatically Pin
jtmtv1828-May-03 0:44
jtmtv1828-May-03 0:44 
GeneralRe: Updating data programmatically Pin
totig28-May-03 2:51
totig28-May-03 2:51 
GeneralRe: Updating data programmatically Pin
Rocky Moore28-May-03 3:38
Rocky Moore28-May-03 3:38 
GeneralRe: Updating data programmatically Pin
totig28-May-03 5:16
totig28-May-03 5:16 
GeneralRe: Updating data programmatically Pin
jtmtv1828-May-03 11:20
jtmtv1828-May-03 11:20 
GeneralXML Loading Problem Pin
Nick Parker27-May-03 17:10
protectorNick Parker27-May-03 17:10 
GeneralRe: XML Loading Problem Pin
J. Dunlap27-May-03 20:21
J. Dunlap27-May-03 20:21 
GeneralRe: XML Loading Problem Pin
Nick Parker28-May-03 1:43
protectorNick Parker28-May-03 1:43 

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.