[Mono-bugs] [Bug 76301][Nor] Changed - Passwords on textbox do not work.

bugzilla-daemon at bugzilla.ximian.com bugzilla-daemon at bugzilla.ximian.com
Fri Sep 30 19:08:41 EDT 2005


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 miguel at ximian.com.

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

--- shadow/76301	2005-09-30 19:08:13.000000000 -0400
+++ shadow/76301.tmp.2334	2005-09-30 19:08:41.000000000 -0400
@@ -1,14 +1,14 @@
 Bug#: 76301
 Product: Mono: Class Libraries
 Version: unspecified
-OS: 
+OS: unknown
 OS Details: 
 Status: NEW   
 Resolution: 
-Severity: 
+Severity: Unknown
 Priority: Normal
 Component: Windows.Forms
 AssignedTo: peter at novonyx.com                            
 ReportedBy: miguel at ximian.com               
 QAContact: mono-bugs at ximian.com
 TargetMilestone: ---
@@ -24,6 +24,56 @@
 an entry that contains the text with '*' replacing every character.
 
 2. Editing
 
 When you edit, the textBox which should be a password textbox instead shows
 the text as yo type it.
+
+------- Additional Comments From miguel at ximian.com  2005-09-30 19:08 -------
+To compile:
+
+mcs file.cs -pkg:dotnet
+
+using System;
+using System.Windows.Forms;
+
+namespace MyFormProject
+{
+        class MainForm : System.Windows.Forms.Form
+        {
+                private System.Windows.Forms.TextBox textBox1;
+                public MainForm()
+                {
+                        InitializeComponent();
+                }
+
+                void InitializeComponent() {
+                        this.textBox1 = new
+System.Windows.Forms.TextBox();
+                        this.textBox1.Dock =
+System.Windows.Forms.DockStyle.Top;
+                        this.textBox1.Location = new
+System.Drawing.Point(10, 10);
+                        this.textBox1.Name = "textBox19";
+                        this.textBox1.Size = new
+System.Drawing.Size(627, 20);
+                        this.textBox1.TabIndex = 19;
+                        textBox1.PasswordChar = '*';
+                        this.textBox1.Text = "A normal textbox - MS
+Sans Serif : Dock=Top";
+                        this.ClientSize = new System.Drawing.Size(627,
+538);
+                        this.Controls.AddRange(new
+System.Windows.Forms.Control[] {
+                                                this.textBox1});
+                        this.Text = "SWF-Textboxes";
+                        this.ResumeLayout(false);
+                }
+
+                [STAThread]
+                public static void Main(string[] args)
+                {
+                        Application.Run(new MainForm());
+                }
+        }
+}
+


More information about the mono-bugs mailing list