Author: toshok
Date: 2006-11-13 14:55:19 -0500 (Mon, 13 Nov 2006)
New Revision: 67784
Modified:
trunk/mcs/class/Managed.Windows.Forms/System.Windows.Forms/ChangeLog
trunk/mcs/class/Managed.Windows.Forms/System.Windows.Forms/Form.cs
Log:
2006-11-13 Chris Toshok <[EMAIL PROTECTED]>
* Form.cs (set_DialogResult): we need to set closing to false if
we're setting our result to None. fixes bug #79908.
Modified: trunk/mcs/class/Managed.Windows.Forms/System.Windows.Forms/ChangeLog
===================================================================
--- trunk/mcs/class/Managed.Windows.Forms/System.Windows.Forms/ChangeLog
2006-11-13 19:53:20 UTC (rev 67783)
+++ trunk/mcs/class/Managed.Windows.Forms/System.Windows.Forms/ChangeLog
2006-11-13 19:55:19 UTC (rev 67784)
@@ -1,3 +1,8 @@
+2006-11-13 Chris Toshok <[EMAIL PROTECTED]>
+
+ * Form.cs (set_DialogResult): we need to set closing to false if
+ we're setting our result to None. fixes bug #79908.
+
2006-11-13 Jackson Harper <[EMAIL PROTECTED]>
* TextControl.cs: When formatting text, compute the adjusted tag
Modified: trunk/mcs/class/Managed.Windows.Forms/System.Windows.Forms/Form.cs
===================================================================
--- trunk/mcs/class/Managed.Windows.Forms/System.Windows.Forms/Form.cs
2006-11-13 19:53:20 UTC (rev 67783)
+++ trunk/mcs/class/Managed.Windows.Forms/System.Windows.Forms/Form.cs
2006-11-13 19:55:19 UTC (rev 67784)
@@ -372,9 +372,7 @@
typeof (DialogResult));
dialog_result = value;
- if (is_modal) {
- closing = true;
- }
+ closing = (dialog_result != DialogResult.None
&& is_modal);
}
}
_______________________________________________
Mono-patches maillist - [email protected]
http://lists.ximian.com/mailman/listinfo/mono-patches