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 "DotNetDevelopment, VB.NET, C# .NET,
ADO.NET, ASP.NET, XML, XML Web Services,.NET Remoting"
group.
To post to this group, send email to DotNetDevelopment googlegroups.com
To unsubscribe from this group, send email to
DotNetDevelopment-unsubscribe googlegroups.com
For more options, visit this group at
http:
//cm.megasolutions.net/forums/default.aspx
-~----------~----~----~----~------~----~------~--~---
|