FYI
Silverlight Password Box[
^]
string _currentText = "";
void textBox1_TextChanged(object sender, EventArgs e)
{
TextBox __textBox = sender as TextBox;
if (__textBox != null)
{
string __currentText = __textBox.Text;
if (__currentText.Length < _currentText.Length)
_currentText = _currentText.Substring(0, __currentText.Length);
if (__currentText != "")
{
for (int i = 0; i < __currentText.Length; i++)
{
if (__currentText[i] != '\u25CF')
{
System.Threading.Thread.Sleep(100);
string __temp = __currentText.Remove(i, 1);
__textBox.Text = __temp.Insert(i, "\u25CF");
_currentText = _currentText.Insert
(_currentText.Length, __currentText[i].ToString());
}
}
}
}
}