Click here to Skip to main content
15,923,164 members
Home / Discussions / .NET (Core and Framework)
   

.NET (Core and Framework)

 
GeneralRe: Advanced .NET cource Pin
marca29217-May-10 22:18
marca29217-May-10 22:18 
GeneralRe: Advanced .NET cource Pin
Richard MacCutchan18-May-10 10:59
mveRichard MacCutchan18-May-10 10:59 
AnswerRe: Advanced .NET cource Pin
Luc Pattyn18-May-10 1:19
sitebuilderLuc Pattyn18-May-10 1:19 
QuestionRender Method Pin
Mountainking0217-May-10 8:37
Mountainking0217-May-10 8:37 
AnswerRe: Render Method Pin
Luc Pattyn17-May-10 8:58
sitebuilderLuc Pattyn17-May-10 8:58 
QuestionRe: Render Method Pin
Mountainking0220-May-10 4:48
Mountainking0220-May-10 4:48 
AnswerRe: Render Method Pin
Luc Pattyn20-May-10 5:14
sitebuilderLuc Pattyn20-May-10 5:14 
QuestionRe: Render Method Pin
Mountainking0220-May-10 5:48
Mountainking0220-May-10 5:48 
Ok, but remember, i wanted to avoid overlapping effects. For example look at the following code:

Path path = new Path();<br />
            path.Stroke = Brushes.IndianRed;<br />
            path.StrokeThickness = 0.05;<br />
            path.Opacity = 0.5;<br />
            GeometryGroup geometryGroup = new GeometryGroup();<br />
<br />
            for (int i = 0; i < 5000; i++)<br />
            {<br />
                PathGeometry pathGeometry = new PathGeometry();<br />
                PathFigure pathFigure = new PathFigure();<br />
                pathFigure.StartPoint = new Point(rand.Next(0, 50), rand.Next(0, 50));<br />
                pathFigure.Segments.Add(new LineSegment(new Point(rand.Next(0, 50), rand.Next(0, 50)), true));<br />
                pathGeometry.Figures.Add(pathFigure);<br />
                geometryGroup.Children.Add(pathGeometry);<br />
            }<br />
<br />
            path.Data = geometryGroup;<br />
            Children.Add(path);


I can't set the brush or dashstyles individually to a Line. Only setting the "global" path values is possible, so that each Line is rendered equal. Thats my problem. I can take all the code inside the for loop, but then i have the overlapping effekt again.
AnswerRe: Render Method Pin
Luc Pattyn20-May-10 6:07
sitebuilderLuc Pattyn20-May-10 6:07 
QuestionAdvice: Transaction Processing using MSMQ Pin
DotNetJoe17-May-10 5:28
DotNetJoe17-May-10 5:28 
Question.net framework temporary error Pin
Zeyad Jalil17-May-10 2:21
professionalZeyad Jalil17-May-10 2:21 
AnswerRe: .net framework temporary error Pin
Not Active17-May-10 2:28
mentorNot Active17-May-10 2:28 
GeneralRe: .net framework temporary error Pin
Zeyad Jalil17-May-10 2:32
professionalZeyad Jalil17-May-10 2:32 
GeneralRe: .net framework temporary error Pin
Pete O'Hanlon17-May-10 2:49
mvePete O'Hanlon17-May-10 2:49 
AnswerRe: .net framework temporary error Pin
Tripathi Swati18-May-10 22:57
Tripathi Swati18-May-10 22:57 
QuestionHow to get dll's functions? Pin
phowarso16-May-10 21:55
phowarso16-May-10 21:55 
AnswerRe: How to get dll's functions? Pin
Hristo-Bojilov16-May-10 23:33
Hristo-Bojilov16-May-10 23:33 
AnswerRe: How to get dll's functions? Pin
Eddy Vluggen16-May-10 23:46
professionalEddy Vluggen16-May-10 23:46 
AnswerRe: How to get dll's functions? Pin
Peace ON16-May-10 23:47
Peace ON16-May-10 23:47 
AnswerRe: How to get dll's functions? Pin
neal12318-May-10 19:14
neal12318-May-10 19:14 
QuestionAbout Garbage collector Pin
sujithkumarsl16-May-10 20:51
sujithkumarsl16-May-10 20:51 
AnswerRe: About Garbage collector Pin
Peace ON16-May-10 23:51
Peace ON16-May-10 23:51 
AnswerRe: About Garbage collector Pin
Eddy Vluggen16-May-10 23:51
professionalEddy Vluggen16-May-10 23:51 
QuestionHow to customize Windows Regional options Pin
kindman_nb16-May-10 19:04
kindman_nb16-May-10 19:04 
AnswerRe: How to customize Windows Regional options Pin
Eddy Vluggen16-May-10 23:54
professionalEddy Vluggen16-May-10 23: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.