Click here to Skip to main content
15,921,793 members
Home / Discussions / C#
   

C#

 
GeneralRe: form.close() not working Pin
Christian Graus7-Feb-07 15:14
protectorChristian Graus7-Feb-07 15:14 
GeneralRe: form.close() not working Pin
Christian Graus7-Feb-07 15:15
protectorChristian Graus7-Feb-07 15:15 
QuestionRe: form.close() not working Pin
red60mans7-Feb-07 17:24
red60mans7-Feb-07 17:24 
AnswerRe: form.close() not working Pin
ShermansLagoon7-Feb-07 21:00
ShermansLagoon7-Feb-07 21:00 
AnswerRe: form.close() not working Pin
Christian Graus7-Feb-07 21:09
protectorChristian Graus7-Feb-07 21:09 
QuestionSpace Elevator Problem Pin
Member 38066887-Feb-07 13:34
Member 38066887-Feb-07 13:34 
AnswerRe: Space Elevator Problem Pin
Dave Kreskowiak7-Feb-07 14:09
mveDave Kreskowiak7-Feb-07 14:09 
AnswerRe: Space Elevator Problem [modified] Pin
Not Active7-Feb-07 14:11
mentorNot Active7-Feb-07 14:11 
GeneralRe: Space Elevator Problem Pin
Christian Graus7-Feb-07 14:16
protectorChristian Graus7-Feb-07 14:16 
GeneralRe: Space Elevator Problem Pin
Not Active7-Feb-07 14:23
mentorNot Active7-Feb-07 14:23 
AnswerRe: Space Elevator Problem Pin
Christian Graus7-Feb-07 14:15
protectorChristian Graus7-Feb-07 14:15 
QuestionLeave event not firing Pin
kumar.bs7-Feb-07 13:32
kumar.bs7-Feb-07 13:32 
AnswerRe: Leave event not firing Pin
Dave Kreskowiak7-Feb-07 14:05
mveDave Kreskowiak7-Feb-07 14:05 
GeneralRe: Leave event not firing Pin
kumar.bs7-Feb-07 14:27
kumar.bs7-Feb-07 14:27 
QuestionListbox Help Pin
Saamir7-Feb-07 12:07
Saamir7-Feb-07 12:07 
QuestionDeep copy and shallow copy with List<> [modified] Pin
jeffb427-Feb-07 10:51
jeffb427-Feb-07 10:51 
QuestionCheck for an existing item in a treeview Pin
sharpiesharpie7-Feb-07 9:43
sharpiesharpie7-Feb-07 9:43 
I know someone here asked exactly the same thing about a combo box but i tried and it didn't work, i have a treeview that contains process names and i want to check if a process exists there before i add it, i tried something like this and it didn't work:

<br />
Process[] a = Process.GetProcesses();<br />
            for (int i = 0; i < a.Length; i++)<br />
            {<br />
                TreeNode mb = new TreeNode(a[i].ProcessName);<br />
                if (!(treeView1.Nodes.Contains(mb)))<br />
                    treeView1.Nodes.Add(a[i].ProcessName);<br />
            }<br />


Any suggestions?
AnswerRe: Check for an existing item in a treeview Pin
led mike7-Feb-07 9:48
led mike7-Feb-07 9:48 
GeneralRe: Check for an existing item in a treeview Pin
sharpiesharpie7-Feb-07 9:51
sharpiesharpie7-Feb-07 9:51 
AnswerRe: Check for an existing item in a treeview Pin
PIEBALDconsult7-Feb-07 10:00
mvePIEBALDconsult7-Feb-07 10:00 
GeneralRe: Check for an existing item in a treeview Pin
sharpiesharpie8-Feb-07 1:25
sharpiesharpie8-Feb-07 1:25 
AnswerRe: Check for an existing item in a treeview Pin
Ravi Bhavnani7-Feb-07 11:13
professionalRavi Bhavnani7-Feb-07 11:13 
AnswerRe: Check for an existing item in a treeview Pin
Abisodun7-Feb-07 13:53
Abisodun7-Feb-07 13:53 
Questionhow to szie the window? Pin
Khoramdin7-Feb-07 9:33
Khoramdin7-Feb-07 9:33 
AnswerRe: how to szie the window? Pin
sharpiesharpie7-Feb-07 9:46
sharpiesharpie7-Feb-07 9:46 

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.