[Mono-bugs] [Bug 80721][Wis] New - cannot create Windows form

bugzilla-daemon at bugzilla.ximian.com bugzilla-daemon at bugzilla.ximian.com
Sun Feb 4 17:15:51 EST 2007

Please do not reply to this email- if you want to comment on the bug, go to the
URL shown below and enter your comments there.

Changed by mrj001 at shaw.ca.


--- shadow/80721	2007-02-04 17:15:51.000000000 -0500
+++ shadow/80721.tmp.20502	2007-02-04 17:15:51.000000000 -0500
@@ -0,0 +1,59 @@
+Bug#: 80721
+Product: Mono: Class Libraries
+Version: 1.2
+OS Details: linux
+Status: NEW   
+Priority: Wishlist
+Component: Windows.Forms
+AssignedTo: toshok at ximian.com                            
+ReportedBy: mrj001 at shaw.ca               
+QAContact: mono-bugs at ximian.com
+TargetMilestone: ---
+Summary: cannot create Windows form
+I am using SVN 72270.  I am not sure when this problem started, but it has 
+been present in SVN for at least a few days. 
+When trying to create a windows form, the following occurs: 
+mj at ds9:~/issues/mono/not_implemented$ mono hello.exe 
+type: 10 Not implemented 
+Unhandled Exception: System.NotImplementedException: Feature not 
+  at System.Drawing.GDIPlus.CheckStatus (Status status) [0x00000] 
+  at System.Drawing.Image.InitFromStream (System.IO.Stream stream, Boolean 
+keepAlive) [0x00000] 
+  at System.Drawing.Bitmap..ctor (System.IO.Stream stream, Boolean useIcm) 
+  at System.Drawing.Bitmap..ctor (System.IO.Stream stream) [0x00000] 
+  at (wrapper remoting-invoke-with-check) System.Drawing.Bitmap:.ctor 
+  at System.Drawing.Image.FromStream (System.IO.Stream stream) [0x00000] 
+  at System.Drawing.Icon.GetInternalBitmap () [0x00000] 
+  at System.Drawing.Icon.ToBitmap () [0x00000] 
+  at (wrapper remoting-invoke-with-check) System.Drawing.Icon:ToBitmap () 
+  at System.Windows.Forms.XplatUIX11.SetIcon (System.Windows.Forms.Hwnd 
+hwnd, System.Drawing.Icon icon) [0x00000] 
+  at System.Windows.Forms.XplatUIX11.SetIcon (IntPtr handle, 
+System.Drawing.Icon icon) [0x00000] 
+  at System.Windows.Forms.XplatUI.SetIcon (IntPtr handle, 
+System.Drawing.Icon icon) [0x00000] 
+  at System.Windows.Forms.Form.CreateHandle () [0x00000] 
+  at System.Windows.Forms.Control.UpdateBounds () [0x00000] 
+  at System.Windows.Forms.Form..ctor () [0x00000] 
+  at MRJ.Issue.Form1..ctor (Boolean bDebug) [0x00000] 
+  at (wrapper remoting-invoke-with-check) MRJ.Issue.Form1:.ctor (bool) 
+  at MRJ.Issue.Form1.Main (System.String[] args) [0x00000] 
+I note that some issues have been marked as "not a bug" when a "not 
+implemented" exception is thrown.   
+1. this used to work in older versions of mono, AND 
+2. creating a blank form is pretty basic, AND 
+3. the attached example works perfectly in .NET framework 1.1.

More information about the mono-bugs mailing list