diff --git a/Crypto Notepad/SettingsForm.cs b/Crypto Notepad/SettingsForm.cs index e581ab5..048a1ed 100644 --- a/Crypto Notepad/SettingsForm.cs +++ b/Crypto Notepad/SettingsForm.cs @@ -198,6 +198,14 @@ private void PasswordIterationsTextBox_KeyPress(object sender, KeyPressEventArgs #region Settings Events + private void EncryptionHintLabel_MouseClick(object sender, MouseEventArgs e) + { + if (e.Button == MouseButtons.Left) + { + encryptionHintLabel.Visible = false; + settings.encryptionHint = false; + } + } private void EditorFontColor_Click(object sender, EventArgs e) { colorDialog.Color = editorFontColor.BackColor; @@ -627,16 +635,8 @@ private void StatusPanelSizeCheckBox_Click(object sender, EventArgs e) settings.statusPanelSize = statusPanelSizeCheckBox.Checked; main.StatusPanelFileInfo(); } - #endregion - private void EncryptionHintLabel_MouseClick(object sender, MouseEventArgs e) - { - if (e.Button == MouseButtons.Left) - { - encryptionHintLabel.Visible = false; - settings.encryptionHint = false; - } - } + } } \ No newline at end of file