From 46b65d197228dbc7707df20b952d27f8ddc865f3 Mon Sep 17 00:00:00 2001 From: Alexander Date: Mon, 13 Jan 2020 13:00:22 +0200 Subject: [PATCH] Removed unused code --- Crypto Notepad/Forms/SettingsForm.cs | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) 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; }