Vitokhv Asked:2020-06-21 11:49:57 +0000 UTC2020-06-21 11:49:57 +0000 UTC 2020-06-21 11:49:57 +0000 UTC 如何隐藏星号下的密码? 772 告诉我如何****在输入密码时显示星号而不是输入的字符? 星号最好与字体大小相同。 c# 1 个回答 Voted Best Answer koshe 2020-06-21T12:00:04Z2020-06-21T12:00:04Z 它textBox有一个 property UseSystemPasswordChar, maketrue或者如果你想要一个任意字符,使用 property PasswordChar。从程序代码: textBox1.UseSystemPasswordChar = true; 或者 textBox1.PasswordChar = '*';
它
textBox有一个 propertyUseSystemPasswordChar, maketrue或者如果你想要一个任意字符,使用 propertyPasswordChar。从程序代码:或者