[Mono-bugs] [Bug 378308] Changing the value of PictureBox. ImageLocation does not load the image

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Fri Jul 11 18:01:20 EDT 2008


https://bugzilla.novell.com/show_bug.cgi?id=378308

User jpobst at novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=378308#c3





--- Comment #3 from Jonathan Pobst <jpobst at novell.com>  2008-07-11 16:01:20 MDT ---
Created an attachment (id=227414)
 --> (https://bugzilla.novell.com/attachment.cgi?id=227414)
Test Case

Setting ImageLocation does indeed set the image.  However there are a few
caveats:

- The picturebox needs to be on a form.
- The load is async, so you have to put Application.DoEvents in tests for it to
work on MS.Net.

I don't know if it is worth trying to get the right semantics when the
picturebox is not attached to a form, or if we should just leave it as is,
since that is the common (only "real"?) use-case.


-- 
Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.


More information about the mono-bugs mailing list