private void DisplayGeneratedPassword(char[] password) { if (password.Length > 0) { txtGeneratedPassword.Text = new string(password); PasswordEvaluation.DisplayPasswordEntropy(txtGeneratedPassword.Text, lblEntropy); } }
private void TxtPassword_TextChanged(object sender, EventArgs e) { PasswordEvaluation.DisplayPasswordEntropy(txtPassword.Text, lblEntropy); }