Hello!
im new here, but maybe i can help u. I find this -> can work with WPF and password
private void delete_Click(object sender, RoutedEventArgs e) { if (pass_passbox.IsFocused == true) { pass_passbox.Password= ""; } }
ofc u do this pass_passbox.Text if its a text box, but when changing the password of the WPF code u you need to write pass_passbox.Password and you can make changes from the on-screen keyboard.
not fully tested, but u can reset this way
and you can do this:
string Query = "Select * from [employeeinfo] where username='" + this.txt_user_name.Text + "' and password='" + this.pass_passbox.Password + "' ";
u can see this.pass_passbox.Password the same in the text box this.pass_passbox.Text
source share