From fffae6b37f0639fa1165959888121dac96281137 Mon Sep 17 00:00:00 2001 From: Alexander Date: Mon, 17 Dec 2018 13:02:24 +0200 Subject: [PATCH] Added integrate with windows context menu settings --- Crypto Notepad/SettingsForm.cs | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/Crypto Notepad/SettingsForm.cs b/Crypto Notepad/SettingsForm.cs index 98c3e79..e1be0d4 100644 --- a/Crypto Notepad/SettingsForm.cs +++ b/Crypto Notepad/SettingsForm.cs @@ -36,6 +36,7 @@ private void SettingsForm_Load(object sender, EventArgs e) checkBox4.Checked = ps.AutoLock; checkBox5.Checked = ps.AutoSave; checkBox6.Checked = ps.SendTo; + checkBox7.Checked = ps.MenuIntegrate; if (ps.TheSalt != "") { @@ -79,8 +80,9 @@ private void SetSettings(string value) ps.AutoLock = checkBox4.Checked; ps.AutoSave = checkBox5.Checked; ps.SendTo = checkBox6.Checked; + ps.MenuIntegrate = checkBox7.Checked; ps.Save(); - publicVar.settingsChanged = true; + PublicVar.settingsChanged = true; this.Hide(); } @@ -98,6 +100,7 @@ private void SetSettings(string value) checkBox4.Checked = false; checkBox5.Checked = true; checkBox6.Checked = false; + checkBox7.Checked = false; } }