List Info

Thread: C-Sharp (C#) Group: drawline doesn't draw full line after resize, help!




C-Sharp (C#) Group: drawline doesn't draw full line after resize, help!
country flaguser name
United States
2007-10-06 14:19:32
Hi,

I have c# program with a splitContainer. In right pannel, I
have
placed a picturebox. All these controls are docked to fill.
In the
picture box I draw a line using drawline where the starting
x is 0,
and the ending x is the width of the picturebox.

When I resize the form, everything resizes with it, but when
I redraw
the line, I can't go beyond the width of the picturebox
before resize.

I have checked the values of the widths of the pannel,
picturebox, and
their clientsizes, and they all have the newly resized
values, but the
drawline insists on drawing only up to the width of the
picture before
resizing it.

Please, can you help?

Thank you

Mohamed Qasem


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the
Google Groups "C-Sharp (C#)" group.
To post to this group, send email to C_Sharpgooglegroups.com
To unsubscribe from this group, send email to
C_Sharp-unsubscribegooglegroups.com
For more options, visit this group at http://g
roups.google.com/group/C_Sharp?hl=en
-~----------~----~----~----~------~----~------~--~---


[1]

about | contact  Other archives ( Real Estate discussion Medical topics )