Click here to Skip to main content
15,914,416 members
Home / Discussions / C#
   

C#

 
AnswerRe: Inheriting from Constraint ??? Pin
leppie15-Jul-05 22:13
leppie15-Jul-05 22:13 
GeneralPrinting to debug window from Web Service Pin
maskeen15-Jul-05 10:41
maskeen15-Jul-05 10:41 
GeneralMy Article Updated Pin
Ahmed Erarslan15-Jul-05 10:21
Ahmed Erarslan15-Jul-05 10:21 
GeneralRe: My Article Updated Pin
Judah Gabriel Himango15-Jul-05 10:36
sponsorJudah Gabriel Himango15-Jul-05 10:36 
GeneralRe: My Article Updated Pin
Dave Kreskowiak15-Jul-05 17:05
mveDave Kreskowiak15-Jul-05 17:05 
GeneralRe: My Article Updated Pin
Yulianto.15-Jul-05 18:07
Yulianto.15-Jul-05 18:07 
GeneralSearch a treeView Pin
Anonymous15-Jul-05 8:46
Anonymous15-Jul-05 8:46 
GeneralRe: Search a treeView Pin
Judah Gabriel Himango15-Jul-05 9:39
sponsorJudah Gabriel Himango15-Jul-05 9:39 
Use a recursive function or a while loop to search through all the nodes in a treeview. When you find a matching TreeNode, call EnsureVisible() or some other function to make the treeview scroll down to it.

FindMatchingNode("http://judahgabriel.blogspot.com", this.treeView1.Nodes);

void FindMatchingNode(string text, TreeNodeCollection nodes)
{
    foreach(TreeNode node in nodes)
    {
        if(node.Text.IndexOf(text) != -1)
        {
             node.EnsureVisible();
             break;
        }
        else FindMatchingNode(text, node.Nodes); // recursively search this node's children
    }
}


Tech, life, family, faith: Give me a visit.
I'm currently blogging about: Homosexuality in Christianity
Judah Himango


GeneralRe: Search a treeView Pin
Anonymous15-Jul-05 11:15
Anonymous15-Jul-05 11:15 
GeneralRe: Search a treeView Pin
Joel Lucsy15-Jul-05 16:41
Joel Lucsy15-Jul-05 16:41 
GeneralNumber TextBox Pin
Kamrul Hasan15-Jul-05 8:22
Kamrul Hasan15-Jul-05 8:22 
GeneralRe: Number TextBox Pin
Judah Gabriel Himango15-Jul-05 9:40
sponsorJudah Gabriel Himango15-Jul-05 9:40 
GeneralRe: Number TextBox Pin
MoustafaS15-Jul-05 10:28
MoustafaS15-Jul-05 10:28 
GeneralRe: Number TextBox Pin
Alomgir Miah15-Jul-05 11:14
Alomgir Miah15-Jul-05 11:14 
GeneralMenu Items Question Pin
zaboboa15-Jul-05 7:47
zaboboa15-Jul-05 7:47 
GeneralRe: Menu Items Question Pin
Robert Rohde15-Jul-05 10:23
Robert Rohde15-Jul-05 10:23 
GeneralRe: Menu Items Question Pin
zaboboa18-Jul-05 3:28
zaboboa18-Jul-05 3:28 
QuestionHow to XML Document to store settings? Pin
Cheng Zhong15-Jul-05 7:00
Cheng Zhong15-Jul-05 7:00 
AnswerRe: How to XML Document to store settings? Pin
DavidNohejl15-Jul-05 8:26
DavidNohejl15-Jul-05 8:26 
GeneralRe: How to XML Document to store settings? Pin
Cheng Zhong15-Jul-05 17:37
Cheng Zhong15-Jul-05 17:37 
AnswerRe: How to XML Document to store settings? Pin
Judah Gabriel Himango15-Jul-05 9:42
sponsorJudah Gabriel Himango15-Jul-05 9:42 
GeneralGraphics Class Pin
Amir Jalaly15-Jul-05 6:57
Amir Jalaly15-Jul-05 6:57 
GeneralRe: Graphics Class Pin
Dave Kreskowiak15-Jul-05 9:37
mveDave Kreskowiak15-Jul-05 9:37 
GeneralRe: Graphics Class Pin
Muhammad Gulzaib Khan16-Jul-05 9:03
Muhammad Gulzaib Khan16-Jul-05 9:03 
GeneralRe: Graphics Class Pin
Amir Jalaly16-Jul-05 20:56
Amir Jalaly16-Jul-05 20:56 

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.