Click here to Skip to main content
15,887,596 members
Home / Discussions / C#
   

C#

 
Question[C#, MS SQL CE] Password dialog authentification Pin
VitekST20-Sep-14 0:31
VitekST20-Sep-14 0:31 
General* Pin
VitekST8-Oct-14 6:00
VitekST8-Oct-14 6:00 
QuestionHow to Change Image for the last level(Child) in Treeview in C#? Pin
aahamdan19-Sep-14 21:03
aahamdan19-Sep-14 21:03 
AnswerRe: How to Change Image for the last level(Child) in Treeview in C#? Pin
BillWoodruff19-Sep-14 21:41
professionalBillWoodruff19-Sep-14 21:41 
GeneralRe: How to Change Image for the last level(Child) in Treeview in C#? Pin
aahamdan20-Sep-14 9:36
aahamdan20-Sep-14 9:36 
GeneralRe: How to Change Image for the last level(Child) in Treeview in C#? Pin
BillWoodruff20-Sep-14 19:56
professionalBillWoodruff20-Sep-14 19:56 
GeneralRe: How to Change Image for the last level(Child) in Treeview in C#? Pin
aahamdan22-Sep-14 7:56
aahamdan22-Sep-14 7:56 
GeneralRe: How to Change Image for the last level(Child) in Treeview in C#? Pin
BillWoodruff22-Sep-14 22:29
professionalBillWoodruff22-Sep-14 22:29 
You can, of course, post other questions here, or in the QA forums.

Keep in mind that for any TreeNode you have several possible 'dynamic visual state' factors that may determine your choice of images to be used in displaying the node:

1. has child nodes, or has no child nodes

2. if has child nodes: is expanded, or collapsed

3. is selected, or is not selected: unfortunately unless you owner-draw the TreeView you have no control over the selection highlight color, and every scheme I have seen to work-around this (using the TreeView as is: i.e., not owner-drawn) has been not useful (impaired performance, etc.).

4. the current level: this could be a dynamic factor if you are implementing drag-drop in the TreeView

To assist you in determining the node's current state at run-time there are four boolean properties which are read-only:

IsEditing
IsExpanded
IsSelected
IsVisible

cheers, Bill
« I had therefore to remove knowledge, in order to make room for belief » Immanuel Kant

GeneralRe: How to Change Image for the last level(Child) in Treeview in C#? Pin
Eddy Vluggen22-Sep-14 8:27
professionalEddy Vluggen22-Sep-14 8:27 
GeneralRe: How to Change Image for the last level(Child) in Treeview in C#? Pin
BillWoodruff22-Sep-14 8:34
professionalBillWoodruff22-Sep-14 8:34 
Questioncontinue if loop if failed Pin
Jassim Rahma19-Sep-14 11:27
Jassim Rahma19-Sep-14 11:27 
AnswerRe: continue if loop if failed Pin
V.19-Sep-14 11:36
professionalV.19-Sep-14 11:36 
AnswerRe: continue if loop if failed Pin
Eddy Vluggen19-Sep-14 11:56
professionalEddy Vluggen19-Sep-14 11:56 
AnswerMessage Closed Pin
19-Sep-14 23:36
Raushank0319-Sep-14 23:36 
GeneralRe: continue if loop if failed Pin
Eddy Vluggen20-Sep-14 0:18
professionalEddy Vluggen20-Sep-14 0:18 
AnswerRe: continue if loop if failed Pin
Dominic Burford22-Sep-14 0:03
professionalDominic Burford22-Sep-14 0:03 
Questionc# unable to coonect with xls file using LinqToExcel Please help Pin
Member 1105342019-Sep-14 5:11
Member 1105342019-Sep-14 5:11 
AnswerRe: c# unable to coonect with xls file using LinqToExcel Please help Pin
PIEBALDconsult19-Sep-14 5:20
mvePIEBALDconsult19-Sep-14 5:20 
QuestionRe: c# unable to coonect with xls file using LinqToExcel Please help Pin
ZurdoDev19-Sep-14 10:55
professionalZurdoDev19-Sep-14 10:55 
Questionc# LinqToExcel is not connecting to XLS in 64bit system but it is connecting xlsx file, tried DatabaseEngine.ace but didn't worked out. Pin
Member 1105342019-Sep-14 5:08
Member 1105342019-Sep-14 5:08 
AnswerRe: c# LinqToExcel is not connecting to XLS in 64bit system but it is connecting xlsx file, tried DatabaseEngine.ace but didn't worked out. Pin
PIEBALDconsult19-Sep-14 5:22
mvePIEBALDconsult19-Sep-14 5:22 
AnswerRe: c# LinqToExcel is not connecting to XLS in 64bit system but it is connecting xlsx file, tried DatabaseEngine.ace but didn't worked out. Pin
Eddy Vluggen19-Sep-14 7:16
professionalEddy Vluggen19-Sep-14 7:16 
QuestionResize Control Pin
AmbiguousName18-Sep-14 21:09
AmbiguousName18-Sep-14 21:09 
AnswerRe: Resize Control Pin
OriginalGriff18-Sep-14 21:41
mveOriginalGriff18-Sep-14 21:41 
GeneralRe: Resize Control Pin
AmbiguousName18-Sep-14 21:48
AmbiguousName18-Sep-14 21: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.