[Mono-bugs] [Bug 78870][Nor] New - Program crashes when setting the MinimumSize on a Form

bugzilla-daemon at bugzilla.ximian.com bugzilla-daemon at bugzilla.ximian.com
Sat Jul 15 21:03:42 EDT 2006


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 georgegiolfan at yahoo.com.

http://bugzilla.ximian.com/show_bug.cgi?id=78870

--- shadow/78870	2006-07-15 21:03:42.000000000 -0400
+++ shadow/78870.tmp.28530	2006-07-15 21:03:42.000000000 -0400
@@ -0,0 +1,56 @@
+Bug#: 78870
+Product: Mono: Class Libraries
+Version: 1.0
+OS: 
+OS Details: 
+Status: NEW   
+Resolution: 
+Severity: 
+Priority: Normal
+Component: Windows.Forms
+AssignedTo: peter at novonyx.com                            
+ReportedBy: georgegiolfan at yahoo.com               
+QAContact: mono-bugs at ximian.com
+TargetMilestone: ---
+URL: 
+Cc: 
+Summary: Program crashes when setting the MinimumSize on a Form
+
+Please fill in this template when reporting a bug, unless you know what you 
+are doing.
+Description of Problem:
+Program crashes when setting the MinimumSize on a Form
+
+Steps to reproduce the problem:
+using System.Drawing;
+using System.Windows.Forms;
+class Test : Form {
+    public Test() {
+        MinimumSize = new Size(200, 200);
+    }
+    static void Main() {
+        Application.Run(new Test());
+    }
+}
+
+Actual Results:
+The program crashes with the folowing message (Some paths have been 
+replaced with <...>):
+
+** (<...>): WARNING **: Missing method System.Windows.Forms.Control::
+set_MinimumSize(Size) in assembly <...>\System.Windows.Forms.dll, 
+referenced in assembly <...>
+
+Unhandled Exception: System.MissingMethodException: Method not found: 
+'System.Windows.Forms.Control.set_MinimumSize'.
+
+  at <0x00000> <unknown method>
+
+  at (wrapper remoting-invoke-with-check) Test:.ctor ()
+
+  at Test.Main () [0x00000] 
+Expected Results:
+The program displays a Form.
+
+How often does this happen? 
+Always


More information about the mono-bugs mailing list