[Mono-bugs] [Bug 80779][Cos] New - Small typo in exception message

bugzilla-daemon at bugzilla.ximian.com bugzilla-daemon at bugzilla.ximian.com
Fri Feb 9 19:07:48 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.

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

--- shadow/80779	2007-02-09 19:07:47.000000000 -0500
+++ shadow/80779.tmp.6102	2007-02-09 19:07:48.000000000 -0500
@@ -0,0 +1,34 @@
+Bug#: 80779
+Product: Mono: Class Libraries
+Version: 1.2
+OS: other
+OS Details: 
+Status: NEW   
+Resolution: 
+Severity: 
+Priority: Cosmetic
+Component: Windows.Forms
+AssignedTo: toshok at ximian.com                            
+ReportedBy: georgegiolfan at yahoo.com               
+QAContact: mono-bugs at ximian.com
+TargetMilestone: ---
+URL: 
+Cc: 
+Summary: Small typo in exception message
+
+Form.ShowDialog(IWin32Window):
+			if (TopLevelControl != this) {
+				throw new InvalidOperationException 
+("Forms that are not top level"
+					+ " forms cannot be displayed as 
+amodal dialog. Remove the"
+					+ " form from any parent form 
+before calling ShowDialog.");
+			}
+At least "amodal" should be fixed. Anyway, on .NET Framework 2.0, the 
+message is "Form that is not a top-level form cannot be displayed as a 
+modal dialog box. Remove the form from any parent form before calling 
+showDialog."
+Even if such messages have bugs ("showDialog"), they should probably 
+replicated exactly (ShowDialog throws InvalidOperationException in more 
+than one case).


More information about the mono-bugs mailing list