[Mono-bugs] [Bug 79386][Nor] New - Setting Form.Text = "" and Form.ControlBox = false should show a Form without a title bar and resizing borders
bugzilla-daemon at bugzilla.ximian.com
bugzilla-daemon at bugzilla.ximian.com
Tue Sep 12 17:30:59 EDT 2006
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 alex.olk at googlemail.com.
http://bugzilla.ximian.com/show_bug.cgi?id=79386
--- shadow/79386 2006-09-12 17:30:59.000000000 -0400
+++ shadow/79386.tmp.23754 2006-09-12 17:30:59.000000000 -0400
@@ -0,0 +1,46 @@
+Bug#: 79386
+Product: Mono: Class Libraries
+Version: 1.0
+OS:
+OS Details:
+Status: NEW
+Resolution:
+Severity:
+Priority: Normal
+Component: Windows.Forms
+AssignedTo: toshok at ximian.com
+ReportedBy: alex.olk at googlemail.com
+QAContact: mono-bugs at ximian.com
+TargetMilestone: ---
+URL:
+Cc:
+Summary: Setting Form.Text = "" and Form.ControlBox = false should show a Form without a title bar and resizing borders
+
+On windows if you set the Text property of a Form to "" and ControlBox
+property to false the result is a form without a title bar and with
+resizing borders.
+
+On Linux the title bar is still visible (see attached screenshot).
+
+Test case:
+
+using System;
+using System.Windows.Forms;
+
+namespace WinDontMove
+{
+ public class MainForm : Form
+ {
+ public MainForm ()
+ {
+ Text = "";
+ ControlBox = false;
+ }
+
+ [STAThread]
+ static void Main()
+ {
+ Application.Run(new MainForm());
+ }
+ }
+}
More information about the mono-bugs
mailing list