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

C#

 
AnswerRe: C# Windows Application problem Pin
BinShao29-Mar-09 15:41
BinShao29-Mar-09 15:41 
QuestionGetting data from a web page Pin
nike_arh29-Mar-09 4:07
nike_arh29-Mar-09 4:07 
AnswerRe: Getting data from a web page Pin
Xmen Real 29-Mar-09 4:26
professional Xmen Real 29-Mar-09 4:26 
QuestionTreeView Nodes Pin
Mohammed Elkholy29-Mar-09 3:50
Mohammed Elkholy29-Mar-09 3:50 
AnswerRe: TreeView Nodes Pin
Xmen Real 29-Mar-09 4:18
professional Xmen Real 29-Mar-09 4:18 
GeneralRe: TreeView Nodes Pin
Mohammed Elkholy29-Mar-09 4:30
Mohammed Elkholy29-Mar-09 4:30 
GeneralRe: TreeView Nodes Pin
Pete O'Hanlon29-Mar-09 10:29
mvePete O'Hanlon29-Mar-09 10:29 
GeneralRe: TreeView Nodes Pin
Henry Minute29-Mar-09 12:05
Henry Minute29-Mar-09 12:05 
Another possible solution is to handle the OnBeforeSelect event of the TreeView. Check the Node passed in the TreeViewCancelEventArgs and if it is one that you would like disabled, use the Cancel property from the TreeViewCancelEventArgs to stop user interaction. Of course it might be polite to give the user a notification for the reason.

Alternatively combine the above, without the user notification, with drawing the nodes that should be disabled yourself in a dimmed-out style.
Investigate the DrawMode property of the TreeView to find out how.

Henry Minute

Do not read medical books! You could die of a misprint. - Mark Twain
Girl: (staring) "Why do you need an icy cucumber?"
“I want to report a fraud. The government is lying to us all.”

QuestionList index in C# Pin
mrithula829-Mar-09 3:09
mrithula829-Mar-09 3:09 
AnswerRe: List index in C# Pin
Xmen Real 29-Mar-09 4:20
professional Xmen Real 29-Mar-09 4:20 
GeneralRe: List index in C# Pin
mrithula829-Mar-09 20:27
mrithula829-Mar-09 20:27 
GeneralRe: List index in C# Pin
Xmen Real 29-Mar-09 21:47
professional Xmen Real 29-Mar-09 21:47 
QuestionOnly MySqlParameter objects may be stored Pin
naim khan29-Mar-09 2:07
naim khan29-Mar-09 2:07 
AnswerRe: Only MySqlParameter objects may be stored Pin
Xmen Real 29-Mar-09 4:09
professional Xmen Real 29-Mar-09 4:09 
AnswerRe: Only MySqlParameter objects may be stored Pin
PIEBALDconsult29-Mar-09 4:57
mvePIEBALDconsult29-Mar-09 4:57 
QuestionList of classes and namespaces in .Net Framework ? [modified] Pin
Mohammad Dayyan29-Mar-09 1:41
Mohammad Dayyan29-Mar-09 1:41 
AnswerRe: List of classes and namespaces in .Net Framework ? Pin
Eddy Vluggen29-Mar-09 2:31
professionalEddy Vluggen29-Mar-09 2:31 
GeneralRe: List of classes and namespaces in .Net Framework ? Pin
Mohammad Dayyan29-Mar-09 2:38
Mohammad Dayyan29-Mar-09 2:38 
GeneralRe: List of classes and namespaces in .Net Framework ? Pin
Eddy Vluggen29-Mar-09 2:44
professionalEddy Vluggen29-Mar-09 2:44 
AnswerRe: List of classes and namespaces in .Net Framework ? Pin
Giorgi Dalakishvili29-Mar-09 2:35
mentorGiorgi Dalakishvili29-Mar-09 2:35 
GeneralRe: List of classes and namespaces in .Net Framework ? Pin
Mohammad Dayyan29-Mar-09 2:50
Mohammad Dayyan29-Mar-09 2:50 
GeneralRe: List of classes and namespaces in .Net Framework ? Pin
PIEBALDconsult29-Mar-09 5:05
mvePIEBALDconsult29-Mar-09 5:05 
GeneralRe: List of classes and namespaces in .Net Framework ? Pin
Mohammad Dayyan29-Mar-09 5:08
Mohammad Dayyan29-Mar-09 5:08 
GeneralRe: List of classes and namespaces in .Net Framework ? Pin
Mohammad Dayyan29-Mar-09 6:01
Mohammad Dayyan29-Mar-09 6:01 
GeneralRe: List of classes and namespaces in .Net Framework ? Pin
Giorgi Dalakishvili29-Mar-09 6:48
mentorGiorgi Dalakishvili29-Mar-09 6:48 

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.