2007-03-14 Chris Toshok <toshok@ximian.com>
[mono.git] / mcs / class / Managed.Windows.Forms / System.Windows.Forms / Form.cs
index 123158a536deefc210b89647a4631b9088fe4e27..9523c3cb893087ea9e11c0d06d5556215b87b380 100644 (file)
@@ -627,9 +627,6 @@ namespace System.Windows.Forms {
                        set {
                                if (maximize_box != value) {
                                        maximize_box = value;
-                                       if (IsHandleCreated) {
-                                               RecreateHandle();
-                                       }
                                        UpdateStyles();
                                }
                        }
@@ -814,9 +811,6 @@ namespace System.Windows.Forms {
                        set {
                                if (minimize_box != value) {
                                        minimize_box = value;
-                                       if (IsHandleCreated) {
-                                               RecreateHandle();
-                                       }
                                        UpdateStyles();
                                }
                        }