[Mono-bugs] [Bug 70950][Nor] New - TextBox controls is shown with a wrong color
bugzilla-daemon@bugzilla.ximian.com
bugzilla-daemon@bugzilla.ximian.com
Mon, 3 Jan 2005 08:46:00 -0500 (EST)
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 jordi@ximian.com.
http://bugzilla.ximian.com/show_bug.cgi?id=70950
--- shadow/70950 2005-01-03 08:46:00.000000000 -0500
+++ shadow/70950.tmp.12161 2005-01-03 08:46:00.000000000 -0500
@@ -0,0 +1,49 @@
+Bug#: 70950
+Product: Mono: Class Libraries
+Version: 1.1
+OS:
+OS Details:
+Status: NEW
+Resolution:
+Severity:
+Priority: Normal
+Component: Windows.Forms
+AssignedTo: peter@novonyx.com
+ReportedBy: jordi@ximian.com
+QAContact: mono-bugs@ximian.com
+TargetMilestone: ---
+URL:
+Cc:
+Summary: TextBox controls is shown with a wrong color
+
+The TextBox control in this sample is shown with a white background in a
+regular WinXP with Ms .Net framework. In Mono is shown with a grey
+background, like readonly text control will do.
+
+using System.Windows.Forms;
+using System.Drawing;
+
+namespace MyFormProject
+{
+
+
+ class MainForm : System.Windows.Forms.Form
+ {
+ static private TextBox textbox = new TextBox ();
+
+ public MainForm()
+ {
+ ClientSize = new System.Drawing.Size (400, 400);
+
+ textbox.Location = new Point (10,10);
+ Controls.Add (textbox);
+ textbox.Text = "Hello World";
+ }
+
+ public static void Main(string[] args)
+ {
+ Application.Run (new MainForm ());
+ }
+ }
+
+}