diff --git a/Crypto Notepad/ChangeKeyForm.cs b/Crypto Notepad/ChangeKeyForm.cs index 77e66e0..bde6a07 100644 --- a/Crypto Notepad/ChangeKeyForm.cs +++ b/Crypto Notepad/ChangeKeyForm.cs @@ -33,12 +33,14 @@ private void pictureBox1_Click(object sender, EventArgs e) if (textBox1.UseSystemPasswordChar == true) { textBox1.UseSystemPasswordChar = false; + pictureBox1.Image = Properties.Resources.eye_half; return; } if (textBox1.UseSystemPasswordChar == false) { textBox1.UseSystemPasswordChar = true; + pictureBox1.Image = Properties.Resources.eye; return; } } @@ -48,12 +50,14 @@ private void pictureBox2_Click(object sender, EventArgs e) if (textBox2.UseSystemPasswordChar == true) { textBox2.UseSystemPasswordChar = false; + pictureBox2.Image = Properties.Resources.eye_half; return; } if (textBox2.UseSystemPasswordChar == false) { textBox2.UseSystemPasswordChar = true; + pictureBox2.Image = Properties.Resources.eye; return; } }