mirror of
https://github.com/Crypto-Notepad/Crypto-Notepad.git
synced 2026-03-11 08:55:25 +00:00
Removed unused code
This commit is contained in:
parent
9a73b34433
commit
46b65d1972
1 changed files with 1 additions and 7 deletions
|
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue