[Mono-bugs] [Bug 82483][Nor] New - Form min and max box shows when disabled

bugzilla-daemon at bugzilla.ximian.com bugzilla-daemon at bugzilla.ximian.com
Sun Aug 19 00:00:31 EDT 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 everaldo at simios.org.

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

--- shadow/82483	2007-08-19 00:00:31.000000000 -0400
+++ shadow/82483.tmp.12939	2007-08-19 00:00:31.000000000 -0400
@@ -0,0 +1,49 @@
+Bug#: 82483
+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: everaldo at simios.org               
+QAContact: mono-bugs at ximian.com
+TargetMilestone: ---
+URL: 
+Cc: 
+Summary: Form min and max box shows when disabled
+
+On Windows when you have a form without MinimizeBox and MaximizeBox the
+options can be accessible using right-click on menu bar. It is ok on Linux.
+
+Check the #82457 (1 and 2) for more details.
+
+You can use this sample to reproduce behavior:
+
+using System;
+using System.Drawing;
+using System.Windows.Forms;
+
+public class MainForm : Form
+{
+	[STAThread]
+	static void Main ()
+	{
+		Application.Run (new MainForm ());
+	}
+
+	public MainForm ()
+	{
+		ClientSize = new Size (300, 220);
+		StartPosition = FormStartPosition.CenterScreen;
+		Text = "bug ######";
+
+		ControlBox = true;
+		MinimizeBox = false;
+		MaximizeBox = false;
+		FormBorderStyle = FormBorderStyle.FixedDialog;
+	}
+}


More information about the mono-bugs mailing list