https://bugzilla.novell.com/show_bug.cgi?id=396232
Summary: SplitContainer.Panel with a picturebox inside,infinite
loop !
Product: Mono: Class Libraries
Version: SVN
Platform: x86
OS/Version: Linux
Status: NEW
Severity: Major
Priority: P5 - None
Component: Sys.Drawing.
AssignedTo: [email protected]
ReportedBy: [EMAIL PROTECTED]
QAContact: [email protected]
Found By: DeveloperNet
Hi
I use a SplitContainer.Panel with a picturebox inside, i use the paint_event of
picturebox to draw some string in it, and after this i say :
this.splitContainer1.SplitterDistance = (i).ToString().Length;
To adjust the picturebox to the content i just drawed, but this line of code
make a infinite loop because redim start the paint event .
Test case of this can be found here :
http://monoport.com/14926
if yu start it yu will see a infinit loop who paermatly redraw the form,
without the "bad line" draw of the form is okay but the draw of string had
trouble to refresh when adding text in the rtf box or rezise the form
--
Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
You are the assignee for the bug.
_______________________________________________
mono-bugs maillist - [email protected]
http://lists.ximian.com/mailman/listinfo/mono-bugs