diff --git a/Crypto Notepad/Forms/SettingsForm.cs b/Crypto Notepad/Forms/SettingsForm.cs index 08d3f9a..631dac0 100644 --- a/Crypto Notepad/Forms/SettingsForm.cs +++ b/Crypto Notepad/Forms/SettingsForm.cs @@ -1,8 +1,5 @@ -using IWshRuntimeLibrary; -using Microsoft.Win32; -using System; +using System; using System.Drawing; -using System.IO; using System.Linq; using System.Reflection; using System.Windows.Forms; @@ -60,7 +57,6 @@ private void LoadSettings() statusPanelSizeCheckBox.Checked = settings.statusPanelSize; statusPanelReadonlyCheckBox.Checked = settings.statusPanelReadonly; statusPanelWordwrapCheckBox.Checked = settings.statusPanelWordWrap; - //statusPanelLabelsGroupBox.Visible = settings.statusPanelVisible; encryptionHintLabel.Visible = settings.encryptionHint; } #endregion @@ -336,11 +332,9 @@ private void FontDialog_Apply(object sender, EventArgs e) private void StatusPanelVisibleCheckBox_Click(object sender, EventArgs e) { - //statusPanelLabelsGroupBox.Visible = statusPanelVisibleCheckBox.Checked; Application.DoEvents(); MainForm main = Owner as MainForm; main.statusPanel.Visible = statusPanelVisibleCheckBox.Checked; - //main.richTextBox.SetInnerMargins(Convert.ToInt32(editorPaddingLeftTextBox.Text), 0, 0, 0); settings.statusPanelVisible = statusPanelVisibleCheckBox.Checked; }