mirror of
https://github.com/Crypto-Notepad/Crypto-Notepad.git
synced 2026-03-11 08:55:25 +00:00
Status message now empty, not invisible
This commit is contained in:
parent
620aae8459
commit
e43afdb85c
2 changed files with 1 additions and 4 deletions
3
Crypto Notepad/ChangeKeyForm.Designer.cs
generated
3
Crypto Notepad/ChangeKeyForm.Designer.cs
generated
|
|
@ -1,4 +1,4 @@
|
|||
namespace Crypto_Notepad
|
||||
namespace Crypto_Notepad
|
||||
{
|
||||
partial class ChangeKeyForm
|
||||
{
|
||||
|
|
@ -126,7 +126,6 @@ private void InitializeComponent()
|
|||
this.statusLabel.Size = new System.Drawing.Size(42, 17);
|
||||
this.statusLabel.TabIndex = 7;
|
||||
this.statusLabel.Text = "status";
|
||||
this.statusLabel.Visible = false;
|
||||
//
|
||||
// lockPictureBox
|
||||
//
|
||||
|
|
|
|||
|
|
@ -34,7 +34,6 @@ private async void AcceptButton_Click(object sender, EventArgs e)
|
|||
SystemSounds.Hand.Play();
|
||||
statusLabel.ForeColor = Color.Red;
|
||||
statusLabel.Text = "Invalid old key";
|
||||
statusLabel.Visible = true;
|
||||
oldKeyTextBox.Text = "";
|
||||
newKeyTextBox.Text = "";
|
||||
await Task.Delay(2000);
|
||||
|
|
@ -45,7 +44,6 @@ private async void AcceptButton_Click(object sender, EventArgs e)
|
|||
SystemSounds.Hand.Play();
|
||||
statusLabel.ForeColor = Color.Red;
|
||||
statusLabel.Text = "New key is the same as old";
|
||||
statusLabel.Visible = true;
|
||||
oldKeyTextBox.Text = "";
|
||||
newKeyTextBox.Text = "";
|
||||
await Task.Delay(2000);
|
||||
|
|
|
|||
Loading…
Reference in a new issue