From 620aae84592336504147ee86a778e27e38336b97 Mon Sep 17 00:00:00 2001 From: Alexander Date: Tue, 15 Oct 2019 20:02:10 +0300 Subject: [PATCH] Changed error sounds while changing the encryption key --- Crypto Notepad/ChangeKeyForm.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Crypto Notepad/ChangeKeyForm.cs b/Crypto Notepad/ChangeKeyForm.cs index c758afd..280e0e4 100644 --- a/Crypto Notepad/ChangeKeyForm.cs +++ b/Crypto Notepad/ChangeKeyForm.cs @@ -31,7 +31,7 @@ private async void AcceptButton_Click(object sender, EventArgs e) } else if (oldKeyTextBox.Text != PublicVar.encryptionKey.Get()) { - SystemSounds.Beep.Play(); + SystemSounds.Hand.Play(); statusLabel.ForeColor = Color.Red; statusLabel.Text = "Invalid old key"; statusLabel.Visible = true; @@ -42,7 +42,7 @@ private async void AcceptButton_Click(object sender, EventArgs e) } else if(oldKeyTextBox.Text == newKeyTextBox.Text) { - SystemSounds.Beep.Play(); + SystemSounds.Hand.Play(); statusLabel.ForeColor = Color.Red; statusLabel.Text = "New key is the same as old"; statusLabel.Visible = true;