mirror of
https://github.com/Crypto-Notepad/Crypto-Notepad.git
synced 2026-03-11 08:55:25 +00:00
v1.6.8
- Added optional able to open all files except *.cnp without message "Try to decrypt file?" #52 - Added menu item and toolbar icon "Try to decrypt". - Fixed minor bugs while file open. - Now some items of the main menu become inactive when it's not necessary to use.
This commit is contained in:
parent
d79f5b59da
commit
c1bff79c02
11 changed files with 427 additions and 237 deletions
|
|
@ -192,6 +192,9 @@
|
|||
<setting name="shortcutKeys" serializeAs="String">
|
||||
<value>True</value>
|
||||
</setting>
|
||||
<setting name="openTxtUnencrypted" serializeAs="String">
|
||||
<value>False</value>
|
||||
</setting>
|
||||
</Crypto_Notepad.Properties.Settings>
|
||||
</userSettings>
|
||||
</configuration>
|
||||
|
|
|
|||
178
Crypto Notepad/Forms/MainForm.Designer.cs
generated
178
Crypto Notepad/Forms/MainForm.Designer.cs
generated
|
|
@ -41,6 +41,7 @@ public void InitializeComponent()
|
|||
this.mainMenuSeparator2 = new System.Windows.Forms.ToolStripSeparator();
|
||||
this.openFileLocationMainMenu = new System.Windows.Forms.ToolStripMenuItem();
|
||||
this.deleteFileMainMenu = new System.Windows.Forms.ToolStripMenuItem();
|
||||
this.tryToDecryptMainMenu = new System.Windows.Forms.ToolStripMenuItem();
|
||||
this.mainMenuSeparator3 = new System.Windows.Forms.ToolStripSeparator();
|
||||
this.exitMainMenu = new System.Windows.Forms.ToolStripMenuItem();
|
||||
this.editMainMenu = new System.Windows.Forms.ToolStripMenuItem();
|
||||
|
|
@ -96,9 +97,7 @@ public void InitializeComponent()
|
|||
this.searchFindNextButton = new System.Windows.Forms.Label();
|
||||
this.toolbarPanel = new System.Windows.Forms.TableLayoutPanel();
|
||||
this.closeToolbarButton = new System.Windows.Forms.Label();
|
||||
this.lockToolbarButton = new System.Windows.Forms.PictureBox();
|
||||
this.newToolbarButton = new System.Windows.Forms.PictureBox();
|
||||
this.changePasswordToolbarButton = new System.Windows.Forms.PictureBox();
|
||||
this.openToolbarButton = new System.Windows.Forms.PictureBox();
|
||||
this.pasteToolbarButton = new System.Windows.Forms.PictureBox();
|
||||
this.saveToolbarButton = new System.Windows.Forms.PictureBox();
|
||||
|
|
@ -106,8 +105,11 @@ public void InitializeComponent()
|
|||
this.fileLocationToolbarButton = new System.Windows.Forms.PictureBox();
|
||||
this.cutToolbarButton = new System.Windows.Forms.PictureBox();
|
||||
this.deleteFileToolbarButton = new System.Windows.Forms.PictureBox();
|
||||
this.settingsToolbarButton = new System.Windows.Forms.PictureBox();
|
||||
this.tryToDecryptToolbarButton = new System.Windows.Forms.PictureBox();
|
||||
this.changePasswordToolbarButton = new System.Windows.Forms.PictureBox();
|
||||
this.lockToolbarButton = new System.Windows.Forms.PictureBox();
|
||||
this.alwaysOnTopToolbarButton = new System.Windows.Forms.PictureBox();
|
||||
this.settingsToolbarButton = new System.Windows.Forms.PictureBox();
|
||||
this.statusPanel = new System.Windows.Forms.StatusStrip();
|
||||
this.statusPanelLabel = new System.Windows.Forms.ToolStripStatusLabel();
|
||||
this.statusPanelLengthLabel = new System.Windows.Forms.ToolStripStatusLabel();
|
||||
|
|
@ -137,9 +139,7 @@ public void InitializeComponent()
|
|||
this.contextMenu.SuspendLayout();
|
||||
this.searchPanel.SuspendLayout();
|
||||
this.toolbarPanel.SuspendLayout();
|
||||
((System.ComponentModel.ISupportInitialize)(this.lockToolbarButton)).BeginInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.newToolbarButton)).BeginInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.changePasswordToolbarButton)).BeginInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.openToolbarButton)).BeginInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.pasteToolbarButton)).BeginInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.saveToolbarButton)).BeginInit();
|
||||
|
|
@ -147,8 +147,11 @@ public void InitializeComponent()
|
|||
((System.ComponentModel.ISupportInitialize)(this.fileLocationToolbarButton)).BeginInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.cutToolbarButton)).BeginInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.deleteFileToolbarButton)).BeginInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.settingsToolbarButton)).BeginInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.tryToDecryptToolbarButton)).BeginInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.changePasswordToolbarButton)).BeginInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.lockToolbarButton)).BeginInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.alwaysOnTopToolbarButton)).BeginInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.settingsToolbarButton)).BeginInit();
|
||||
this.statusPanel.SuspendLayout();
|
||||
this.trayMenu.SuspendLayout();
|
||||
this.fileLockedPanel.SuspendLayout();
|
||||
|
|
@ -185,12 +188,14 @@ public void InitializeComponent()
|
|||
this.mainMenuSeparator2,
|
||||
this.openFileLocationMainMenu,
|
||||
this.deleteFileMainMenu,
|
||||
this.tryToDecryptMainMenu,
|
||||
this.mainMenuSeparator3,
|
||||
this.exitMainMenu});
|
||||
this.fileMainMenu.ForeColor = System.Drawing.SystemColors.ControlText;
|
||||
this.fileMainMenu.Name = "fileMainMenu";
|
||||
this.fileMainMenu.Size = new System.Drawing.Size(37, 24);
|
||||
this.fileMainMenu.Text = "File";
|
||||
this.fileMainMenu.DropDownOpening += new System.EventHandler(this.FileMainMenu_DropDownOpening);
|
||||
//
|
||||
// newMainMenu
|
||||
//
|
||||
|
|
@ -263,6 +268,15 @@ public void InitializeComponent()
|
|||
this.deleteFileMainMenu.Text = "Delete File";
|
||||
this.deleteFileMainMenu.Click += new System.EventHandler(this.DeleteFileToolStripMenuItem_Click);
|
||||
//
|
||||
// tryToDecryptMainMenu
|
||||
//
|
||||
this.tryToDecryptMainMenu.Name = "tryToDecryptMainMenu";
|
||||
this.tryToDecryptMainMenu.ShortcutKeys = ((System.Windows.Forms.Keys)(((System.Windows.Forms.Keys.Control | System.Windows.Forms.Keys.Shift)
|
||||
| System.Windows.Forms.Keys.E)));
|
||||
this.tryToDecryptMainMenu.Size = new System.Drawing.Size(248, 22);
|
||||
this.tryToDecryptMainMenu.Text = "Try to Decrypt";
|
||||
this.tryToDecryptMainMenu.Click += new System.EventHandler(this.TryToDecryptMainMenu_Click);
|
||||
//
|
||||
// mainMenuSeparator3
|
||||
//
|
||||
this.mainMenuSeparator3.Name = "mainMenuSeparator3";
|
||||
|
|
@ -299,13 +313,14 @@ public void InitializeComponent()
|
|||
this.editMainMenu.Name = "editMainMenu";
|
||||
this.editMainMenu.Size = new System.Drawing.Size(39, 24);
|
||||
this.editMainMenu.Text = "Edit";
|
||||
this.editMainMenu.DropDownOpening += new System.EventHandler(this.EditMainMenu_DropDownOpening);
|
||||
this.editMainMenu.DropDownOpened += new System.EventHandler(this.EditMainMenu_DropDownOpened);
|
||||
//
|
||||
// undoMainMenu
|
||||
//
|
||||
this.undoMainMenu.Name = "undoMainMenu";
|
||||
this.undoMainMenu.ShortcutKeys = ((System.Windows.Forms.Keys)((System.Windows.Forms.Keys.Control | System.Windows.Forms.Keys.Z)));
|
||||
this.undoMainMenu.Size = new System.Drawing.Size(221, 22);
|
||||
this.undoMainMenu.Size = new System.Drawing.Size(198, 22);
|
||||
this.undoMainMenu.Text = "Undo";
|
||||
this.undoMainMenu.Click += new System.EventHandler(this.UndoMainMenu_Click);
|
||||
//
|
||||
|
|
@ -313,21 +328,21 @@ public void InitializeComponent()
|
|||
//
|
||||
this.redoMainMenu.Name = "redoMainMenu";
|
||||
this.redoMainMenu.ShortcutKeys = ((System.Windows.Forms.Keys)((System.Windows.Forms.Keys.Control | System.Windows.Forms.Keys.Y)));
|
||||
this.redoMainMenu.Size = new System.Drawing.Size(221, 22);
|
||||
this.redoMainMenu.Size = new System.Drawing.Size(198, 22);
|
||||
this.redoMainMenu.Text = "Redo";
|
||||
this.redoMainMenu.Click += new System.EventHandler(this.RedoMainMenu_Click);
|
||||
//
|
||||
// mainMenuSeparator4
|
||||
//
|
||||
this.mainMenuSeparator4.Name = "mainMenuSeparator4";
|
||||
this.mainMenuSeparator4.Size = new System.Drawing.Size(218, 6);
|
||||
this.mainMenuSeparator4.Size = new System.Drawing.Size(195, 6);
|
||||
//
|
||||
// cutMainMenu
|
||||
//
|
||||
this.cutMainMenu.Enabled = false;
|
||||
this.cutMainMenu.Name = "cutMainMenu";
|
||||
this.cutMainMenu.ShortcutKeys = ((System.Windows.Forms.Keys)((System.Windows.Forms.Keys.Control | System.Windows.Forms.Keys.X)));
|
||||
this.cutMainMenu.Size = new System.Drawing.Size(221, 22);
|
||||
this.cutMainMenu.Size = new System.Drawing.Size(198, 22);
|
||||
this.cutMainMenu.Text = "Cut";
|
||||
this.cutMainMenu.Click += new System.EventHandler(this.CutMainMenu_Click);
|
||||
//
|
||||
|
|
@ -336,7 +351,7 @@ public void InitializeComponent()
|
|||
this.copyMainMenu.Enabled = false;
|
||||
this.copyMainMenu.Name = "copyMainMenu";
|
||||
this.copyMainMenu.ShortcutKeys = ((System.Windows.Forms.Keys)((System.Windows.Forms.Keys.Control | System.Windows.Forms.Keys.C)));
|
||||
this.copyMainMenu.Size = new System.Drawing.Size(221, 22);
|
||||
this.copyMainMenu.Size = new System.Drawing.Size(198, 22);
|
||||
this.copyMainMenu.Text = "Copy";
|
||||
this.copyMainMenu.Click += new System.EventHandler(this.CopyMainMenu_Click);
|
||||
//
|
||||
|
|
@ -344,7 +359,7 @@ public void InitializeComponent()
|
|||
//
|
||||
this.pasteMainMenu.Name = "pasteMainMenu";
|
||||
this.pasteMainMenu.ShortcutKeys = ((System.Windows.Forms.Keys)((System.Windows.Forms.Keys.Control | System.Windows.Forms.Keys.V)));
|
||||
this.pasteMainMenu.Size = new System.Drawing.Size(221, 22);
|
||||
this.pasteMainMenu.Size = new System.Drawing.Size(198, 22);
|
||||
this.pasteMainMenu.Text = "Paste";
|
||||
this.pasteMainMenu.Click += new System.EventHandler(this.PasteMainMenu_Click);
|
||||
//
|
||||
|
|
@ -353,34 +368,34 @@ public void InitializeComponent()
|
|||
this.deleteMainMenu.Enabled = false;
|
||||
this.deleteMainMenu.Name = "deleteMainMenu";
|
||||
this.deleteMainMenu.ShortcutKeys = System.Windows.Forms.Keys.Delete;
|
||||
this.deleteMainMenu.Size = new System.Drawing.Size(221, 22);
|
||||
this.deleteMainMenu.Size = new System.Drawing.Size(198, 22);
|
||||
this.deleteMainMenu.Text = "Delete";
|
||||
this.deleteMainMenu.Click += new System.EventHandler(this.DeleteMainMenu_Click);
|
||||
//
|
||||
// mainMenuSeparator5
|
||||
//
|
||||
this.mainMenuSeparator5.Name = "mainMenuSeparator5";
|
||||
this.mainMenuSeparator5.Size = new System.Drawing.Size(218, 6);
|
||||
this.mainMenuSeparator5.Size = new System.Drawing.Size(195, 6);
|
||||
//
|
||||
// findMainMenu
|
||||
//
|
||||
this.findMainMenu.Name = "findMainMenu";
|
||||
this.findMainMenu.ShortcutKeys = ((System.Windows.Forms.Keys)((System.Windows.Forms.Keys.Control | System.Windows.Forms.Keys.F)));
|
||||
this.findMainMenu.Size = new System.Drawing.Size(221, 22);
|
||||
this.findMainMenu.Size = new System.Drawing.Size(198, 22);
|
||||
this.findMainMenu.Text = "Find";
|
||||
this.findMainMenu.Click += new System.EventHandler(this.FindMainMenu_Click);
|
||||
//
|
||||
// mainMenuSeparator6
|
||||
//
|
||||
this.mainMenuSeparator6.Name = "mainMenuSeparator6";
|
||||
this.mainMenuSeparator6.Size = new System.Drawing.Size(218, 6);
|
||||
this.mainMenuSeparator6.Size = new System.Drawing.Size(195, 6);
|
||||
//
|
||||
// selectAllMainMenu
|
||||
//
|
||||
this.selectAllMainMenu.Name = "selectAllMainMenu";
|
||||
this.selectAllMainMenu.ShortcutKeyDisplayString = "";
|
||||
this.selectAllMainMenu.ShortcutKeys = ((System.Windows.Forms.Keys)((System.Windows.Forms.Keys.Control | System.Windows.Forms.Keys.A)));
|
||||
this.selectAllMainMenu.Size = new System.Drawing.Size(221, 22);
|
||||
this.selectAllMainMenu.Size = new System.Drawing.Size(198, 22);
|
||||
this.selectAllMainMenu.Text = "Select All";
|
||||
this.selectAllMainMenu.Click += new System.EventHandler(this.SelectAllMainMenu_Click);
|
||||
//
|
||||
|
|
@ -399,7 +414,7 @@ public void InitializeComponent()
|
|||
this.wordWrapMainMenu.CheckState = System.Windows.Forms.CheckState.Checked;
|
||||
this.wordWrapMainMenu.Name = "wordWrapMainMenu";
|
||||
this.wordWrapMainMenu.ShortcutKeys = ((System.Windows.Forms.Keys)((System.Windows.Forms.Keys.Control | System.Windows.Forms.Keys.W)));
|
||||
this.wordWrapMainMenu.Size = new System.Drawing.Size(221, 22);
|
||||
this.wordWrapMainMenu.Size = new System.Drawing.Size(198, 22);
|
||||
this.wordWrapMainMenu.Text = "Word Wrap";
|
||||
this.wordWrapMainMenu.Click += new System.EventHandler(this.WordWrapMainMenu_Click);
|
||||
//
|
||||
|
|
@ -408,20 +423,20 @@ public void InitializeComponent()
|
|||
this.readOnlyMainMenu.CheckOnClick = true;
|
||||
this.readOnlyMainMenu.Name = "readOnlyMainMenu";
|
||||
this.readOnlyMainMenu.ShortcutKeys = ((System.Windows.Forms.Keys)((System.Windows.Forms.Keys.Control | System.Windows.Forms.Keys.R)));
|
||||
this.readOnlyMainMenu.Size = new System.Drawing.Size(221, 22);
|
||||
this.readOnlyMainMenu.Size = new System.Drawing.Size(198, 22);
|
||||
this.readOnlyMainMenu.Text = "Readonly";
|
||||
this.readOnlyMainMenu.Click += new System.EventHandler(this.ReadOnlyMainMenu_Click);
|
||||
//
|
||||
// mainMenuSeparator7
|
||||
//
|
||||
this.mainMenuSeparator7.Name = "mainMenuSeparator7";
|
||||
this.mainMenuSeparator7.Size = new System.Drawing.Size(218, 6);
|
||||
this.mainMenuSeparator7.Size = new System.Drawing.Size(195, 6);
|
||||
//
|
||||
// clearMainMenu
|
||||
//
|
||||
this.clearMainMenu.Name = "clearMainMenu";
|
||||
this.clearMainMenu.ShortcutKeys = ((System.Windows.Forms.Keys)((System.Windows.Forms.Keys.Control | System.Windows.Forms.Keys.Delete)));
|
||||
this.clearMainMenu.Size = new System.Drawing.Size(221, 22);
|
||||
this.clearMainMenu.Size = new System.Drawing.Size(198, 22);
|
||||
this.clearMainMenu.Text = "Clear";
|
||||
this.clearMainMenu.Click += new System.EventHandler(this.ClearMainMenu_Click);
|
||||
//
|
||||
|
|
@ -437,13 +452,14 @@ public void InitializeComponent()
|
|||
this.toolsMainMenu.Name = "toolsMainMenu";
|
||||
this.toolsMainMenu.Size = new System.Drawing.Size(46, 24);
|
||||
this.toolsMainMenu.Text = "Tools";
|
||||
this.toolsMainMenu.DropDownOpening += new System.EventHandler(this.ToolsMainMenu_DropDownOpening);
|
||||
//
|
||||
// alwaysOnTopMainMenu
|
||||
//
|
||||
this.alwaysOnTopMainMenu.CheckOnClick = true;
|
||||
this.alwaysOnTopMainMenu.Name = "alwaysOnTopMainMenu";
|
||||
this.alwaysOnTopMainMenu.ShortcutKeys = ((System.Windows.Forms.Keys)((System.Windows.Forms.Keys.Control | System.Windows.Forms.Keys.T)));
|
||||
this.alwaysOnTopMainMenu.Size = new System.Drawing.Size(232, 22);
|
||||
this.alwaysOnTopMainMenu.Size = new System.Drawing.Size(241, 22);
|
||||
this.alwaysOnTopMainMenu.Text = "Always on Top";
|
||||
this.alwaysOnTopMainMenu.Click += new System.EventHandler(this.AlwaysOnTopMainMenu_Click);
|
||||
//
|
||||
|
|
@ -451,7 +467,7 @@ public void InitializeComponent()
|
|||
//
|
||||
this.passwordGeneratorMainMenu.Name = "passwordGeneratorMainMenu";
|
||||
this.passwordGeneratorMainMenu.ShortcutKeys = ((System.Windows.Forms.Keys)((System.Windows.Forms.Keys.Control | System.Windows.Forms.Keys.P)));
|
||||
this.passwordGeneratorMainMenu.Size = new System.Drawing.Size(232, 22);
|
||||
this.passwordGeneratorMainMenu.Size = new System.Drawing.Size(241, 22);
|
||||
this.passwordGeneratorMainMenu.Text = "Password Generator";
|
||||
this.passwordGeneratorMainMenu.Click += new System.EventHandler(this.PasswordGeneratorMainMenu_Click);
|
||||
//
|
||||
|
|
@ -788,9 +804,7 @@ public void InitializeComponent()
|
|||
this.toolbarPanel.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 100F));
|
||||
this.toolbarPanel.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Absolute, 18F));
|
||||
this.toolbarPanel.Controls.Add(this.closeToolbarButton, 13, 0);
|
||||
this.toolbarPanel.Controls.Add(this.lockToolbarButton, 9, 0);
|
||||
this.toolbarPanel.Controls.Add(this.newToolbarButton, 0, 0);
|
||||
this.toolbarPanel.Controls.Add(this.changePasswordToolbarButton, 8, 0);
|
||||
this.toolbarPanel.Controls.Add(this.openToolbarButton, 1, 0);
|
||||
this.toolbarPanel.Controls.Add(this.pasteToolbarButton, 7, 0);
|
||||
this.toolbarPanel.Controls.Add(this.saveToolbarButton, 2, 0);
|
||||
|
|
@ -798,8 +812,11 @@ public void InitializeComponent()
|
|||
this.toolbarPanel.Controls.Add(this.fileLocationToolbarButton, 3, 0);
|
||||
this.toolbarPanel.Controls.Add(this.cutToolbarButton, 5, 0);
|
||||
this.toolbarPanel.Controls.Add(this.deleteFileToolbarButton, 4, 0);
|
||||
this.toolbarPanel.Controls.Add(this.settingsToolbarButton, 11, 0);
|
||||
this.toolbarPanel.Controls.Add(this.alwaysOnTopToolbarButton, 10, 0);
|
||||
this.toolbarPanel.Controls.Add(this.tryToDecryptToolbarButton, 8, 0);
|
||||
this.toolbarPanel.Controls.Add(this.changePasswordToolbarButton, 9, 0);
|
||||
this.toolbarPanel.Controls.Add(this.lockToolbarButton, 10, 0);
|
||||
this.toolbarPanel.Controls.Add(this.alwaysOnTopToolbarButton, 11, 0);
|
||||
this.toolbarPanel.Controls.Add(this.settingsToolbarButton, 12, 0);
|
||||
this.toolbarPanel.Dock = System.Windows.Forms.DockStyle.Top;
|
||||
this.toolbarPanel.ForeColor = System.Drawing.SystemColors.Control;
|
||||
this.toolbarPanel.Location = new System.Drawing.Point(0, 24);
|
||||
|
|
@ -827,20 +844,6 @@ public void InitializeComponent()
|
|||
this.closeToolbarButton.MouseEnter += new System.EventHandler(this.CloseToolbarButton_MouseEnter);
|
||||
this.closeToolbarButton.MouseLeave += new System.EventHandler(this.CloseToolbarButton_MouseLeave);
|
||||
//
|
||||
// lockToolbarButton
|
||||
//
|
||||
this.lockToolbarButton.Cursor = System.Windows.Forms.Cursors.Hand;
|
||||
this.lockToolbarButton.Image = ((System.Drawing.Image)(resources.GetObject("lockToolbarButton.Image")));
|
||||
this.lockToolbarButton.ImeMode = System.Windows.Forms.ImeMode.NoControl;
|
||||
this.lockToolbarButton.Location = new System.Drawing.Point(219, 3);
|
||||
this.lockToolbarButton.Name = "lockToolbarButton";
|
||||
this.lockToolbarButton.Size = new System.Drawing.Size(16, 16);
|
||||
this.lockToolbarButton.SizeMode = System.Windows.Forms.PictureBoxSizeMode.AutoSize;
|
||||
this.lockToolbarButton.TabIndex = 15;
|
||||
this.lockToolbarButton.TabStop = false;
|
||||
this.toolTip.SetToolTip(this.lockToolbarButton, "Lock");
|
||||
this.lockToolbarButton.Click += new System.EventHandler(this.LockToolbarButton_Click);
|
||||
//
|
||||
// newToolbarButton
|
||||
//
|
||||
this.newToolbarButton.Cursor = System.Windows.Forms.Cursors.Hand;
|
||||
|
|
@ -855,20 +858,6 @@ public void InitializeComponent()
|
|||
this.toolTip.SetToolTip(this.newToolbarButton, "New");
|
||||
this.newToolbarButton.Click += new System.EventHandler(this.NewToolbarButton_Click);
|
||||
//
|
||||
// changePasswordToolbarButton
|
||||
//
|
||||
this.changePasswordToolbarButton.Cursor = System.Windows.Forms.Cursors.Hand;
|
||||
this.changePasswordToolbarButton.Image = ((System.Drawing.Image)(resources.GetObject("changePasswordToolbarButton.Image")));
|
||||
this.changePasswordToolbarButton.ImeMode = System.Windows.Forms.ImeMode.NoControl;
|
||||
this.changePasswordToolbarButton.Location = new System.Drawing.Point(195, 3);
|
||||
this.changePasswordToolbarButton.Name = "changePasswordToolbarButton";
|
||||
this.changePasswordToolbarButton.Size = new System.Drawing.Size(16, 16);
|
||||
this.changePasswordToolbarButton.SizeMode = System.Windows.Forms.PictureBoxSizeMode.AutoSize;
|
||||
this.changePasswordToolbarButton.TabIndex = 15;
|
||||
this.changePasswordToolbarButton.TabStop = false;
|
||||
this.toolTip.SetToolTip(this.changePasswordToolbarButton, "Change password");
|
||||
this.changePasswordToolbarButton.Click += new System.EventHandler(this.ChangePasswordToolbarButton_Click);
|
||||
//
|
||||
// openToolbarButton
|
||||
//
|
||||
this.openToolbarButton.Cursor = System.Windows.Forms.Cursors.Hand;
|
||||
|
|
@ -967,26 +956,53 @@ public void InitializeComponent()
|
|||
this.toolTip.SetToolTip(this.deleteFileToolbarButton, "Delete file");
|
||||
this.deleteFileToolbarButton.Click += new System.EventHandler(this.DeleteFileToolbarButton_Click);
|
||||
//
|
||||
// settingsToolbarButton
|
||||
// tryToDecryptToolbarButton
|
||||
//
|
||||
this.settingsToolbarButton.Cursor = System.Windows.Forms.Cursors.Hand;
|
||||
this.settingsToolbarButton.Image = ((System.Drawing.Image)(resources.GetObject("settingsToolbarButton.Image")));
|
||||
this.settingsToolbarButton.ImeMode = System.Windows.Forms.ImeMode.NoControl;
|
||||
this.settingsToolbarButton.Location = new System.Drawing.Point(267, 3);
|
||||
this.settingsToolbarButton.Name = "settingsToolbarButton";
|
||||
this.settingsToolbarButton.Size = new System.Drawing.Size(16, 16);
|
||||
this.settingsToolbarButton.SizeMode = System.Windows.Forms.PictureBoxSizeMode.AutoSize;
|
||||
this.settingsToolbarButton.TabIndex = 15;
|
||||
this.settingsToolbarButton.TabStop = false;
|
||||
this.toolTip.SetToolTip(this.settingsToolbarButton, "Settings");
|
||||
this.settingsToolbarButton.Click += new System.EventHandler(this.SettingsToolbarButton_Click);
|
||||
this.tryToDecryptToolbarButton.Cursor = System.Windows.Forms.Cursors.Hand;
|
||||
this.tryToDecryptToolbarButton.Image = global::Crypto_Notepad.Properties.Resources.lock_pencil;
|
||||
this.tryToDecryptToolbarButton.Location = new System.Drawing.Point(195, 3);
|
||||
this.tryToDecryptToolbarButton.Name = "tryToDecryptToolbarButton";
|
||||
this.tryToDecryptToolbarButton.Size = new System.Drawing.Size(16, 16);
|
||||
this.tryToDecryptToolbarButton.SizeMode = System.Windows.Forms.PictureBoxSizeMode.AutoSize;
|
||||
this.tryToDecryptToolbarButton.TabIndex = 18;
|
||||
this.tryToDecryptToolbarButton.TabStop = false;
|
||||
this.toolTip.SetToolTip(this.tryToDecryptToolbarButton, "Try to decrypt");
|
||||
this.tryToDecryptToolbarButton.Click += new System.EventHandler(this.TryToDecryptToolbarButton_Click);
|
||||
//
|
||||
// changePasswordToolbarButton
|
||||
//
|
||||
this.changePasswordToolbarButton.Cursor = System.Windows.Forms.Cursors.Hand;
|
||||
this.changePasswordToolbarButton.Image = ((System.Drawing.Image)(resources.GetObject("changePasswordToolbarButton.Image")));
|
||||
this.changePasswordToolbarButton.ImeMode = System.Windows.Forms.ImeMode.NoControl;
|
||||
this.changePasswordToolbarButton.Location = new System.Drawing.Point(219, 3);
|
||||
this.changePasswordToolbarButton.Name = "changePasswordToolbarButton";
|
||||
this.changePasswordToolbarButton.Size = new System.Drawing.Size(16, 16);
|
||||
this.changePasswordToolbarButton.SizeMode = System.Windows.Forms.PictureBoxSizeMode.AutoSize;
|
||||
this.changePasswordToolbarButton.TabIndex = 15;
|
||||
this.changePasswordToolbarButton.TabStop = false;
|
||||
this.toolTip.SetToolTip(this.changePasswordToolbarButton, "Change password");
|
||||
this.changePasswordToolbarButton.Click += new System.EventHandler(this.ChangePasswordToolbarButton_Click);
|
||||
//
|
||||
// lockToolbarButton
|
||||
//
|
||||
this.lockToolbarButton.Cursor = System.Windows.Forms.Cursors.Hand;
|
||||
this.lockToolbarButton.Image = ((System.Drawing.Image)(resources.GetObject("lockToolbarButton.Image")));
|
||||
this.lockToolbarButton.ImeMode = System.Windows.Forms.ImeMode.NoControl;
|
||||
this.lockToolbarButton.Location = new System.Drawing.Point(243, 3);
|
||||
this.lockToolbarButton.Name = "lockToolbarButton";
|
||||
this.lockToolbarButton.Size = new System.Drawing.Size(16, 16);
|
||||
this.lockToolbarButton.SizeMode = System.Windows.Forms.PictureBoxSizeMode.AutoSize;
|
||||
this.lockToolbarButton.TabIndex = 15;
|
||||
this.lockToolbarButton.TabStop = false;
|
||||
this.toolTip.SetToolTip(this.lockToolbarButton, "Lock");
|
||||
this.lockToolbarButton.Click += new System.EventHandler(this.LockToolbarButton_Click);
|
||||
//
|
||||
// alwaysOnTopToolbarButton
|
||||
//
|
||||
this.alwaysOnTopToolbarButton.Cursor = System.Windows.Forms.Cursors.Hand;
|
||||
this.alwaysOnTopToolbarButton.Image = global::Crypto_Notepad.Properties.Resources.applications_blue;
|
||||
this.alwaysOnTopToolbarButton.ImeMode = System.Windows.Forms.ImeMode.NoControl;
|
||||
this.alwaysOnTopToolbarButton.Location = new System.Drawing.Point(243, 3);
|
||||
this.alwaysOnTopToolbarButton.Location = new System.Drawing.Point(267, 3);
|
||||
this.alwaysOnTopToolbarButton.Name = "alwaysOnTopToolbarButton";
|
||||
this.alwaysOnTopToolbarButton.Size = new System.Drawing.Size(16, 16);
|
||||
this.alwaysOnTopToolbarButton.SizeMode = System.Windows.Forms.PictureBoxSizeMode.AutoSize;
|
||||
|
|
@ -995,6 +1011,20 @@ public void InitializeComponent()
|
|||
this.toolTip.SetToolTip(this.alwaysOnTopToolbarButton, "Always on top");
|
||||
this.alwaysOnTopToolbarButton.Click += new System.EventHandler(this.AlwaysOnTopToolbarButton_Click);
|
||||
//
|
||||
// settingsToolbarButton
|
||||
//
|
||||
this.settingsToolbarButton.Cursor = System.Windows.Forms.Cursors.Hand;
|
||||
this.settingsToolbarButton.Image = ((System.Drawing.Image)(resources.GetObject("settingsToolbarButton.Image")));
|
||||
this.settingsToolbarButton.ImeMode = System.Windows.Forms.ImeMode.NoControl;
|
||||
this.settingsToolbarButton.Location = new System.Drawing.Point(291, 3);
|
||||
this.settingsToolbarButton.Name = "settingsToolbarButton";
|
||||
this.settingsToolbarButton.Size = new System.Drawing.Size(16, 16);
|
||||
this.settingsToolbarButton.SizeMode = System.Windows.Forms.PictureBoxSizeMode.AutoSize;
|
||||
this.settingsToolbarButton.TabIndex = 15;
|
||||
this.settingsToolbarButton.TabStop = false;
|
||||
this.toolTip.SetToolTip(this.settingsToolbarButton, "Settings");
|
||||
this.settingsToolbarButton.Click += new System.EventHandler(this.SettingsToolbarButton_Click);
|
||||
//
|
||||
// statusPanel
|
||||
//
|
||||
this.statusPanel.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(240)))), ((int)(((byte)(240)))), ((int)(((byte)(240)))));
|
||||
|
|
@ -1231,7 +1261,8 @@ public void InitializeComponent()
|
|||
//
|
||||
this.toolTip.AutoPopDelay = 5000;
|
||||
this.toolTip.InitialDelay = 500;
|
||||
this.toolTip.ReshowDelay = 19000;
|
||||
this.toolTip.ReshowDelay = 500;
|
||||
this.toolTip.ShowAlways = true;
|
||||
//
|
||||
// richTextBoxPanel
|
||||
//
|
||||
|
|
@ -1311,9 +1342,7 @@ public void InitializeComponent()
|
|||
this.searchPanel.PerformLayout();
|
||||
this.toolbarPanel.ResumeLayout(false);
|
||||
this.toolbarPanel.PerformLayout();
|
||||
((System.ComponentModel.ISupportInitialize)(this.lockToolbarButton)).EndInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.newToolbarButton)).EndInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.changePasswordToolbarButton)).EndInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.openToolbarButton)).EndInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.pasteToolbarButton)).EndInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.saveToolbarButton)).EndInit();
|
||||
|
|
@ -1321,8 +1350,11 @@ public void InitializeComponent()
|
|||
((System.ComponentModel.ISupportInitialize)(this.fileLocationToolbarButton)).EndInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.cutToolbarButton)).EndInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.deleteFileToolbarButton)).EndInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.settingsToolbarButton)).EndInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.tryToDecryptToolbarButton)).EndInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.changePasswordToolbarButton)).EndInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.lockToolbarButton)).EndInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.alwaysOnTopToolbarButton)).EndInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.settingsToolbarButton)).EndInit();
|
||||
this.statusPanel.ResumeLayout(false);
|
||||
this.statusPanel.PerformLayout();
|
||||
this.trayMenu.ResumeLayout(false);
|
||||
|
|
@ -1439,5 +1471,7 @@ public void InitializeComponent()
|
|||
private System.Windows.Forms.ToolStripProgressBar statusPanelClipboardProgressBar;
|
||||
private System.Windows.Forms.Timer clipboardTimer;
|
||||
private System.Windows.Forms.ToolStripMenuItem clearClipboardMainMenu;
|
||||
private System.Windows.Forms.ToolStripMenuItem tryToDecryptMainMenu;
|
||||
private System.Windows.Forms.PictureBox tryToDecryptToolbarButton;
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -65,6 +65,7 @@ private async Task DecryptAES()
|
|||
if (!PublicVar.okPressed)
|
||||
{
|
||||
PublicVar.openFileName = Path.GetFileName(filePath);
|
||||
openFileDialog.FileName = filePath;
|
||||
mainMenu.Enabled = true;
|
||||
toolbarPanel.Enabled = true;
|
||||
richTextBox.ReadOnly = false;
|
||||
|
|
@ -156,46 +157,62 @@ private async Task DecryptAES()
|
|||
}
|
||||
}
|
||||
|
||||
private async void OpenAsotiations()
|
||||
private async void TryToDecryptMessage(string openedFilePath)
|
||||
{
|
||||
string fileExtension = Path.GetExtension(args[1]);
|
||||
PublicVar.openFileName = Path.GetFileName(args[1]);
|
||||
openFileDialog.FileName = Path.GetFullPath(args[1]);
|
||||
if (fileExtension != ".cnp")
|
||||
if (Visible)
|
||||
{
|
||||
DialogResult res = MessageBox.Show(this, "Try to decrypt \"" + PublicVar.openFileName + "\" file?", PublicVar.appName,
|
||||
MessageBoxButtons.YesNo, MessageBoxIcon.Information);
|
||||
if (res == DialogResult.No)
|
||||
PublicVar.messageBoxCenterParent = true;
|
||||
}
|
||||
|
||||
PublicVar.password.Set(null);
|
||||
|
||||
if (Path.GetExtension(openedFilePath) != ".cnp")
|
||||
{
|
||||
if (settings.openTxtUnencrypted)
|
||||
{
|
||||
richTextBox.Text = File.ReadAllText(args[1]); ;
|
||||
filePath = args[1];
|
||||
Text = Path.GetFileName(args[1]) + " – " + PublicVar.appName;
|
||||
richTextBox.Text = File.ReadAllText(openedFilePath);
|
||||
Text = Path.GetFileName(openedFilePath) + " – " + PublicVar.appName;
|
||||
filePath = openedFilePath;
|
||||
StatusPanelFileInfo();
|
||||
return;
|
||||
}
|
||||
else
|
||||
{
|
||||
using (new CenterWinDialog(this))
|
||||
{
|
||||
DialogResult res = MessageBox.Show(this, "Try to decrypt \"" + PublicVar.openFileName + "\" file?", PublicVar.appName,
|
||||
MessageBoxButtons.YesNo, MessageBoxIcon.Information);
|
||||
if (res == DialogResult.No)
|
||||
{
|
||||
richTextBox.Text = File.ReadAllText(openedFilePath);
|
||||
Text = Path.GetFileName(openedFilePath) + " – " + PublicVar.appName;
|
||||
filePath = openedFilePath;
|
||||
StatusPanelFileInfo();
|
||||
}
|
||||
else
|
||||
{
|
||||
await DecryptAES();
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
await DecryptAES();
|
||||
else
|
||||
{
|
||||
await DecryptAES();
|
||||
}
|
||||
}
|
||||
|
||||
private async void SendTo()
|
||||
private void OpenAsotiations()
|
||||
{
|
||||
PublicVar.openFileName = Path.GetFileName(args[1]);
|
||||
openFileDialog.FileName = Path.GetFullPath(args[1]);
|
||||
TryToDecryptMessage(args[1]);
|
||||
}
|
||||
|
||||
private void SendTo()
|
||||
{
|
||||
string fileExtension = Path.GetExtension(argsPath);
|
||||
openFileDialog.FileName = Path.GetFullPath(argsPath);
|
||||
PublicVar.openFileName = Path.GetFileName(argsPath);
|
||||
if (fileExtension != ".cnp")
|
||||
{
|
||||
DialogResult res = MessageBox.Show(this, "Try to decrypt \"" + PublicVar.openFileName + "\" file?", PublicVar.appName,
|
||||
MessageBoxButtons.YesNo, MessageBoxIcon.Information);
|
||||
if (res == DialogResult.No)
|
||||
{
|
||||
richTextBox.Text = File.ReadAllText(argsPath);
|
||||
filePath = argsPath;
|
||||
Text = Path.GetFileName(argsPath) + " – " + PublicVar.appName;
|
||||
StatusPanelFileInfo();
|
||||
return;
|
||||
}
|
||||
}
|
||||
await DecryptAES();
|
||||
openFileDialog.FileName = Path.GetFullPath(argsPath);
|
||||
TryToDecryptMessage(argsPath);
|
||||
}
|
||||
|
||||
private async void ContextMenuEncryptReplace()
|
||||
|
|
@ -605,6 +622,7 @@ public void MenuIcons(bool menuIcons)
|
|||
saveAsMainMenu.Image = Resources.disks_black;
|
||||
openFileLocationMainMenu.Image = Resources.folder_horizontal;
|
||||
deleteFileMainMenu.Image = Resources.document_minus;
|
||||
tryToDecryptMainMenu.Image = Resources.lock_pencil;
|
||||
exitMainMenu.Image = Resources.cross_button;
|
||||
undoMainMenu.Image = Resources.arrow_left;
|
||||
redoMainMenu.Image = Resources.arrow_right;
|
||||
|
|
@ -652,6 +670,7 @@ protected internal void ShortcutKeys(bool shortcutKeys)
|
|||
saveCloseFileMainMenu.ShortcutKeys = Keys.Alt | Keys.Shift | Keys.S;
|
||||
openFileLocationMainMenu.ShortcutKeys = Keys.Control | Keys.Shift | Keys.O;
|
||||
deleteFileMainMenu.ShortcutKeys = Keys.Control | Keys.Shift | Keys.D;
|
||||
tryToDecryptMainMenu.ShortcutKeys = Keys.Control | Keys.Shift | Keys.E;
|
||||
exitMainMenu.ShortcutKeys = Keys.Control | Keys.Q;
|
||||
undoMainMenu.ShortcutKeys = Keys.Control | Keys.Z;
|
||||
redoMainMenu.ShortcutKeys = Keys.Control | Keys.Y;
|
||||
|
|
@ -683,6 +702,7 @@ protected internal void ShortcutKeys(bool shortcutKeys)
|
|||
saveCloseFileMainMenu.ShortcutKeys = Keys.None;
|
||||
openFileLocationMainMenu.ShortcutKeys = Keys.None;
|
||||
deleteFileMainMenu.ShortcutKeys = Keys.None;
|
||||
tryToDecryptMainMenu.ShortcutKeys = Keys.None;
|
||||
exitMainMenu.ShortcutKeys = Keys.None;
|
||||
undoMainMenu.ShortcutKeys = Keys.None;
|
||||
redoMainMenu.ShortcutKeys = Keys.None;
|
||||
|
|
@ -721,6 +741,7 @@ public void ToolbarIcons(bool oldIcons)
|
|||
pasteToolbarButton.Image = Resources.old_paste_plain;
|
||||
changePasswordToolbarButton.Image = Resources.old_page_white_key;
|
||||
lockToolbarButton.Image = Resources.old_lock;
|
||||
tryToDecryptToolbarButton.Image = Resources.old_lock_edit;
|
||||
settingsToolbarButton.Image = Resources.old_setting_tools;
|
||||
alwaysOnTopToolbarButton.Image = Resources.old_application_double;
|
||||
}
|
||||
|
|
@ -736,6 +757,7 @@ public void ToolbarIcons(bool oldIcons)
|
|||
pasteToolbarButton.Image = Resources.clipboard;
|
||||
changePasswordToolbarButton.Image = Resources.key;
|
||||
lockToolbarButton.Image = Resources.lock_warning;
|
||||
tryToDecryptToolbarButton.Image = Resources.lock_pencil;
|
||||
settingsToolbarButton.Image = Resources.gear;
|
||||
alwaysOnTopToolbarButton.Image = Resources.applications_blue;
|
||||
}
|
||||
|
|
@ -972,9 +994,11 @@ private async void MainWindow_Load(object sender, EventArgs e)
|
|||
}
|
||||
SendTo();
|
||||
}
|
||||
if (args.Contains("/o")) /*decrypt & open cnp*/
|
||||
if (args.Contains("/o")) /*decrypt & open*/
|
||||
{
|
||||
OpenAsotiations();
|
||||
PublicVar.openFileName = Path.GetFileName(args[1]);
|
||||
openFileDialog.FileName = Path.GetFullPath(args[1]);
|
||||
await DecryptAES();
|
||||
}
|
||||
if (args.Contains("/er")) /*encrypt and replace*/
|
||||
{
|
||||
|
|
@ -1046,7 +1070,7 @@ private void RichTextBox_LinkClicked(object sender, LinkClickedEventArgs e)
|
|||
}
|
||||
}
|
||||
|
||||
private async void RichTextBox_DragDrop(object sender, DragEventArgs e)
|
||||
private void RichTextBox_DragDrop(object sender, DragEventArgs e)
|
||||
{
|
||||
SaveConfirm();
|
||||
if (cancelPressed)
|
||||
|
|
@ -1062,27 +1086,7 @@ private async void RichTextBox_DragDrop(object sender, DragEventArgs e)
|
|||
{
|
||||
if (fileName is string[] list && !string.IsNullOrWhiteSpace(list[0]))
|
||||
{
|
||||
if (!openFileDialog.FileName.Contains(".cnp"))
|
||||
{
|
||||
if (Visible)
|
||||
{
|
||||
PublicVar.messageBoxCenterParent = true;
|
||||
}
|
||||
using (new CenterWinDialog(this))
|
||||
{
|
||||
DialogResult res = MessageBox.Show(this, "Try to decrypt \"" + PublicVar.openFileName + "\" file?", PublicVar.appName,
|
||||
MessageBoxButtons.YesNo, MessageBoxIcon.Information);
|
||||
if (res == DialogResult.No)
|
||||
{
|
||||
richTextBox.Text = File.ReadAllText(openFileDialog.FileName);
|
||||
Text = Path.GetFileName(openFileDialog.FileName) + " – " + PublicVar.appName;
|
||||
filePath = openFileDialog.FileName;
|
||||
StatusPanelFileInfo();
|
||||
return;
|
||||
}
|
||||
}
|
||||
}
|
||||
await DecryptAES();
|
||||
TryToDecryptMessage(openFileDialog.FileName);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
@ -1204,7 +1208,7 @@ private void NewMainMenu_Click(object sender, EventArgs e)
|
|||
TypedPassword.Value = null;
|
||||
}
|
||||
|
||||
private async void OpenMainMenu_Click(object sender, EventArgs e)
|
||||
private void OpenMainMenu_Click(object sender, EventArgs e)
|
||||
{
|
||||
SaveConfirm();
|
||||
if (cancelPressed)
|
||||
|
|
@ -1216,27 +1220,7 @@ private async void OpenMainMenu_Click(object sender, EventArgs e)
|
|||
if (openFileDialog.ShowDialog() != DialogResult.OK) return;
|
||||
{
|
||||
PublicVar.openFileName = Path.GetFileName(openFileDialog.FileName);
|
||||
if (!openFileDialog.FileName.Contains(".cnp"))
|
||||
{
|
||||
if (Visible)
|
||||
{
|
||||
PublicVar.messageBoxCenterParent = true;
|
||||
}
|
||||
using (new CenterWinDialog(this))
|
||||
{
|
||||
DialogResult res = MessageBox.Show(this, "Try to decrypt \"" + PublicVar.openFileName + "\" file?", PublicVar.appName,
|
||||
MessageBoxButtons.YesNo, MessageBoxIcon.Information);
|
||||
if (res == DialogResult.No)
|
||||
{
|
||||
richTextBox.Text = File.ReadAllText(openFileDialog.FileName);
|
||||
Text = Path.GetFileName(openFileDialog.FileName) + " – " + PublicVar.appName;
|
||||
filePath = openFileDialog.FileName;
|
||||
StatusPanelFileInfo();
|
||||
return;
|
||||
}
|
||||
}
|
||||
}
|
||||
await DecryptAES();
|
||||
TryToDecryptMessage(openFileDialog.FileName);
|
||||
richTextBox.Modified = false;
|
||||
}
|
||||
}
|
||||
|
|
@ -1332,11 +1316,6 @@ private async void SaveAsMainMenu_Click(object sender, EventArgs e)
|
|||
|
||||
private async void SaveCloseFileMainMenu_Click(object sender, EventArgs e)
|
||||
{
|
||||
if (string.IsNullOrEmpty(filePath))
|
||||
{
|
||||
return;
|
||||
}
|
||||
|
||||
mainMenu.Enabled = false;
|
||||
toolbarPanel.Enabled = false;
|
||||
richTextBox.SuspendDrawing();
|
||||
|
|
@ -1399,6 +1378,14 @@ private void DeleteFileToolStripMenuItem_Click(object sender, EventArgs e)
|
|||
}
|
||||
}
|
||||
|
||||
private async void TryToDecryptMainMenu_Click(object sender, EventArgs e)
|
||||
{
|
||||
if (!string.IsNullOrEmpty(filePath))
|
||||
{
|
||||
await DecryptAES();
|
||||
}
|
||||
}
|
||||
|
||||
private void ExitMainMenu_Click(object sender, EventArgs e)
|
||||
{
|
||||
Application.Exit();
|
||||
|
|
@ -1407,6 +1394,43 @@ private void ExitMainMenu_Click(object sender, EventArgs e)
|
|||
|
||||
/*Edit*/
|
||||
private void EditMainMenu_DropDownOpened(object sender, EventArgs e)
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
private void FileMainMenu_DropDownOpening(object sender, EventArgs e)
|
||||
{
|
||||
if (!string.IsNullOrEmpty(filePath))
|
||||
{
|
||||
deleteFileMainMenu.Enabled = true;
|
||||
openFileLocationMainMenu.Enabled = true;
|
||||
}
|
||||
else
|
||||
{
|
||||
deleteFileMainMenu.Enabled = false;
|
||||
openFileLocationMainMenu.Enabled = false;
|
||||
}
|
||||
|
||||
if (!string.IsNullOrEmpty(PublicVar.password.Get()) && !string.IsNullOrEmpty(filePath))
|
||||
{
|
||||
saveCloseFileMainMenu.Enabled = true;
|
||||
}
|
||||
else
|
||||
{
|
||||
saveCloseFileMainMenu.Enabled = false;
|
||||
}
|
||||
|
||||
if (string.IsNullOrEmpty(PublicVar.password.Get()) && richTextBox.TextLength > 0 && !string.IsNullOrEmpty(filePath))
|
||||
{
|
||||
tryToDecryptMainMenu.Enabled = true;
|
||||
}
|
||||
else
|
||||
{
|
||||
tryToDecryptMainMenu.Enabled = false;
|
||||
}
|
||||
}
|
||||
|
||||
private void EditMainMenu_DropDownOpening(object sender, EventArgs e)
|
||||
{
|
||||
if (richTextBox.SelectionLength != 0)
|
||||
{
|
||||
|
|
@ -1422,6 +1446,20 @@ private void EditMainMenu_DropDownOpened(object sender, EventArgs e)
|
|||
}
|
||||
}
|
||||
|
||||
private void ToolsMainMenu_DropDownOpening(object sender, EventArgs e)
|
||||
{
|
||||
if (string.IsNullOrEmpty(PublicVar.password.Get()))
|
||||
{
|
||||
changePasswordMainMenu.Enabled = false;
|
||||
lockMainMenu.Enabled = false;
|
||||
}
|
||||
else
|
||||
{
|
||||
changePasswordMainMenu.Enabled = true;
|
||||
lockMainMenu.Enabled = true;
|
||||
}
|
||||
}
|
||||
|
||||
private void UndoMainMenu_Click(object sender, EventArgs e)
|
||||
{
|
||||
richTextBox.Undo();
|
||||
|
|
@ -1769,6 +1807,11 @@ private void LockToolbarButton_Click(object sender, EventArgs e)
|
|||
LockMainMenu_Click(this, new EventArgs());
|
||||
}
|
||||
|
||||
private void TryToDecryptToolbarButton_Click(object sender, EventArgs e)
|
||||
{
|
||||
TryToDecryptMainMenu_Click(this, new EventArgs());
|
||||
}
|
||||
|
||||
private void CloseToolbarButton_Click(object sender, EventArgs e)
|
||||
{
|
||||
toolbarPanel.Visible = false;
|
||||
|
|
@ -1830,6 +1873,16 @@ private void ToolbarPanel_MouseEnter(object sender, EventArgs e)
|
|||
changePasswordToolbarButton.Enabled = true;
|
||||
lockToolbarButton.Enabled = true;
|
||||
}
|
||||
|
||||
if (string.IsNullOrEmpty(PublicVar.password.Get()) && richTextBox.TextLength > 0 && !string.IsNullOrEmpty(filePath))
|
||||
{
|
||||
tryToDecryptToolbarButton.Enabled = true;
|
||||
}
|
||||
else
|
||||
{
|
||||
tryToDecryptToolbarButton.Enabled = false;
|
||||
}
|
||||
|
||||
}
|
||||
#endregion
|
||||
|
||||
|
|
@ -2073,6 +2126,7 @@ private void VariablesMainMenu_Click(object sender, EventArgs e)
|
|||
string formattedTime = DateTime.Now.ToString("yyyy.MM.dd hh:mm:ss");
|
||||
Debug.WriteLine("\nTime: " + formattedTime);
|
||||
Debug.WriteLine("PublicVar.openFileName: " + PublicVar.openFileName);
|
||||
Debug.WriteLine("openFileDialog.FileName " + openFileDialog.FileName);
|
||||
Debug.WriteLine("filePath: " + filePath);
|
||||
Debug.WriteLine("encryptionKey: " + PublicVar.password.Get());
|
||||
Debug.WriteLine("TypedPassword: " + TypedPassword.Value);
|
||||
|
|
|
|||
|
|
@ -130,24 +130,6 @@
|
|||
<value>260, 17</value>
|
||||
</metadata>
|
||||
<assembly alias="System.Drawing" name="System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" />
|
||||
<data name="lockToolbarButton.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
|
||||
<value>
|
||||
iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABGdBTUEAALGPC/xhBQAAABl0RVh0U29m
|
||||
dHdhcmUAQWRvYmUgSW1hZ2VSZWFkeXHJZTwAAAIdSURBVDhPlZPdS5NRHMd/5zkQeNtFF0H9A9aVBF12
|
||||
4U10ZXCKDFaIyjaqi0HT1rTFtDfFFAdlU9LMqJVrs1Zt2laDqIYtTXMXMXvDlwoqoosw6tf5Pu4RE4N1
|
||||
4MP5vX2/5zzPw0NYmzcKOllp0K16g+54JCV9sizlky7N6QIu1NDDDGahMZcltIgdkVvSrRuCn541vh2P
|
||||
OT8CxKiht3wWWgq5jJV45p54Z4fObH15aq/oAIhRQ2/FLFHELZfocRjg3OzTpl+BmjXxtn2CAGLU0MNM
|
||||
+LCkmwXowXFpktJE6yS17xf9rxJuDlSLoQt2vBttoOP8SD2jh1OHGyXdP7bIcgNHokGePbGHro6Gavh8
|
||||
rRjsdohr/t2UQRzr2MHoRdxGUBscXM2ghT8M8MLrbv6eC/DnbCvPP/Zz7raNpxM2nk/b+FvGxj+nqlgb
|
||||
tK9q8Humj39MdfLXbAvPPfLzm6SHn19XnIsqfh9X/OWh4oVx278NMqFazt6w84vIAZ6IHuKxsJNTPYrT
|
||||
vYozA4ontNn0vcq/DYYbpEVbsY9w1yM740clAep3GhbBYm/Qazcu9unPCah5p2FxqdgbNFUYl5srtEZD
|
||||
QgiLsFKK811lJohBV125mWO3aiFFoxoqXbf4O1gGI/xuO3O+nL1en0lysMrMsVs1zMBgSazXWs0m3za6
|
||||
goY2mgS7SsUYcuxWrXAyZkLQFLRUooHf+v9Ea6jkD7YQxEPE9EcrAAAAAElFTkSuQmCC
|
||||
</value>
|
||||
</data>
|
||||
<metadata name="toolTip.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
|
||||
<value>969, 17</value>
|
||||
</metadata>
|
||||
<data name="newToolbarButton.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
|
||||
<value>
|
||||
iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABGdBTUEAALGPC/xhBQAAABl0RVh0U29m
|
||||
|
|
@ -163,21 +145,9 @@
|
|||
ls8mjzluOrP5k2QAWNYAQ/B729ITVjwAAAAASUVORK5CYII=
|
||||
</value>
|
||||
</data>
|
||||
<data name="changePasswordToolbarButton.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
|
||||
<value>
|
||||
iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABGdBTUEAALGPC/xhBQAAABl0RVh0U29m
|
||||
dHdhcmUAQWRvYmUgSW1hZ2VSZWFkeXHJZTwAAAIfSURBVDhPfYxdSJNhFMfPu/VJhd4E5UVEETFyk+gq
|
||||
gkUX3qjhjbVGFJaQbaBUxIoym81JgX0oY2RQ8I4JkzSdUpk4gq0ZW28vpKgwWh/gvFn2QeWqi07nyFbP
|
||||
08Ue+PE85zn//w8Q8S+PLxoh0mpUnrqNZsJBePLw28w7zogdaaCl8qTFWJPwm9QFvTX9Yfo6zmtuzDxr
|
||||
Sid821TecUbsSIIhl6Ei1rU9+PP9XZxQK2d6L5SMBc6vGRv3mWa+vjqH0ZtbgpwRO5IgdMpw+stsZ/bF
|
||||
/cp0sAOu9F6DjQy/nwdM6U9JZ5YzYkcS3HMaun9nVAzfLtVDtyAhMuRfrf+aakbOiB1J4GtQvLm3Pbkf
|
||||
b+7g95QfM8k2TEWacS7mxM9JB3576chxRuxIgs6jSnU8WKctUvmjdhWnhhsxHqjB2cH9uDBxHKM9ezTO
|
||||
iB1J4LXDyvZD0BS+YY2/i7VkU+NnUH9wGCcHbdmBjvI47zgjdv4XQNtBWO4+APuI/ozmwcmRY8hv/uMd
|
||||
Z8SONOQFQGEmzILp0RMsCPMf74oK8sUCD1nAN2HhPxZ4bEUEl+tA5BELXkddi/wu/NfvLSLgY98N4Kpe
|
||||
oo8FfBOWs1UAm9cvReSONORPbQXASSuoLJhLXkKHFQL8VzhSRxoAFGIFse7ILgjN616ku8+6FWrpr4RY
|
||||
RRikjjTQklhLlO0sA7vNDBHLBqineQexiSgllv3rIPwBd+IjYDkT9I0AAAAASUVORK5CYII=
|
||||
</value>
|
||||
</data>
|
||||
<metadata name="toolTip.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
|
||||
<value>969, 17</value>
|
||||
</metadata>
|
||||
<data name="openToolbarButton.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
|
||||
<value>
|
||||
iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABGdBTUEAALGPC/xhBQAAABl0RVh0U29m
|
||||
|
|
@ -272,6 +242,36 @@
|
|||
IwpvUR5KXgTlksvJSQ6azRrnFgsfGAyPEr46Itqn+s5OarbbgQ8vrShTlEtOJJQaH//GnkgwBNVardRg
|
||||
sy1DgCqXnDkcvCsSsCd4KypC6xLexARSBqGq2mrdKOW1wnWwEywWIvxivJOMfKMXmVKWjEKToa5uobKx
|
||||
ces/oBcZIjJ+Aga8g1BwXIV5AAAAAElFTkSuQmCC
|
||||
</value>
|
||||
</data>
|
||||
<data name="changePasswordToolbarButton.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
|
||||
<value>
|
||||
iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABGdBTUEAALGPC/xhBQAAABl0RVh0U29m
|
||||
dHdhcmUAQWRvYmUgSW1hZ2VSZWFkeXHJZTwAAAIfSURBVDhPfYxdSJNhFMfPu/VJhd4E5UVEETFyk+gq
|
||||
gkUX3qjhjbVGFJaQbaBUxIoym81JgX0oY2RQ8I4JkzSdUpk4gq0ZW28vpKgwWh/gvFn2QeWqi07nyFbP
|
||||
08Ue+PE85zn//w8Q8S+PLxoh0mpUnrqNZsJBePLw28w7zogdaaCl8qTFWJPwm9QFvTX9Yfo6zmtuzDxr
|
||||
Sid821TecUbsSIIhl6Ei1rU9+PP9XZxQK2d6L5SMBc6vGRv3mWa+vjqH0ZtbgpwRO5IgdMpw+stsZ/bF
|
||||
/cp0sAOu9F6DjQy/nwdM6U9JZ5YzYkcS3HMaun9nVAzfLtVDtyAhMuRfrf+aakbOiB1J4GtQvLm3Pbkf
|
||||
b+7g95QfM8k2TEWacS7mxM9JB3576chxRuxIgs6jSnU8WKctUvmjdhWnhhsxHqjB2cH9uDBxHKM9ezTO
|
||||
iB1J4LXDyvZD0BS+YY2/i7VkU+NnUH9wGCcHbdmBjvI47zgjdv4XQNtBWO4+APuI/ozmwcmRY8hv/uMd
|
||||
Z8SONOQFQGEmzILp0RMsCPMf74oK8sUCD1nAN2HhPxZ4bEUEl+tA5BELXkddi/wu/NfvLSLgY98N4Kpe
|
||||
oo8FfBOWs1UAm9cvReSONORPbQXASSuoLJhLXkKHFQL8VzhSRxoAFGIFse7ILgjN616ku8+6FWrpr4RY
|
||||
RRikjjTQklhLlO0sA7vNDBHLBqineQexiSgllv3rIPwBd+IjYDkT9I0AAAAASUVORK5CYII=
|
||||
</value>
|
||||
</data>
|
||||
<data name="lockToolbarButton.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
|
||||
<value>
|
||||
iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABGdBTUEAALGPC/xhBQAAABl0RVh0U29m
|
||||
dHdhcmUAQWRvYmUgSW1hZ2VSZWFkeXHJZTwAAAIdSURBVDhPlZPdS5NRHMd/5zkQeNtFF0H9A9aVBF12
|
||||
4U10ZXCKDFaIyjaqi0HT1rTFtDfFFAdlU9LMqJVrs1Zt2laDqIYtTXMXMXvDlwoqoosw6tf5Pu4RE4N1
|
||||
4MP5vX2/5zzPw0NYmzcKOllp0K16g+54JCV9sizlky7N6QIu1NDDDGahMZcltIgdkVvSrRuCn541vh2P
|
||||
OT8CxKiht3wWWgq5jJV45p54Z4fObH15aq/oAIhRQ2/FLFHELZfocRjg3OzTpl+BmjXxtn2CAGLU0MNM
|
||||
+LCkmwXowXFpktJE6yS17xf9rxJuDlSLoQt2vBttoOP8SD2jh1OHGyXdP7bIcgNHokGePbGHro6Gavh8
|
||||
rRjsdohr/t2UQRzr2MHoRdxGUBscXM2ghT8M8MLrbv6eC/DnbCvPP/Zz7raNpxM2nk/b+FvGxj+nqlgb
|
||||
tK9q8Humj39MdfLXbAvPPfLzm6SHn19XnIsqfh9X/OWh4oVx278NMqFazt6w84vIAZ6IHuKxsJNTPYrT
|
||||
vYozA4ontNn0vcq/DYYbpEVbsY9w1yM740clAep3GhbBYm/Qazcu9unPCah5p2FxqdgbNFUYl5srtEZD
|
||||
QgiLsFKK811lJohBV125mWO3aiFFoxoqXbf4O1gGI/xuO3O+nL1en0lysMrMsVs1zMBgSazXWs0m3za6
|
||||
goY2mgS7SsUYcuxWrXAyZkLQFLRUooHf+v9Ea6jkD7YQxEPE9EcrAAAAAElFTkSuQmCC
|
||||
</value>
|
||||
</data>
|
||||
<data name="settingsToolbarButton.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
|
||||
|
|
|
|||
77
Crypto Notepad/Forms/SettingsForm.Designer.cs
generated
77
Crypto Notepad/Forms/SettingsForm.Designer.cs
generated
|
|
@ -65,6 +65,7 @@ private void InitializeComponent()
|
|||
this.statusPanelBackColor = new System.Windows.Forms.Panel();
|
||||
this.statusPanelFontColor = new System.Windows.Forms.Panel();
|
||||
this.mainMenuGroupBox = new System.Windows.Forms.GroupBox();
|
||||
this.shortcutKeysCheckBox = new System.Windows.Forms.CheckBox();
|
||||
this.mainMenuCheckBox = new System.Windows.Forms.CheckBox();
|
||||
this.menuIconsCheckBox = new System.Windows.Forms.CheckBox();
|
||||
this.toolbarGroupBox = new System.Windows.Forms.GroupBox();
|
||||
|
|
@ -108,7 +109,7 @@ private void InitializeComponent()
|
|||
this.settingsNavigation = new System.Windows.Forms.ListBox();
|
||||
this.fontDialog = new System.Windows.Forms.FontDialog();
|
||||
this.settingsToolTip = new System.Windows.Forms.ToolTip(this.components);
|
||||
this.shortcutKeysCheckBox = new System.Windows.Forms.CheckBox();
|
||||
this.openTxtUnencryptedCheckBox = new System.Windows.Forms.CheckBox();
|
||||
this.settingsTabControl.SuspendLayout();
|
||||
this.generalTabPage.SuspendLayout();
|
||||
this.integrationGroupBox.SuspendLayout();
|
||||
|
|
@ -157,12 +158,12 @@ private void InitializeComponent()
|
|||
//
|
||||
this.generalTabPage.BackColor = System.Drawing.SystemColors.Window;
|
||||
this.generalTabPage.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
|
||||
this.generalTabPage.Controls.Add(this.autoLockGroupBox);
|
||||
this.generalTabPage.Controls.Add(this.integrationGroupBox);
|
||||
this.generalTabPage.Controls.Add(this.applicationGroupBox);
|
||||
this.generalTabPage.Controls.Add(this.autoLockGroupBox);
|
||||
this.generalTabPage.Location = new System.Drawing.Point(4, 24);
|
||||
this.generalTabPage.Name = "generalTabPage";
|
||||
this.generalTabPage.Padding = new System.Windows.Forms.Padding(3);
|
||||
this.generalTabPage.Padding = new System.Windows.Forms.Padding(6, 6, 6, 3);
|
||||
this.generalTabPage.Size = new System.Drawing.Size(326, 291);
|
||||
this.generalTabPage.TabIndex = 2;
|
||||
this.generalTabPage.Text = "gen";
|
||||
|
|
@ -172,7 +173,8 @@ private void InitializeComponent()
|
|||
this.integrationGroupBox.Controls.Add(this.integrateCheckBox);
|
||||
this.integrationGroupBox.Controls.Add(this.associateCheckBox);
|
||||
this.integrationGroupBox.Controls.Add(this.sendToCheckBox);
|
||||
this.integrationGroupBox.Location = new System.Drawing.Point(6, 109);
|
||||
this.integrationGroupBox.Dock = System.Windows.Forms.DockStyle.Top;
|
||||
this.integrationGroupBox.Location = new System.Drawing.Point(6, 128);
|
||||
this.integrationGroupBox.Name = "integrationGroupBox";
|
||||
this.integrationGroupBox.Size = new System.Drawing.Size(312, 102);
|
||||
this.integrationGroupBox.TabIndex = 2;
|
||||
|
|
@ -214,14 +216,16 @@ private void InitializeComponent()
|
|||
//
|
||||
// applicationGroupBox
|
||||
//
|
||||
this.applicationGroupBox.Controls.Add(this.openTxtUnencryptedCheckBox);
|
||||
this.applicationGroupBox.Controls.Add(this.clearClipboardCheckBox);
|
||||
this.applicationGroupBox.Controls.Add(this.autoCheckUpdatesCheckBox);
|
||||
this.applicationGroupBox.Controls.Add(this.singleInstanceCheckBox);
|
||||
this.applicationGroupBox.Controls.Add(this.closeToTrayCheckBox);
|
||||
this.applicationGroupBox.Controls.Add(this.minimizeToTrayCheckBox);
|
||||
this.applicationGroupBox.Dock = System.Windows.Forms.DockStyle.Top;
|
||||
this.applicationGroupBox.Location = new System.Drawing.Point(6, 6);
|
||||
this.applicationGroupBox.Name = "applicationGroupBox";
|
||||
this.applicationGroupBox.Size = new System.Drawing.Size(312, 97);
|
||||
this.applicationGroupBox.Size = new System.Drawing.Size(312, 122);
|
||||
this.applicationGroupBox.TabIndex = 1;
|
||||
this.applicationGroupBox.TabStop = false;
|
||||
this.applicationGroupBox.Text = "Application";
|
||||
|
|
@ -229,7 +233,7 @@ private void InitializeComponent()
|
|||
// clearClipboardCheckBox
|
||||
//
|
||||
this.clearClipboardCheckBox.AutoSize = true;
|
||||
this.clearClipboardCheckBox.Location = new System.Drawing.Point(6, 72);
|
||||
this.clearClipboardCheckBox.Location = new System.Drawing.Point(6, 97);
|
||||
this.clearClipboardCheckBox.Name = "clearClipboardCheckBox";
|
||||
this.clearClipboardCheckBox.Size = new System.Drawing.Size(168, 19);
|
||||
this.clearClipboardCheckBox.TabIndex = 4;
|
||||
|
|
@ -287,7 +291,8 @@ private void InitializeComponent()
|
|||
this.autoLockGroupBox.Controls.Add(this.autoLockOnMinimizeCheckBox);
|
||||
this.autoLockGroupBox.Controls.Add(this.lockTimeoutTextBox);
|
||||
this.autoLockGroupBox.Controls.Add(this.lockTimeoutLabel);
|
||||
this.autoLockGroupBox.Location = new System.Drawing.Point(6, 217);
|
||||
this.autoLockGroupBox.Dock = System.Windows.Forms.DockStyle.Top;
|
||||
this.autoLockGroupBox.Location = new System.Drawing.Point(6, 230);
|
||||
this.autoLockGroupBox.Name = "autoLockGroupBox";
|
||||
this.autoLockGroupBox.Size = new System.Drawing.Size(312, 75);
|
||||
this.autoLockGroupBox.TabIndex = 3;
|
||||
|
|
@ -342,12 +347,12 @@ private void InitializeComponent()
|
|||
this.interfaceTabPage.BackColor = System.Drawing.SystemColors.Window;
|
||||
this.interfaceTabPage.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
|
||||
this.interfaceTabPage.Controls.Add(this.statusPanelGroupBox);
|
||||
this.interfaceTabPage.Controls.Add(this.mainMenuGroupBox);
|
||||
this.interfaceTabPage.Controls.Add(this.toolbarGroupBox);
|
||||
this.interfaceTabPage.Controls.Add(this.searchPanelGroupBox);
|
||||
this.interfaceTabPage.Controls.Add(this.toolbarGroupBox);
|
||||
this.interfaceTabPage.Controls.Add(this.mainMenuGroupBox);
|
||||
this.interfaceTabPage.Location = new System.Drawing.Point(4, 24);
|
||||
this.interfaceTabPage.Name = "interfaceTabPage";
|
||||
this.interfaceTabPage.Padding = new System.Windows.Forms.Padding(3);
|
||||
this.interfaceTabPage.Padding = new System.Windows.Forms.Padding(6, 6, 6, 3);
|
||||
this.interfaceTabPage.Size = new System.Drawing.Size(326, 291);
|
||||
this.interfaceTabPage.TabIndex = 5;
|
||||
this.interfaceTabPage.Text = "intf";
|
||||
|
|
@ -360,9 +365,10 @@ private void InitializeComponent()
|
|||
this.statusPanelGroupBox.Controls.Add(this.statusPanelFontColorLabel);
|
||||
this.statusPanelGroupBox.Controls.Add(this.statusPanelBackColor);
|
||||
this.statusPanelGroupBox.Controls.Add(this.statusPanelFontColor);
|
||||
this.statusPanelGroupBox.Location = new System.Drawing.Point(6, 281);
|
||||
this.statusPanelGroupBox.Dock = System.Windows.Forms.DockStyle.Top;
|
||||
this.statusPanelGroupBox.Location = new System.Drawing.Point(6, 263);
|
||||
this.statusPanelGroupBox.Name = "statusPanelGroupBox";
|
||||
this.statusPanelGroupBox.Size = new System.Drawing.Size(295, 180);
|
||||
this.statusPanelGroupBox.Size = new System.Drawing.Size(298, 180);
|
||||
this.statusPanelGroupBox.TabIndex = 4;
|
||||
this.statusPanelGroupBox.TabStop = false;
|
||||
this.statusPanelGroupBox.Text = "Status Panel";
|
||||
|
|
@ -516,13 +522,25 @@ private void InitializeComponent()
|
|||
this.mainMenuGroupBox.Controls.Add(this.shortcutKeysCheckBox);
|
||||
this.mainMenuGroupBox.Controls.Add(this.mainMenuCheckBox);
|
||||
this.mainMenuGroupBox.Controls.Add(this.menuIconsCheckBox);
|
||||
this.mainMenuGroupBox.Dock = System.Windows.Forms.DockStyle.Top;
|
||||
this.mainMenuGroupBox.Location = new System.Drawing.Point(6, 6);
|
||||
this.mainMenuGroupBox.Name = "mainMenuGroupBox";
|
||||
this.mainMenuGroupBox.Size = new System.Drawing.Size(295, 49);
|
||||
this.mainMenuGroupBox.Size = new System.Drawing.Size(298, 49);
|
||||
this.mainMenuGroupBox.TabIndex = 1;
|
||||
this.mainMenuGroupBox.TabStop = false;
|
||||
this.mainMenuGroupBox.Text = "Main menu";
|
||||
//
|
||||
// shortcutKeysCheckBox
|
||||
//
|
||||
this.shortcutKeysCheckBox.AutoSize = true;
|
||||
this.shortcutKeysCheckBox.Location = new System.Drawing.Point(166, 22);
|
||||
this.shortcutKeysCheckBox.Name = "shortcutKeysCheckBox";
|
||||
this.shortcutKeysCheckBox.Size = new System.Drawing.Size(97, 19);
|
||||
this.shortcutKeysCheckBox.TabIndex = 3;
|
||||
this.shortcutKeysCheckBox.Text = "Shortcut keys";
|
||||
this.shortcutKeysCheckBox.UseVisualStyleBackColor = true;
|
||||
this.shortcutKeysCheckBox.Click += new System.EventHandler(this.ShortcutKeysCheckBox_Click);
|
||||
//
|
||||
// mainMenuCheckBox
|
||||
//
|
||||
this.mainMenuCheckBox.AutoSize = true;
|
||||
|
|
@ -553,9 +571,10 @@ private void InitializeComponent()
|
|||
this.toolbarGroupBox.Controls.Add(this.toolbarBackColorLabel);
|
||||
this.toolbarGroupBox.Controls.Add(this.toolbarBackColor);
|
||||
this.toolbarGroupBox.Controls.Add(this.toolbarVisibleCheckBox);
|
||||
this.toolbarGroupBox.Location = new System.Drawing.Point(6, 61);
|
||||
this.toolbarGroupBox.Dock = System.Windows.Forms.DockStyle.Top;
|
||||
this.toolbarGroupBox.Location = new System.Drawing.Point(6, 55);
|
||||
this.toolbarGroupBox.Name = "toolbarGroupBox";
|
||||
this.toolbarGroupBox.Size = new System.Drawing.Size(295, 98);
|
||||
this.toolbarGroupBox.Size = new System.Drawing.Size(298, 98);
|
||||
this.toolbarGroupBox.TabIndex = 2;
|
||||
this.toolbarGroupBox.TabStop = false;
|
||||
this.toolbarGroupBox.Text = "Toolbar";
|
||||
|
|
@ -574,7 +593,7 @@ private void InitializeComponent()
|
|||
// toolbarBorderCheckBox
|
||||
//
|
||||
this.toolbarBorderCheckBox.AutoSize = true;
|
||||
this.toolbarBorderCheckBox.Location = new System.Drawing.Point(91, 47);
|
||||
this.toolbarBorderCheckBox.Location = new System.Drawing.Point(91, 49);
|
||||
this.toolbarBorderCheckBox.Name = "toolbarBorderCheckBox";
|
||||
this.toolbarBorderCheckBox.Size = new System.Drawing.Size(61, 19);
|
||||
this.toolbarBorderCheckBox.TabIndex = 4;
|
||||
|
|
@ -632,9 +651,10 @@ private void InitializeComponent()
|
|||
this.searchPanelGroupBox.Controls.Add(this.searchFontColorLabel);
|
||||
this.searchPanelGroupBox.Controls.Add(this.searchFontColor);
|
||||
this.searchPanelGroupBox.Controls.Add(this.searchBackColor);
|
||||
this.searchPanelGroupBox.Location = new System.Drawing.Point(6, 165);
|
||||
this.searchPanelGroupBox.Dock = System.Windows.Forms.DockStyle.Top;
|
||||
this.searchPanelGroupBox.Location = new System.Drawing.Point(6, 153);
|
||||
this.searchPanelGroupBox.Name = "searchPanelGroupBox";
|
||||
this.searchPanelGroupBox.Size = new System.Drawing.Size(295, 110);
|
||||
this.searchPanelGroupBox.Size = new System.Drawing.Size(298, 110);
|
||||
this.searchPanelGroupBox.TabIndex = 3;
|
||||
this.searchPanelGroupBox.TabStop = false;
|
||||
this.searchPanelGroupBox.Text = "Search Panel";
|
||||
|
|
@ -910,7 +930,7 @@ private void InitializeComponent()
|
|||
this.encryptionHintLabel.BackColor = System.Drawing.SystemColors.ButtonFace;
|
||||
this.encryptionHintLabel.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
|
||||
this.encryptionHintLabel.Font = new System.Drawing.Font("Segoe UI", 8F);
|
||||
this.encryptionHintLabel.Location = new System.Drawing.Point(9, 102);
|
||||
this.encryptionHintLabel.Location = new System.Drawing.Point(9, 101);
|
||||
this.encryptionHintLabel.Name = "encryptionHintLabel";
|
||||
this.encryptionHintLabel.Size = new System.Drawing.Size(309, 70);
|
||||
this.encryptionHintLabel.TabIndex = 7;
|
||||
|
|
@ -1017,16 +1037,16 @@ private void InitializeComponent()
|
|||
this.fontDialog.ShowEffects = false;
|
||||
this.fontDialog.Apply += new System.EventHandler(this.FontDialog_Apply);
|
||||
//
|
||||
// shortcutKeysCheckBox
|
||||
// openTxtUnencryptedCheckBox
|
||||
//
|
||||
this.shortcutKeysCheckBox.AutoSize = true;
|
||||
this.shortcutKeysCheckBox.Location = new System.Drawing.Point(166, 22);
|
||||
this.shortcutKeysCheckBox.Name = "shortcutKeysCheckBox";
|
||||
this.shortcutKeysCheckBox.Size = new System.Drawing.Size(97, 19);
|
||||
this.shortcutKeysCheckBox.TabIndex = 3;
|
||||
this.shortcutKeysCheckBox.Text = "Shortcut keys";
|
||||
this.shortcutKeysCheckBox.UseVisualStyleBackColor = true;
|
||||
this.shortcutKeysCheckBox.Click += new System.EventHandler(this.ShortcutKeysCheckBox_Click);
|
||||
this.openTxtUnencryptedCheckBox.AutoSize = true;
|
||||
this.openTxtUnencryptedCheckBox.Location = new System.Drawing.Point(6, 72);
|
||||
this.openTxtUnencryptedCheckBox.Name = "openTxtUnencryptedCheckBox";
|
||||
this.openTxtUnencryptedCheckBox.Size = new System.Drawing.Size(254, 19);
|
||||
this.openTxtUnencryptedCheckBox.TabIndex = 9;
|
||||
this.openTxtUnencryptedCheckBox.Text = "Open all files except *.cnp like unencrypted";
|
||||
this.openTxtUnencryptedCheckBox.UseVisualStyleBackColor = true;
|
||||
this.openTxtUnencryptedCheckBox.Click += new System.EventHandler(this.OpenTxtUnencryptedCheckBox_Click);
|
||||
//
|
||||
// SettingsForm
|
||||
//
|
||||
|
|
@ -1153,5 +1173,6 @@ private void InitializeComponent()
|
|||
private System.Windows.Forms.CheckBox statusPanelClipboardCheckBox;
|
||||
private System.Windows.Forms.CheckBox clearClipboardCheckBox;
|
||||
private System.Windows.Forms.CheckBox shortcutKeysCheckBox;
|
||||
private System.Windows.Forms.CheckBox openTxtUnencryptedCheckBox;
|
||||
}
|
||||
}
|
||||
|
|
@ -46,6 +46,7 @@ private void LoadSettings()
|
|||
hashAlgorithmComboBox.Text = settings.HashAlgorithm;
|
||||
keySizeComboBox.Text = settings.KeySize;
|
||||
passwordIterationsTextBox.Text = settings.PasswordIterations;
|
||||
openTxtUnencryptedCheckBox.Checked = settings.openTxtUnencrypted;
|
||||
searchBackColor.BackColor = settings.searchPanelBackColor;
|
||||
searchFontColor.BackColor = settings.searchPanelForeColor;
|
||||
searchBorderComboBox.Text = settings.searchPanelBorder;
|
||||
|
|
@ -620,5 +621,11 @@ private void ShortcutKeysCheckBox_Click(object sender, EventArgs e)
|
|||
settings.shortcutKeys = shortcutKeysCheckBox.Checked;
|
||||
main.ShortcutKeys(settings.shortcutKeys);
|
||||
}
|
||||
|
||||
private void OpenTxtUnencryptedCheckBox_Click(object sender, EventArgs e)
|
||||
{
|
||||
settings.openTxtUnencrypted = openTxtUnencryptedCheckBox.Checked;
|
||||
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
@ -33,4 +33,4 @@
|
|||
// используя "*", как показано ниже:
|
||||
// [assembly: AssemblyVersion("1.0.*")]
|
||||
[assembly: AssemblyVersion("1.0.0.0")]
|
||||
[assembly: AssemblyFileVersion("1.6.7.0")]
|
||||
[assembly: AssemblyFileVersion("1.6.8.0")]
|
||||
|
|
|
|||
20
Crypto Notepad/Properties/Resources.Designer.cs
generated
20
Crypto Notepad/Properties/Resources.Designer.cs
generated
|
|
@ -330,6 +330,16 @@ internal static System.Drawing.Bitmap key_solid {
|
|||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Looks up a localized resource of type System.Drawing.Bitmap.
|
||||
/// </summary>
|
||||
internal static System.Drawing.Bitmap lock_pencil {
|
||||
get {
|
||||
object obj = ResourceManager.GetObject("lock_pencil", resourceCulture);
|
||||
return ((System.Drawing.Bitmap)(obj));
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Looks up a localized resource of type System.Drawing.Bitmap.
|
||||
/// </summary>
|
||||
|
|
@ -430,6 +440,16 @@ internal static System.Drawing.Bitmap old_lock {
|
|||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Looks up a localized resource of type System.Drawing.Bitmap.
|
||||
/// </summary>
|
||||
internal static System.Drawing.Bitmap old_lock_edit {
|
||||
get {
|
||||
object obj = ResourceManager.GetObject("old_lock_edit", resourceCulture);
|
||||
return ((System.Drawing.Bitmap)(obj));
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Looks up a localized resource of type System.Drawing.Bitmap.
|
||||
/// </summary>
|
||||
|
|
|
|||
|
|
@ -1055,32 +1055,67 @@
|
|||
</data>
|
||||
<data name="document_pencil" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
|
||||
<value>
|
||||
iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8
|
||||
YQUAAAAZdEVYdFNvZnR3YXJlAEFkb2JlIEltYWdlUmVhZHlxyWU8AAACKUlEQVQ4T4WSPWhTYRSGzx2r
|
||||
2x0UChkCjWgIOoTirVLbSlt7NYpiCh3q0CHWoEFTgiGtbYOLuOjgJKhd4iJKKNagrQjGP9yrNoIJDSZG
|
||||
CdUmN/8/x3Nu85UgbTzwLB/v+/D9gX1mRmd4dvYkcf4/dJydnoYzk5Nw2ueDvd3dALzQYDxXreLvUgl/
|
||||
5fOY0DSMZ7O4msnozIfDyBnCJASMbmtwIVsuY5qKP9bXMZZOYySVwk/JJC4nEvgwFEIezhGmTcEpr1fg
|
||||
1EiwlsttKbkTCGxiUtVrBDBg83gEF/OVCv6h7W8n4Z3wcTgrejDkdgsuFegOMoVCSwkLOMudm11dAAMu
|
||||
l8BVJIFWLLaU8MVydtFggI+SBHDU6RRcLtdqmKd7aCXh17lis92OSlLwvST1whGHQ+CukKBI99BKshyN
|
||||
oqO/P4R+P85L0ms4NDYmmKjW61iiY2wnicVe4KNgEAu0NtjefmsOYBAOjo4KPDUS8C62ksRXlzD8dAgL
|
||||
SR/u6+x8Lsvy/ntAYx0ZEVyt00epkuBfSSL+Et8sqHr58YM+PHHu8F2j1QrjFgtAR08PHLDbGS//tDrt
|
||||
olmS+v4K3y4c3yjf78WvkUXkLHe4q49BUWCPqk6xgEdI1n5+wXfPNspPqLzyOYT82TjLHTFtxK7dinK9
|
||||
0deHj/Mh5EfUIhic68NvkSXkf1IiOWe50+iCTFjajMaJnWbzjWZoHYeP7VgxK4ZA8zpnuQMA8l8pq4Je
|
||||
+8ojoAAAAABJRU5ErkJggg==
|
||||
iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABGdBTUEAALGPC/xhBQAAABl0RVh0U29m
|
||||
dHdhcmUAQWRvYmUgSW1hZ2VSZWFkeXHJZTwAAAIpSURBVDhPhZI9aFNhFIbPHavbHRQKGQKNaAg6hOKt
|
||||
UttKW3s1imIKHerQIdagQVOCIa1tg4u46OAkqF3iIkoo1qCtCMY/3Ks2ggkNJkYJ1SY3/z/Hc27zlSBt
|
||||
PPAsH+/78P2BfWZGZ3h29iRx/j90nJ2ehjOTk3Da54O93d0AvNBgPFet4u9SCX/l85jQNIxns7iayejM
|
||||
h8PIGcIkBIxua3AhWy5jmoo/1tcxlk5jJJXCT8kkLicS+DAUQh7OEaZNwSmvV+DUSLCWy20puRMIbGJS
|
||||
1WsEMGDzeAQX85UK/qHtbyfhnfBxOCt6MOR2Cy4V6A4yhUJLCQs4y52bXV0AAy6XwFUkgVYstpTwxXJ2
|
||||
0WCAj5IEcNTpFFwu12qYp3toJeHXuWKz3Y5KUvC9JPXCEYdD4K6QoEj30EqyHI2io78/hH4/zkvSazg0
|
||||
NiaYqNbrWKJjbCeJxV7go2AQC7Q22N5+aw5gEA6Ojgo8NRLwLraSxFeXMPx0CAtJH+7r7Hwuy/L+e0Bj
|
||||
HRkRXK3TR6mS4F9JIv4S3yyoevnxgz48ce7wXaPVCuMWC0BHTw8csNsZL/+0Ou2iWZL6/grfLhzfKN/v
|
||||
xa+RReQsd7irj0FRYI+qTrGAR0jWfn7Bd882yk+ovPI5hPzZOMsdMW3Ert2Kcr3R14eP8yHkR9QiGJzr
|
||||
w2+RJeR/UiI5Z7nT6IJMWNqMxomdZvONZmgdh4/tWDErhkDzOme5AwDyXymrgl77yiOgAAAAAElFTkSu
|
||||
QmCC
|
||||
</value>
|
||||
</data>
|
||||
<data name="clipboard_minus" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
|
||||
<value>
|
||||
iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABGdBTUEAALGPC/xhBQAAABl0RVh0U29m
|
||||
dHdhcmUAQWRvYmUgSW1hZ2VSZWFkeXHJZTwAAAG9SURBVDhPjZA9SFtRGIa/RaV0KRksFJwKhYCoQRQR
|
||||
im7FpYOmYxRc4uQgBQUHBaUlipCmColDpClJQNyKq6vLgYiT2iBF/IlB0ZrchJifz++95ByFyMUDz+Vw
|
||||
zvOce+6l1QGyWRt85OuQu9nr9Q4L/jrDWHvq6O7pARFBgW8e2ovNTJ4fHaUZYI41vQ/XHPBTHnXU4do4
|
||||
b0308O7uPqdSB3x8fGqDOdawBweu7ij40aBYRiz2mwOBZQ6H1zkeT/Lm5hZHN35xMBjiRCIJheHqjlb6
|
||||
Daomm5Vajf+m08+CPThwdUdLfQZVFqFUqTgCB67u6HuPQZWqVbbu7x2BA1d3tNBtUIVymf8Xi47Agas7
|
||||
musyqJy84TqfdwQOXN3RbLtB3ZZKnLm7cwQOXDSht3LAtNugruWKpzc3jsCBG31NlJSepj4YVLZQ4H9X
|
||||
Vw3sjI3xn85Om22Ph6MtZEmsEkQRGnlHNPneRl1YFqez2QbiEhZHRxsIyyG4BH2Wb/G3kTqTn3SYyTQQ
|
||||
9/n4R0eHzarcYLaJrHmJF3EDGa+E1i9vSF3KDzrJ5RyBAxdNvSWX0N7bRIlPzaReAlw0ROR6ACadVNRj
|
||||
5pGXAAAAAElFTkSuQmCC
|
||||
</value>
|
||||
</data>
|
||||
<data name="lock_pencil" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
|
||||
<value>
|
||||
iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8
|
||||
YQUAAAAZdEVYdFNvZnR3YXJlAEFkb2JlIEltYWdlUmVhZHlxyWU8AAABvUlEQVQ4T42QPUhbURiGv0Wl
|
||||
dCkZLBScCoWAqEEUEYpuxaWDpmMUXOLkIAUFBwWlJYqQpgqJQ6QpSUDciqury4GIk9ogRfyJQdGa3ISY
|
||||
n8/vveQchcjFA8/lcM7znHvupdUBslkbfOTrkLvZ6/UOC/46w1h76uju6QERQYFvHtqLzUyeHx2lGWCO
|
||||
Nb0P1xzwUx511OHaOG9N9PDu7j6nUgd8fHxqgznWsAcHru4o+NGgWEYs9psDgWUOh9c5Hk/y5uYWRzd+
|
||||
cTAY4kQiCYXh6o5W+g2qJpuVWo3/ptPPgj04cHVHS30GVRahVKk4Ageu7uh7j0GVqlW27u8dgQNXd7TQ
|
||||
bVCFcpn/F4uOwIGrO5rrMqicvOE6n3cEDlzd0Wy7Qd2WSpy5u3MEDlw0obdywLTboK7liqc3N47AgRt9
|
||||
TZSUnqY+GFS2UOB/V1cN7IyN8Z/OTpttj4ejLWRJrBJEERp5RzT53kZdWBans9kG4hIWR0cbCMshuAR9
|
||||
lm/xt5E6k590mMk0EPf5+EdHh82q3GC2iax5iRdxAxmvhNYvb0hdyg86yeUcgQMXTb0ll9De20SJT82k
|
||||
XgJcNETkegAmnVTUY+aRlwAAAABJRU5ErkJggg==
|
||||
YQUAAAAZdEVYdFNvZnR3YXJlAEFkb2JlIEltYWdlUmVhZHlxyWU8AAACZUlEQVQ4T6WQXUiTYRTHz3lf
|
||||
ELwKBiUsK+w68yLCoBuXIeiCQBA/ohWpy0l2ITQ/UlkY+ZGps4WlLsUmbLPUaQua5nSR5ijTRMUioyi1
|
||||
Ii9CWJRxes6rk5IVRAd+PIfzP//znOcBIvovIHonQkWGBH2Fa9wrlmHQJO/zmuR8QdU6+VxjLdjHHvZu
|
||||
FIK4i+T9vpodzZ+elr2ZdOd+ZDjnGmub+8GZL22mePFxyUJv9YHpymNoZjjnGmu/9vYfFAN6jPIGVoPE
|
||||
NC6MXfxhyQ67X3sCgeGca6xxT9c5GSYjJRhD8YShC7KCV+AqkKH+JN566TGSJQt7m3L4f8QAkb8aKCTW
|
||||
lJvLZHgrzJsHGDylct2ldLA/cWbTdT3eaTGgozwV/Jy7zVpirccoNYsBeaEGXKYPHfTtdQutzFpoebyG
|
||||
lkbLafaujuY9Olry6eiLX0ffZ06R73iYYx6xewQx7rcBfqeexm/n0POeMzTlOksTXbnktaaQry2F/B0p
|
||||
NNUpTkc6NRyNGiWTiVyIw/+0wbvhRHI1p1EgEKAEtbq2FSAB+ktlBfH+6r9t8MimIY9VTYGFIkqPjxhR
|
||||
qVR7W0BEq14KUvGnDabdiTRki1TM3RY11WdJ9uTYcLgRIz4xaitCiVbhSqgNBq0acjet3WyriqAx+2E6
|
||||
n4R1JUmoeJVQb0HIjMU2+uyg1UUbfeUtZiz0/mEBPWjfpZg7zdtpzqOl1Rd64l72BEMl2KOJgvaMGOjL
|
||||
ioWbxgS8WpmK1xoMOEErc1SZh8un4+FZWjQMMId2QyN71r0QLtgmUIeAMrXYlxyHR0JowgPhPwGrrd1/
|
||||
oRCVyQAAAABJRU5ErkJggg==
|
||||
</value>
|
||||
</data>
|
||||
<data name="old_lock_edit" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
|
||||
<value>
|
||||
iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8
|
||||
YQUAAAAZdEVYdFNvZnR3YXJlAEFkb2JlIEltYWdlUmVhZHlxyWU8AAACmUlEQVQ4T42SW0iTcRjGhwUi
|
||||
ojY1T0EX3XRVBFLQRVKRFuRFXUR0V1CpJM4kNQ8rT9UOLnXO5WEuswsFS4ypDVOnoiaah2XmSrswJ5U3
|
||||
3jiFIn79v29jGRb0wMP38rzv+/v+30GxVRZrs9lifYLF2uSzVDebfe1tAnyVUM2j+pU+xyDLbjefl1f4
|
||||
8vWbuLqRMqnnG/tDfkCl0WS223uYnHbyuOkphgqjbKmWMqknzXinf8sP0Oof0ts/QE2thYysHJOI4iVn
|
||||
ZmVXm0XW2+9AZ6jccl6v/IA7pXrsvUPoK+ukJMabyopRl+hEbxBDlenfAFWBAVvfBGqddduQKr+czr5x
|
||||
SvVewAfdMLM6h1zLgHnD3rcuXSSuB2HMa5S800Qzq40TjmVOG41LE86CNoQlfSCF9/Us2dyMmieYUreL
|
||||
fQGY0uyBtVZY7xB+AR4bbHZ6vSHqDZFvtpFdXI17dY2Sci3d+T2Mp9V6AWMlsWwuljFjUOCs2Ml7UyBd
|
||||
BTvoKgzAVRPIrDGA0dxDrC3YuKupxi4+a0ZhrvQI8TJguCgWz4yK7/0J/Bw6xWKDknOHFbI/NYYyUpgA
|
||||
Y2egbR/zHWXczCuSl/3vYEAdhWfyKjOVQcyaQsVSJGmnFaQkKnhTfBzGk+HZQWiMwXrjiH9Zkgx4lbcb
|
||||
z+uL/HCcFCdI4mO9krzzCqaLj4ll6c4HoCGOmtQEBtXhEsAvGdCdE4lnKBmnMVg+gas2hPWXl2C1GuZK
|
||||
oC4K4zUBm7+M/XbEdoAtO4KNvhMwkgijSSzUB2O5l0p3a6kAVGG+flS8A9EfO4vt1l9O0JIe7mzPVPJc
|
||||
paRdtQvbzWBy069QmpKMq+qCyIJozwwTVtKSrnT6dmXJAKH9wvK//x+WZv0CFL8AglrvSOxt69sAAAAA
|
||||
SUVORK5CYII=
|
||||
</value>
|
||||
</data>
|
||||
</root>
|
||||
15
Crypto Notepad/Properties/Settings.Designer.cs
generated
15
Crypto Notepad/Properties/Settings.Designer.cs
generated
|
|
@ -12,7 +12,7 @@ namespace Crypto_Notepad.Properties {
|
|||
|
||||
|
||||
[global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()]
|
||||
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.VisualStudio.Editors.SettingsDesigner.SettingsSingleFileGenerator", "16.4.0.0")]
|
||||
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.VisualStudio.Editors.SettingsDesigner.SettingsSingleFileGenerator", "16.6.0.0")]
|
||||
internal sealed partial class Settings : global::System.Configuration.ApplicationSettingsBase {
|
||||
|
||||
private static Settings defaultInstance = ((Settings)(global::System.Configuration.ApplicationSettingsBase.Synchronized(new Settings())));
|
||||
|
|
@ -803,5 +803,18 @@ public bool shortcutKeys {
|
|||
this["shortcutKeys"] = value;
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Configuration.UserScopedSettingAttribute()]
|
||||
[global::System.Configuration.SettingsProviderAttribute(typeof(PortableSettingsProvider))]
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
[global::System.Configuration.DefaultSettingValueAttribute("False")]
|
||||
public bool openTxtUnencrypted {
|
||||
get {
|
||||
return ((bool)(this["openTxtUnencrypted"]));
|
||||
}
|
||||
set {
|
||||
this["openTxtUnencrypted"] = value;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -182,5 +182,8 @@
|
|||
<Setting Name="shortcutKeys" Provider="PortableSettingsProvider" Type="System.Boolean" Scope="User">
|
||||
<Value Profile="(Default)">True</Value>
|
||||
</Setting>
|
||||
<Setting Name="openTxtUnencrypted" Provider="PortableSettingsProvider" Type="System.Boolean" Scope="User">
|
||||
<Value Profile="(Default)">False</Value>
|
||||
</Setting>
|
||||
</Settings>
|
||||
</SettingsFile>
|
||||
Loading…
Reference in a new issue