Hi out there, I've got another question which I do not want to discuss in my other (resolved) Thread:
I am drawing some lines in a panel, but after 38 lines, the drawing stops.
Here is one example:
| e.Graphics.DrawLine(Pens.Black,0,0,100000,100000); |
| //nochangetothisone, although its 100000px not 1000px: |
| e.Graphics.DrawLine(Pens.Black,0,0,1000,1000); |
This line just goes to the end of the screen, a scrollbar actually appears on the right side, but there is nearly nothing to scroll (a real tiny scrollbar... maybe scrolling 1cm, not more)
So:
Is there something like a maximum height when drawing in a panel or why is there no change between both DrawLine commands? Is it technically possible to draw a line at ~2000px (only visible by scrolling then)?
Background:
I am drawing 110 lines - one under the other one, but the drawing stops at line 38 (which is located at the end of my screen)
(AutoScroll is enabled, when trying to go step by step through the code with breakpoints, everything is right, calculations are right - just drawing does not go on any more)
Help would be very nice... Thanks to all in advance!