[Mono-bugs] [Bug 80902][Nor] New - MessageBox is displayed on top of a TopMost Form

bugzilla-daemon at bugzilla.ximian.com bugzilla-daemon at bugzilla.ximian.com
Mon Feb 19 16:43:19 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=80902

--- shadow/80902	2007-02-19 16:43:19.000000000 -0500
+++ shadow/80902.tmp.7526	2007-02-19 16:43:19.000000000 -0500
@@ -0,0 +1,35 @@
+Bug#: 80902
+Product: Mono: Class Libraries
+Version: 1.2
+OS: Windows XP
+OS Details: 
+Status: NEW   
+Resolution: 
+Severity: 
+Priority: Normal
+Component: Windows.Forms
+AssignedTo: toshok at ximian.com                            
+ReportedBy: georgegiolfan at yahoo.com               
+QAContact: mono-bugs at ximian.com
+TargetMilestone: ---
+URL: 
+Cc: 
+Summary: MessageBox is displayed on top of a TopMost Form
+
+Steps to reproduce the problem:
+Compile and run the following program.
+using System;
+using System.Windows.Forms;
+class TestForm : Form {
+    static void Main() {
+        Application.Run(new TestForm());
+    }
+    public TestForm() {
+        WindowState = FormWindowState.Maximized;
+        TopMost = true;
+    }
+    protected override void OnLoad(EventArgs e) {
+        base.OnLoad(e);
+        MessageBox.Show(new Form(), null);
+    }
+}


More information about the mono-bugs mailing list