我在 Visual Studio 2005 中有一个文本框,其中 PasswordChar 属性设置为*
. 但是,当我检查它时,我仍然看到正常的文本。我希望只看到*
字符。我正在运行 Windows XP。有任何想法吗?
'PasswordTextBox
'
Me.PasswordTextBox.Location = New System.Drawing.Point(131, 93)
Me.PasswordTextBox.Multiline = True
Me.PasswordTextBox.Name = "PasswordTextBox"
Me.PasswordTextBox.PasswordChar = Global.Microsoft.VisualBasic.ChrW(42)
Me.PasswordTextBox.Size = New System.Drawing.Size(207, 25)
Me.PasswordTextBox.TabIndex = 3