Click here to Skip to main content
15,920,438 members
Home / Discussions / C#
   

C#

 
Questionhow to use button to open the new form Pin
activesync20-Nov-05 2:05
activesync20-Nov-05 2:05 
AnswerRe: how to use button to open the new form Pin
Jeff Bramwell20-Nov-05 2:36
Jeff Bramwell20-Nov-05 2:36 
Questionparallel port display chronometer Pin
el_aristo20-Nov-05 1:48
el_aristo20-Nov-05 1:48 
QuestionPopulating datagrid from csv stream Pin
rana7420-Nov-05 0:08
rana7420-Nov-05 0:08 
AnswerRe: Populating datagrid from csv stream Pin
Curtis Schlak.20-Nov-05 15:29
Curtis Schlak.20-Nov-05 15:29 
Questiontreeview Pin
F.Hashemi19-Nov-05 23:55
F.Hashemi19-Nov-05 23:55 
AnswerRe: treeview Pin
Jeff Bramwell20-Nov-05 2:39
Jeff Bramwell20-Nov-05 2:39 
AnswerRe: treeview Pin
Curtis Schlak.20-Nov-05 6:35
Curtis Schlak.20-Nov-05 6:35 
I like to do a two-step process here.

1) When you create the TreeNode, set the Tag property with an identifier value that allows you to quickly ascertain the type of the TreeNode clicked. This could be as easy as using an Enum in your code.

2) As the previous poster suggested, use the TreeViewEventArgs.Node property to investigate the recently clicked TreeNode

You can refer to my article Building the CVS Root File Changing Utility here on codeproject.com for examples of using these properties together.

"we must lose precision to make significant
      statements about complex systems."
              -deKorvin on uncertainty

QuestionDataGrid & DataRelation Pin
RoyRose7819-Nov-05 20:10
RoyRose7819-Nov-05 20:10 
Questionstrongly typed collections over web services Pin
(Steven Hicks)n+119-Nov-05 18:37
(Steven Hicks)n+119-Nov-05 18:37 
QuestionREGEX Expressions Pin
Expert Coming19-Nov-05 17:09
Expert Coming19-Nov-05 17:09 
AnswerRe: REGEX Expressions Pin
User 665820-Nov-05 1:14
User 665820-Nov-05 1:14 
QuestionIs this reflection? Pin
eggie519-Nov-05 16:24
eggie519-Nov-05 16:24 
AnswerRe: Is this reflection? Pin
eggie519-Nov-05 16:56
eggie519-Nov-05 16:56 
AnswerRe: Is this reflection? Pin
Stanciu Vlad19-Nov-05 22:30
Stanciu Vlad19-Nov-05 22:30 
GeneralRe: Is this reflection? Pin
User 665820-Nov-05 1:26
User 665820-Nov-05 1:26 
GeneralRe: Is this reflection? Pin
Stanciu Vlad20-Nov-05 4:50
Stanciu Vlad20-Nov-05 4:50 
GeneralRe: Is this reflection? Pin
eggie520-Nov-05 8:40
eggie520-Nov-05 8:40 
GeneralRe: Is this reflection? Pin
eggie520-Nov-05 8:53
eggie520-Nov-05 8:53 
GeneralRe: Is this reflection? Pin
Stanciu Vlad20-Nov-05 10:01
Stanciu Vlad20-Nov-05 10:01 
QuestionHelp with Delegates and Events Pin
tawammar19-Nov-05 11:37
tawammar19-Nov-05 11:37 
AnswerRe: Help with Delegates and Events Pin
mikanu19-Nov-05 21:09
mikanu19-Nov-05 21:09 
QuestionCustom Object Question Pin
LighthouseJ19-Nov-05 11:32
LighthouseJ19-Nov-05 11:32 
AnswerRe: Custom Object Question Pin
Chris Austin19-Nov-05 12:08
Chris Austin19-Nov-05 12:08 
GeneralRe: Custom Object Question Pin
LighthouseJ19-Nov-05 12:54
LighthouseJ19-Nov-05 12:54 

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.