1// Set to no text. 2textBox1.Text = ""; 3// The password character is an asterisk. 4textBox1.PasswordChar = '*'; 5// The control will allow no more than 14 characters. 6textBox1.MaxLength = 14; 7 8