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

C#

 
AnswerRe: Threading in C# Pin
Pete O'Hanlon17-Nov-10 22:05
mvePete O'Hanlon17-Nov-10 22:05 
QuestionPlot histogram Pin
pancakeleh17-Nov-10 18:47
pancakeleh17-Nov-10 18:47 
AnswerRe: Plot histogram Pin
Dr.Walt Fair, PE17-Nov-10 19:28
professionalDr.Walt Fair, PE17-Nov-10 19:28 
GeneralRe: Plot histogram [modified] Pin
pancakeleh17-Nov-10 19:41
pancakeleh17-Nov-10 19:41 
GeneralRe: Plot histogram Pin
Richard MacCutchan18-Nov-10 1:36
mveRichard MacCutchan18-Nov-10 1:36 
GeneralRe: Plot histogram Pin
pancakeleh18-Nov-10 15:02
pancakeleh18-Nov-10 15:02 
Questiontree visualization Pin
pstsp91117-Nov-10 18:40
pstsp91117-Nov-10 18:40 
AnswerRe: tree visualization Pin
Alan Balkany23-Nov-10 3:59
Alan Balkany23-Nov-10 3:59 
It's easy with the right approach: Position the leaves first.

If each leaf has its own space in the Y dimension (i.e. no other nodes under it), you can easily assign Y coordinates for all the leaves. Just go through them from left to right, incrementing the Y coordinate according to each leaf's width and the gap between adjacent leaves.

The X coordinates come from the leaves' depths.

The next step is to assign coordinates to the interior nodes. One approach is to position each interior node in the middle above its leaves.

Finally go through all the nodes, drawing them at their assigned coordinates, and drawing links from each interior node to its children.
QuestionMerge image problem Pin
pancakeleh17-Nov-10 15:48
pancakeleh17-Nov-10 15:48 
AnswerRe: Merge image problem Pin
Dave Kreskowiak17-Nov-10 16:00
mveDave Kreskowiak17-Nov-10 16:00 
GeneralRe: Merge image problem Pin
pancakeleh17-Nov-10 16:03
pancakeleh17-Nov-10 16:03 
GeneralRe: Merge image problem Pin
fjdiewornncalwe17-Nov-10 16:32
professionalfjdiewornncalwe17-Nov-10 16:32 
GeneralRe: Merge image problem Pin
pancakeleh17-Nov-10 16:36
pancakeleh17-Nov-10 16:36 
AnswerRe: Merge image problem Pin
Pete O'Hanlon17-Nov-10 21:59
mvePete O'Hanlon17-Nov-10 21:59 
AnswerRe: Merge image problem Pin
Eddy Vluggen18-Nov-10 8:35
professionalEddy Vluggen18-Nov-10 8:35 
QuestionHow to read xmls and count the number of specific elements in them? Pin
turbosupramk317-Nov-10 8:53
turbosupramk317-Nov-10 8:53 
AnswerRe: How to read xmls and count the number of specific elements in them? Pin
T M Gray17-Nov-10 9:39
T M Gray17-Nov-10 9:39 
GeneralRe: How to read xmls and count the number of specific elements in them? Pin
turbosupramk317-Nov-10 9:47
turbosupramk317-Nov-10 9:47 
AnswerRe: How to read xmls and count the number of specific elements in them? Pin
Pete O'Hanlon17-Nov-10 9:40
mvePete O'Hanlon17-Nov-10 9:40 
GeneralRe: How to read xmls and count the number of specific elements in them? Pin
turbosupramk317-Nov-10 11:07
turbosupramk317-Nov-10 11:07 
GeneralRe: How to read xmls and count the number of specific elements in them? Pin
Pete O'Hanlon17-Nov-10 11:27
mvePete O'Hanlon17-Nov-10 11:27 
GeneralRe: How to read xmls and count the number of specific elements in them? Pin
turbosupramk318-Nov-10 4:38
turbosupramk318-Nov-10 4:38 
GeneralRe: How to read xmls and count the number of specific elements in them? Pin
T M Gray18-Nov-10 5:39
T M Gray18-Nov-10 5:39 
GeneralRe: How to read xmls and count the number of specific elements in them? Pin
turbosupramk318-Nov-10 6:15
turbosupramk318-Nov-10 6:15 
QuestionSendKeys.Send Pin
sanforjackass17-Nov-10 8:27
sanforjackass17-Nov-10 8:27 

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.