[Mono-bugs] [Bug 368487] Nullreference exception in icon loading

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Sun Mar 9 03:36:06 EDT 2008


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

User olivier.duff at gmail.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=368487#c1





--- Comment #1 from olivier dufour <olivier.duff at gmail.com>  2008-03-09 00:36:05 MST ---
rm = resourceManager
name = "mono"
width = 16
heignt = 16

the code can be reduce to :

Icon ico = (Icon)rm.GetObject(name);
ico = new Icon(ico, width, height);


-- 
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.


More information about the mono-bugs mailing list