[Mono-bugs] [Bug 80791][Nor] New - ClientSize should work

bugzilla-daemon at bugzilla.ximian.com bugzilla-daemon at bugzilla.ximian.com
Sun Feb 11 05:45:56 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 georgegiolfan at yahoo.com.


--- shadow/80791	2007-02-11 05:45:56.000000000 -0500
+++ shadow/80791.tmp.16806	2007-02-11 05:45:56.000000000 -0500
@@ -0,0 +1,38 @@
+Bug#: 80791
+Product: Mono: Class Libraries
+Version: 1.2
+OS: other
+OS Details: 
+Status: NEW   
+Priority: Normal
+Component: Windows.Forms
+AssignedTo: toshok at ximian.com                            
+ReportedBy: georgegiolfan at yahoo.com               
+QAContact: mono-bugs at ximian.com
+TargetMilestone: ---
+Summary: ClientSize should work
+Description of Problem:
+ClientSize should work immediately after creating a Form.
+Steps to reproduce the problem:
+Compile and run the following program.
+using System.Diagnostics;
+using System.Windows.Forms;
+class Test {
+    static void Main() {
+        Form f = new Form();
+        Debug.Assert(f.ClientSize != f.Size);
+    }
+How often does this happen? 
+Always (on the SVN version).
+Additional Information:
+This probably worked before the fix for the handles being created too 
+early bug.

More information about the mono-bugs mailing list