diff --git a/Crypto Notepad/App.config b/Crypto Notepad/App.config
index fea6a93..1bc50b5 100644
--- a/Crypto Notepad/App.config
+++ b/Crypto Notepad/App.config
@@ -180,6 +180,12 @@
True
+
+
+
+
+ False
+
diff --git a/Crypto Notepad/Crypto Notepad.csproj b/Crypto Notepad/Crypto Notepad.csproj
index 048c00e..c302a06 100644
--- a/Crypto Notepad/Crypto Notepad.csproj
+++ b/Crypto Notepad/Crypto Notepad.csproj
@@ -199,7 +199,6 @@
-
diff --git a/Crypto Notepad/Forms/MainForm.Designer.cs b/Crypto Notepad/Forms/MainForm.Designer.cs
index aa0ad7d..85565c0 100644
--- a/Crypto Notepad/Forms/MainForm.Designer.cs
+++ b/Crypto Notepad/Forms/MainForm.Designer.cs
@@ -55,6 +55,7 @@ public void InitializeComponent()
this.findMainMenu = new System.Windows.Forms.ToolStripMenuItem();
this.mainMenuSeparator6 = new System.Windows.Forms.ToolStripSeparator();
this.selectAllMainMenu = new System.Windows.Forms.ToolStripMenuItem();
+ this.clearClipboardMainMenu = new System.Windows.Forms.ToolStripMenuItem();
this.wordWrapMainMenu = new System.Windows.Forms.ToolStripMenuItem();
this.readOnlyMainMenu = new System.Windows.Forms.ToolStripMenuItem();
this.mainMenuSeparator7 = new System.Windows.Forms.ToolStripSeparator();
@@ -114,6 +115,8 @@ public void InitializeComponent()
this.statusPanelModifiedLabel = new System.Windows.Forms.ToolStripStatusLabel();
this.statusPanelSizeLabel = new System.Windows.Forms.ToolStripStatusLabel();
this.statusPanelReadonlyLabel = new System.Windows.Forms.ToolStripStatusLabel();
+ this.statusPanelWordwrapLabel = new System.Windows.Forms.ToolStripStatusLabel();
+ this.statusPanelClipboardProgressBar = new System.Windows.Forms.ToolStripProgressBar();
this.trayIcon = new System.Windows.Forms.NotifyIcon(this.components);
this.trayMenu = new System.Windows.Forms.ContextMenuStrip(this.components);
this.showTrayMenu = new System.Windows.Forms.ToolStripMenuItem();
@@ -121,16 +124,15 @@ public void InitializeComponent()
this.fileLockedPanel = new System.Windows.Forms.Panel();
this.fileLockedCloseButton = new System.Windows.Forms.Button();
this.fileLockedOkButton = new System.Windows.Forms.Button();
+ this.fileLockedKeyTextBox = new System.Windows.Forms.PlaceholderTextBox();
this.fileLockedShowKey = new System.Windows.Forms.PictureBox();
this.fileLockedLabel = new System.Windows.Forms.Label();
this.toolTip = new System.Windows.Forms.ToolTip(this.components);
this.richTextBoxPanel = new System.Windows.Forms.Panel();
+ this.richTextBox = new Crypto_Notepad.ExRichTextBox();
this.statusPanelTimer = new System.Windows.Forms.Timer(this.components);
this.lockTimer = new System.Windows.Forms.Timer(this.components);
- this.statusPanelWordwrapLabel = new System.Windows.Forms.ToolStripStatusLabel();
- this.fileLockedKeyTextBox = new System.Windows.Forms.PlaceholderTextBox();
- this.richTextBox = new Crypto_Notepad.ExRichTextBox();
- this.clearClipboardMainMenu = new System.Windows.Forms.ToolStripMenuItem();
+ this.clipboardTimer = new System.Windows.Forms.Timer(this.components);
this.mainMenu.SuspendLayout();
this.contextMenu.SuspendLayout();
this.searchPanel.SuspendLayout();
@@ -167,7 +169,7 @@ public void InitializeComponent()
this.mainMenu.Location = new System.Drawing.Point(0, 0);
this.mainMenu.Name = "mainMenu";
this.mainMenu.Padding = new System.Windows.Forms.Padding(0);
- this.mainMenu.Size = new System.Drawing.Size(504, 24);
+ this.mainMenu.Size = new System.Drawing.Size(544, 24);
this.mainMenu.TabIndex = 0;
this.mainMenu.Text = "menuStrip1";
//
@@ -303,7 +305,7 @@ public void InitializeComponent()
//
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(180, 22);
+ this.undoMainMenu.Size = new System.Drawing.Size(221, 22);
this.undoMainMenu.Text = "Undo";
this.undoMainMenu.Click += new System.EventHandler(this.UndoMainMenu_Click);
//
@@ -311,21 +313,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(180, 22);
+ this.redoMainMenu.Size = new System.Drawing.Size(221, 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(177, 6);
+ this.mainMenuSeparator4.Size = new System.Drawing.Size(218, 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(180, 22);
+ this.cutMainMenu.Size = new System.Drawing.Size(221, 22);
this.cutMainMenu.Text = "Cut";
this.cutMainMenu.Click += new System.EventHandler(this.CutMainMenu_Click);
//
@@ -334,7 +336,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(180, 22);
+ this.copyMainMenu.Size = new System.Drawing.Size(221, 22);
this.copyMainMenu.Text = "Copy";
this.copyMainMenu.Click += new System.EventHandler(this.CopyMainMenu_Click);
//
@@ -342,7 +344,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(180, 22);
+ this.pasteMainMenu.Size = new System.Drawing.Size(221, 22);
this.pasteMainMenu.Text = "Paste";
this.pasteMainMenu.Click += new System.EventHandler(this.PasteMainMenu_Click);
//
@@ -351,37 +353,46 @@ 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(180, 22);
+ this.deleteMainMenu.Size = new System.Drawing.Size(221, 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(177, 6);
+ this.mainMenuSeparator5.Size = new System.Drawing.Size(218, 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(180, 22);
+ this.findMainMenu.Size = new System.Drawing.Size(221, 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(177, 6);
+ this.mainMenuSeparator6.Size = new System.Drawing.Size(218, 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(180, 22);
+ this.selectAllMainMenu.Size = new System.Drawing.Size(221, 22);
this.selectAllMainMenu.Text = "Select All";
this.selectAllMainMenu.Click += new System.EventHandler(this.SelectAllMainMenu_Click);
//
+ // clearClipboardMainMenu
+ //
+ this.clearClipboardMainMenu.Name = "clearClipboardMainMenu";
+ this.clearClipboardMainMenu.ShortcutKeys = ((System.Windows.Forms.Keys)(((System.Windows.Forms.Keys.Control | System.Windows.Forms.Keys.Alt)
+ | System.Windows.Forms.Keys.C)));
+ this.clearClipboardMainMenu.Size = new System.Drawing.Size(221, 22);
+ this.clearClipboardMainMenu.Text = "Clear Clipboard";
+ this.clearClipboardMainMenu.Click += new System.EventHandler(this.ClearClipboardMainMenu_Click);
+ //
// wordWrapMainMenu
//
this.wordWrapMainMenu.Checked = true;
@@ -389,7 +400,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(180, 22);
+ this.wordWrapMainMenu.Size = new System.Drawing.Size(221, 22);
this.wordWrapMainMenu.Text = "Word Wrap";
this.wordWrapMainMenu.Click += new System.EventHandler(this.WordWrapMainMenu_Click);
//
@@ -398,20 +409,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(180, 22);
+ this.readOnlyMainMenu.Size = new System.Drawing.Size(221, 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(177, 6);
+ this.mainMenuSeparator7.Size = new System.Drawing.Size(218, 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(180, 22);
+ this.clearMainMenu.Size = new System.Drawing.Size(221, 22);
this.clearMainMenu.Text = "Clear";
this.clearMainMenu.Click += new System.EventHandler(this.ClearMainMenu_Click);
//
@@ -673,11 +684,11 @@ public void InitializeComponent()
this.searchPanel.Dock = System.Windows.Forms.DockStyle.Bottom;
this.searchPanel.Font = new System.Drawing.Font("Segoe UI", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(204)));
this.searchPanel.ForeColor = System.Drawing.Color.Black;
- this.searchPanel.Location = new System.Drawing.Point(0, 234);
+ this.searchPanel.Location = new System.Drawing.Point(0, 274);
this.searchPanel.Name = "searchPanel";
this.searchPanel.RowCount = 1;
this.searchPanel.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 100F));
- this.searchPanel.Size = new System.Drawing.Size(504, 25);
+ this.searchPanel.Size = new System.Drawing.Size(544, 25);
this.searchPanel.TabIndex = 17;
this.searchPanel.Visible = false;
//
@@ -689,7 +700,7 @@ public void InitializeComponent()
this.searchTextBox.ForeColor = System.Drawing.Color.Black;
this.searchTextBox.Location = new System.Drawing.Point(3, 5);
this.searchTextBox.Name = "searchTextBox";
- this.searchTextBox.Size = new System.Drawing.Size(200, 15);
+ this.searchTextBox.Size = new System.Drawing.Size(240, 15);
this.searchTextBox.TabIndex = 9;
this.searchTextBox.TabStop = false;
this.searchTextBox.TextChanged += new System.EventHandler(this.SearchTextBox_TextChanged);
@@ -702,7 +713,7 @@ public void InitializeComponent()
this.searchWholeWordCheckBox.Dock = System.Windows.Forms.DockStyle.Fill;
this.searchWholeWordCheckBox.ForeColor = System.Drawing.Color.Black;
this.searchWholeWordCheckBox.ImeMode = System.Windows.Forms.ImeMode.NoControl;
- this.searchWholeWordCheckBox.Location = new System.Drawing.Point(313, 3);
+ this.searchWholeWordCheckBox.Location = new System.Drawing.Point(353, 3);
this.searchWholeWordCheckBox.Name = "searchWholeWordCheckBox";
this.searchWholeWordCheckBox.Size = new System.Drawing.Size(94, 19);
this.searchWholeWordCheckBox.TabIndex = 12;
@@ -719,7 +730,7 @@ public void InitializeComponent()
this.searchCaseSensitiveCheckBox.Dock = System.Windows.Forms.DockStyle.Fill;
this.searchCaseSensitiveCheckBox.ForeColor = System.Drawing.Color.Black;
this.searchCaseSensitiveCheckBox.ImeMode = System.Windows.Forms.ImeMode.NoControl;
- this.searchCaseSensitiveCheckBox.Location = new System.Drawing.Point(209, 3);
+ this.searchCaseSensitiveCheckBox.Location = new System.Drawing.Point(249, 3);
this.searchCaseSensitiveCheckBox.Name = "searchCaseSensitiveCheckBox";
this.searchCaseSensitiveCheckBox.Size = new System.Drawing.Size(98, 19);
this.searchCaseSensitiveCheckBox.TabIndex = 11;
@@ -736,7 +747,7 @@ public void InitializeComponent()
this.searchCloseButton.Dock = System.Windows.Forms.DockStyle.Fill;
this.searchCloseButton.Font = new System.Drawing.Font("Segoe UI Black", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(204)));
this.searchCloseButton.ForeColor = System.Drawing.Color.DarkGray;
- this.searchCloseButton.Location = new System.Drawing.Point(485, 0);
+ this.searchCloseButton.Location = new System.Drawing.Point(525, 0);
this.searchCloseButton.Name = "searchCloseButton";
this.searchCloseButton.Size = new System.Drawing.Size(16, 25);
this.searchCloseButton.TabIndex = 16;
@@ -750,7 +761,7 @@ public void InitializeComponent()
this.searchFindNextButton.Cursor = System.Windows.Forms.Cursors.Hand;
this.searchFindNextButton.Dock = System.Windows.Forms.DockStyle.Fill;
this.searchFindNextButton.Font = new System.Drawing.Font("Segoe UI", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(204)));
- this.searchFindNextButton.Location = new System.Drawing.Point(413, 0);
+ this.searchFindNextButton.Location = new System.Drawing.Point(453, 0);
this.searchFindNextButton.Name = "searchFindNextButton";
this.searchFindNextButton.Size = new System.Drawing.Size(66, 25);
this.searchFindNextButton.TabIndex = 17;
@@ -797,7 +808,7 @@ public void InitializeComponent()
this.toolbarPanel.Name = "toolbarPanel";
this.toolbarPanel.RowCount = 1;
this.toolbarPanel.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 100F));
- this.toolbarPanel.Size = new System.Drawing.Size(504, 24);
+ this.toolbarPanel.Size = new System.Drawing.Size(544, 24);
this.toolbarPanel.TabIndex = 17;
this.toolbarPanel.MouseEnter += new System.EventHandler(this.ToolbarPanel_MouseEnter);
//
@@ -808,7 +819,7 @@ public void InitializeComponent()
this.closeToolbarButton.Dock = System.Windows.Forms.DockStyle.Fill;
this.closeToolbarButton.Font = new System.Drawing.Font("Segoe UI Black", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(204)));
this.closeToolbarButton.ForeColor = System.Drawing.Color.DarkGray;
- this.closeToolbarButton.Location = new System.Drawing.Point(489, 0);
+ this.closeToolbarButton.Location = new System.Drawing.Point(529, 0);
this.closeToolbarButton.Name = "closeToolbarButton";
this.closeToolbarButton.Size = new System.Drawing.Size(12, 24);
this.closeToolbarButton.TabIndex = 17;
@@ -998,11 +1009,13 @@ public void InitializeComponent()
this.statusPanelModifiedLabel,
this.statusPanelSizeLabel,
this.statusPanelReadonlyLabel,
- this.statusPanelWordwrapLabel});
- this.statusPanel.Location = new System.Drawing.Point(0, 259);
+ this.statusPanelWordwrapLabel,
+ this.statusPanelClipboardProgressBar});
+ this.statusPanel.LayoutStyle = System.Windows.Forms.ToolStripLayoutStyle.Flow;
+ this.statusPanel.Location = new System.Drawing.Point(0, 299);
this.statusPanel.Name = "statusPanel";
this.statusPanel.ShowItemToolTips = true;
- this.statusPanel.Size = new System.Drawing.Size(504, 22);
+ this.statusPanel.Size = new System.Drawing.Size(544, 22);
this.statusPanel.SizingGrip = false;
this.statusPanel.TabIndex = 18;
this.statusPanel.VisibleChanged += new System.EventHandler(this.StatusPanel_VisibleChanged);
@@ -1078,6 +1091,23 @@ public void InitializeComponent()
this.statusPanelReadonlyLabel.Size = new System.Drawing.Size(64, 17);
this.statusPanelReadonlyLabel.Text = "Readonly";
//
+ // statusPanelWordwrapLabel
+ //
+ this.statusPanelWordwrapLabel.BorderSides = System.Windows.Forms.ToolStripStatusLabelBorderSides.Right;
+ this.statusPanelWordwrapLabel.BorderStyle = System.Windows.Forms.Border3DStyle.Etched;
+ this.statusPanelWordwrapLabel.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Text;
+ this.statusPanelWordwrapLabel.Name = "statusPanelWordwrapLabel";
+ this.statusPanelWordwrapLabel.Padding = new System.Windows.Forms.Padding(5, 0, 0, 0);
+ this.statusPanelWordwrapLabel.Size = new System.Drawing.Size(76, 17);
+ this.statusPanelWordwrapLabel.Text = "Word Wrap";
+ //
+ // statusPanelClipboardProgressBar
+ //
+ this.statusPanelClipboardProgressBar.Name = "statusPanelClipboardProgressBar";
+ this.statusPanelClipboardProgressBar.Size = new System.Drawing.Size(100, 16);
+ this.statusPanelClipboardProgressBar.Value = 100;
+ this.statusPanelClipboardProgressBar.Visible = false;
+ //
// trayIcon
//
this.trayIcon.ContextMenuStrip = this.trayMenu;
@@ -1121,7 +1151,7 @@ public void InitializeComponent()
this.fileLockedPanel.Controls.Add(this.fileLockedLabel);
this.fileLockedPanel.Font = new System.Drawing.Font("Segoe UI", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(204)));
this.fileLockedPanel.ForeColor = System.Drawing.Color.Azure;
- this.fileLockedPanel.Location = new System.Drawing.Point(116, 40);
+ this.fileLockedPanel.Location = new System.Drawing.Point(136, 49);
this.fileLockedPanel.Name = "fileLockedPanel";
this.fileLockedPanel.Size = new System.Drawing.Size(261, 91);
this.fileLockedPanel.TabIndex = 20;
@@ -1160,6 +1190,20 @@ public void InitializeComponent()
this.fileLockedOkButton.UseVisualStyleBackColor = true;
this.fileLockedOkButton.Click += new System.EventHandler(this.FileLockedOkButton_Click);
//
+ // fileLockedKeyTextBox
+ //
+ this.fileLockedKeyTextBox.Location = new System.Drawing.Point(6, 34);
+ this.fileLockedKeyTextBox.Name = "fileLockedKeyTextBox";
+ this.fileLockedKeyTextBox.Placeholder = "Password";
+ this.fileLockedKeyTextBox.PlaceholderActiveForeColor = System.Drawing.Color.DarkGray;
+ this.fileLockedKeyTextBox.PlaceholderFont = new System.Drawing.Font("Segoe UI", 8.25F);
+ this.fileLockedKeyTextBox.PlaceholderForeColor = System.Drawing.Color.DarkGray;
+ this.fileLockedKeyTextBox.Size = new System.Drawing.Size(231, 22);
+ this.fileLockedKeyTextBox.TabIndex = 8;
+ this.fileLockedKeyTextBox.UseSystemPasswordChar = true;
+ this.fileLockedKeyTextBox.TextChanged += new System.EventHandler(this.FileLockedKeyTextBox_TextChanged);
+ this.fileLockedKeyTextBox.KeyDown += new System.Windows.Forms.KeyEventHandler(this.FileLockedKeyTextBox_KeyDown);
+ //
// fileLockedShowKey
//
this.fileLockedShowKey.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
@@ -1199,42 +1243,9 @@ public void InitializeComponent()
this.richTextBoxPanel.Dock = System.Windows.Forms.DockStyle.Fill;
this.richTextBoxPanel.Location = new System.Drawing.Point(0, 48);
this.richTextBoxPanel.Name = "richTextBoxPanel";
- this.richTextBoxPanel.Size = new System.Drawing.Size(504, 186);
+ this.richTextBoxPanel.Size = new System.Drawing.Size(544, 226);
this.richTextBoxPanel.TabIndex = 21;
//
- // statusPanelTimer
- //
- this.statusPanelTimer.Interval = 1;
- this.statusPanelTimer.Tick += new System.EventHandler(this.StatusPanelTimer_Tick);
- //
- // lockTimer
- //
- this.lockTimer.Tick += new System.EventHandler(this.LockTimer_Tick);
- //
- // statusPanelWordwrapLabel
- //
- this.statusPanelWordwrapLabel.BorderSides = System.Windows.Forms.ToolStripStatusLabelBorderSides.Right;
- this.statusPanelWordwrapLabel.BorderStyle = System.Windows.Forms.Border3DStyle.Etched;
- this.statusPanelWordwrapLabel.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Text;
- this.statusPanelWordwrapLabel.Name = "statusPanelWordwrapLabel";
- this.statusPanelWordwrapLabel.Padding = new System.Windows.Forms.Padding(5, 0, 0, 0);
- this.statusPanelWordwrapLabel.Size = new System.Drawing.Size(76, 17);
- this.statusPanelWordwrapLabel.Text = "Word Wrap";
- //
- // fileLockedKeyTextBox
- //
- this.fileLockedKeyTextBox.Location = new System.Drawing.Point(6, 34);
- this.fileLockedKeyTextBox.Name = "fileLockedKeyTextBox";
- this.fileLockedKeyTextBox.Placeholder = "Password";
- this.fileLockedKeyTextBox.PlaceholderActiveForeColor = System.Drawing.Color.DarkGray;
- this.fileLockedKeyTextBox.PlaceholderFont = new System.Drawing.Font("Segoe UI", 8.25F);
- this.fileLockedKeyTextBox.PlaceholderForeColor = System.Drawing.Color.DarkGray;
- this.fileLockedKeyTextBox.Size = new System.Drawing.Size(231, 22);
- this.fileLockedKeyTextBox.TabIndex = 8;
- this.fileLockedKeyTextBox.UseSystemPasswordChar = true;
- this.fileLockedKeyTextBox.TextChanged += new System.EventHandler(this.FileLockedKeyTextBox_TextChanged);
- this.fileLockedKeyTextBox.KeyDown += new System.Windows.Forms.KeyEventHandler(this.FileLockedKeyTextBox_KeyDown);
- //
// richTextBox
//
this.richTextBox.AcceptsTab = true;
@@ -1246,7 +1257,7 @@ public void InitializeComponent()
this.richTextBox.ForeColor = System.Drawing.Color.Black;
this.richTextBox.Location = new System.Drawing.Point(0, 0);
this.richTextBox.Name = "richTextBox";
- this.richTextBox.Size = new System.Drawing.Size(502, 184);
+ this.richTextBox.Size = new System.Drawing.Size(542, 224);
this.richTextBox.TabIndex = 16;
this.richTextBox.Text = "";
this.richTextBox.LinkClicked += new System.Windows.Forms.LinkClickedEventHandler(this.RichTextBox_LinkClicked);
@@ -1255,21 +1266,26 @@ public void InitializeComponent()
this.richTextBox.TextChanged += new System.EventHandler(this.RichTextBox_TextChanged);
this.richTextBox.KeyDown += new System.Windows.Forms.KeyEventHandler(this.RichTextBox_KeyDown);
//
- // clearClipboardMainMenu
+ // statusPanelTimer
//
- this.clearClipboardMainMenu.Name = "clearClipboardMainMenu";
- this.clearClipboardMainMenu.ShortcutKeys = ((System.Windows.Forms.Keys)(((System.Windows.Forms.Keys.Control | System.Windows.Forms.Keys.Alt)
- | System.Windows.Forms.Keys.C)));
- this.clearClipboardMainMenu.Size = new System.Drawing.Size(221, 22);
- this.clearClipboardMainMenu.Text = "Clear Clipboard";
- this.clearClipboardMainMenu.Click += new System.EventHandler(this.ClearClipboardMainMenu_Click);
+ this.statusPanelTimer.Interval = 1;
+ this.statusPanelTimer.Tick += new System.EventHandler(this.StatusPanelTimer_Tick);
+ //
+ // lockTimer
+ //
+ this.lockTimer.Tick += new System.EventHandler(this.LockTimer_Tick);
+ //
+ // clipboardTimer
+ //
+ this.clipboardTimer.Interval = 50;
+ this.clipboardTimer.Tick += new System.EventHandler(this.ClipboardTimer_Tick);
//
// MainForm
//
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
this.BackColor = System.Drawing.Color.White;
- this.ClientSize = new System.Drawing.Size(504, 281);
+ this.ClientSize = new System.Drawing.Size(544, 321);
this.Controls.Add(this.richTextBoxPanel);
this.Controls.Add(this.searchPanel);
this.Controls.Add(this.toolbarPanel);
@@ -1421,6 +1437,8 @@ public void InitializeComponent()
private System.Windows.Forms.ToolStripMenuItem readOnlyMainMenu;
protected internal System.Windows.Forms.ToolStripStatusLabel statusPanelReadonlyLabel;
protected internal System.Windows.Forms.ToolStripStatusLabel statusPanelWordwrapLabel;
+ private System.Windows.Forms.ToolStripProgressBar statusPanelClipboardProgressBar;
+ private System.Windows.Forms.Timer clipboardTimer;
private System.Windows.Forms.ToolStripMenuItem clearClipboardMainMenu;
}
}
diff --git a/Crypto Notepad/Forms/MainForm.cs b/Crypto Notepad/Forms/MainForm.cs
index 02c149d..989e0a9 100644
--- a/Crypto Notepad/Forms/MainForm.cs
+++ b/Crypto Notepad/Forms/MainForm.cs
@@ -7,6 +7,7 @@
using System.Linq;
using System.Net;
using System.Reflection;
+using System.Runtime.InteropServices;
using System.Security.Cryptography;
using System.Threading.Tasks;
using System.Windows.Forms;
@@ -391,6 +392,14 @@ private async void StatusPanelMessage(string type)
statusPanelLabel.Text = ready;
}
break;
+ case "clipboard-clear":
+ if (statusPanelLabel.Text != "Clipboard cleared")
+ {
+ statusPanelLabel.Text = "Clipboard cleared";
+ await Task.Delay(3000);
+ statusPanelLabel.Text = ready;
+ }
+ break;
}
}
@@ -605,8 +614,9 @@ public void MenuIcons(bool menuIcons)
deleteMainMenu.Image = Resources.minus;
findMainMenu.Image = Resources.magnifier;
selectAllMainMenu.Image = Resources.selection_input;
+ clearClipboardMainMenu.Image = Resources.clipboard_minus;
wordWrapMainMenu.Image = Resources.wrap_option;
- readOnlyMainMenu.Image = Resources.document__pencil;
+ readOnlyMainMenu.Image = Resources.document_pencil;
clearMainMenu.Image = Resources.document;
changePasswordMainMenu.Image = Resources.key;
lockMainMenu.Image = Resources.lock_warning;
@@ -615,7 +625,7 @@ public void MenuIcons(bool menuIcons)
checkForUpdatesMainMenu.Image = Resources.upload_cloud;
aboutMainMenu.Image = Resources.information;
alwaysOnTopMainMenu.Image = Resources.applications_blue;
- saveCloseFileMainMenu.Image = Resources.disk__minus;
+ saveCloseFileMainMenu.Image = Resources.disk_minus;
passwordGeneratorMainMenu.Image = Resources.key_plus;
}
else
@@ -665,6 +675,19 @@ public void ToolbarIcons(bool oldIcons)
}
}
+
+ public void ClipboardProgressbar()
+ {
+ if (richTextBox.SelectionLength != 0)
+ {
+ if (!string.IsNullOrEmpty(settings.clipboardClearTime))
+ {
+ statusPanelClipboardProgressBar.Value = 100;
+ clipboardTimer.Interval = int.Parse(settings.clipboardClearTime);
+ clipboardTimer.Start();
+ }
+ }
+ }
#endregion
@@ -914,6 +937,11 @@ private void RichTextBox_KeyDown(object sender, KeyEventArgs e)
SearchFindNextButton_MouseUp(null, null);
e.Handled = e.SuppressKeyPress = true;
}
+
+ if (e.Control && e.KeyCode == Keys.C || e.Control && e.KeyCode == Keys.X)
+ {
+ ClipboardProgressbar();
+ }
}
private void RichTextBox_LinkClicked(object sender, LinkClickedEventArgs e)
@@ -1029,6 +1057,24 @@ private void StatusPanelLabel_Click(object sender, EventArgs e)
}
}
}
+
+ private void ClipboardTimer_Tick(object sender, EventArgs e)
+ {
+ if (settings.statusPanelClipboard)
+ {
+ statusPanelClipboardProgressBar.Visible = true;
+ }
+ statusPanelClipboardProgressBar.Value--;
+ if (statusPanelClipboardProgressBar.Value == 0)
+ {
+ Clipboard.Clear();
+ if (settings.statusPanelClipboard)
+ {
+ statusPanelClipboardProgressBar.Visible = false;
+ }
+ clipboardTimer.Stop();
+ }
+ }
#endregion
@@ -1318,11 +1364,13 @@ public void RedoMainMenu_Click(object sender, EventArgs e)
private void CutMainMenu_Click(object sender, EventArgs e)
{
richTextBox.Cut();
+ ClipboardProgressbar();
}
private void CopyMainMenu_Click(object sender, EventArgs e)
{
richTextBox.Copy();
+ ClipboardProgressbar();
}
private void PasteMainMenu_Click(object sender, EventArgs e)
@@ -1375,6 +1423,12 @@ private void SelectAllMainMenu_Click(object sender, EventArgs e)
private void ClearClipboardMainMenu_Click(object sender, EventArgs e)
{
Clipboard.Clear();
+ if (statusPanelClipboardProgressBar.Visible)
+ {
+ statusPanelClipboardProgressBar.Visible = false;
+ clipboardTimer.Stop();
+ }
+ StatusPanelMessage("clipboard-clear");
}
private void ReadOnlyMainMenu_Click(object sender, EventArgs e)
@@ -1958,8 +2012,6 @@ private void VariablesMainMenu_Click(object sender, EventArgs e)
Debug.WriteLine("metadataCorrupt: " + PublicVar.metadataCorrupt);
#endif
}
-
-
#endregion
diff --git a/Crypto Notepad/Forms/MainForm.resx b/Crypto Notepad/Forms/MainForm.resx
index 20a06a9..e3de0ed 100644
--- a/Crypto Notepad/Forms/MainForm.resx
+++ b/Crypto Notepad/Forms/MainForm.resx
@@ -6476,6 +6476,9 @@
1059, 17
+
+ 1163, 17
+
99
diff --git a/Crypto Notepad/Forms/SettingsForm.Designer.cs b/Crypto Notepad/Forms/SettingsForm.Designer.cs
index 2279a9d..eb17673 100644
--- a/Crypto Notepad/Forms/SettingsForm.Designer.cs
+++ b/Crypto Notepad/Forms/SettingsForm.Designer.cs
@@ -44,13 +44,14 @@ private void InitializeComponent()
this.closeToTrayCheckBox = new System.Windows.Forms.CheckBox();
this.minimizeToTrayCheckBox = new System.Windows.Forms.CheckBox();
this.autoLockGroupBox = new System.Windows.Forms.GroupBox();
- this.label1 = new System.Windows.Forms.Label();
+ this.autoLockMinutesLabel = new System.Windows.Forms.Label();
this.autoLockOnMinimizeCheckBox = new System.Windows.Forms.CheckBox();
this.lockTimeoutTextBox = new System.Windows.Forms.PlaceholderTextBox();
this.lockTimeoutLabel = new System.Windows.Forms.Label();
this.interfaceTabPage = new System.Windows.Forms.TabPage();
this.statusPanelGroupBox = new System.Windows.Forms.GroupBox();
this.statusPanelLabelsGroupBox = new System.Windows.Forms.GroupBox();
+ this.statusPanelClipboardCheckBox = new System.Windows.Forms.CheckBox();
this.statusPanelWordwrapCheckBox = new System.Windows.Forms.CheckBox();
this.statusPanelReadonlyCheckBox = new System.Windows.Forms.CheckBox();
this.statusPanelSizeCheckBox = new System.Windows.Forms.CheckBox();
@@ -80,6 +81,8 @@ private void InitializeComponent()
this.searchFontColor = new System.Windows.Forms.Panel();
this.searchBackColor = new System.Windows.Forms.Panel();
this.editorTabPage = new System.Windows.Forms.TabPage();
+ this.clearClipboardTextBox = new System.Windows.Forms.TextBox();
+ this.clearClipboardLabel = new System.Windows.Forms.Label();
this.editorFontLabel = new System.Windows.Forms.Label();
this.fontStyleLabel = new System.Windows.Forms.Label();
this.editorFontColor = new System.Windows.Forms.Panel();
@@ -266,7 +269,7 @@ private void InitializeComponent()
//
// autoLockGroupBox
//
- this.autoLockGroupBox.Controls.Add(this.label1);
+ this.autoLockGroupBox.Controls.Add(this.autoLockMinutesLabel);
this.autoLockGroupBox.Controls.Add(this.autoLockOnMinimizeCheckBox);
this.autoLockGroupBox.Controls.Add(this.lockTimeoutTextBox);
this.autoLockGroupBox.Controls.Add(this.lockTimeoutLabel);
@@ -277,14 +280,14 @@ private void InitializeComponent()
this.autoLockGroupBox.TabStop = false;
this.autoLockGroupBox.Text = "Auto lock";
//
- // label1
+ // autoLockMinutesLabel
//
- this.label1.AutoSize = true;
- this.label1.Location = new System.Drawing.Point(184, 48);
- this.label1.Name = "label1";
- this.label1.Size = new System.Drawing.Size(50, 15);
- this.label1.TabIndex = 0;
- this.label1.Text = "minutes";
+ this.autoLockMinutesLabel.AutoSize = true;
+ this.autoLockMinutesLabel.Location = new System.Drawing.Point(184, 48);
+ this.autoLockMinutesLabel.Name = "autoLockMinutesLabel";
+ this.autoLockMinutesLabel.Size = new System.Drawing.Size(50, 15);
+ this.autoLockMinutesLabel.TabIndex = 0;
+ this.autoLockMinutesLabel.Text = "minutes";
//
// autoLockOnMinimizeCheckBox
//
@@ -352,6 +355,7 @@ private void InitializeComponent()
//
// statusPanelLabelsGroupBox
//
+ this.statusPanelLabelsGroupBox.Controls.Add(this.statusPanelClipboardCheckBox);
this.statusPanelLabelsGroupBox.Controls.Add(this.statusPanelWordwrapCheckBox);
this.statusPanelLabelsGroupBox.Controls.Add(this.statusPanelReadonlyCheckBox);
this.statusPanelLabelsGroupBox.Controls.Add(this.statusPanelSizeCheckBox);
@@ -365,6 +369,17 @@ private void InitializeComponent()
this.statusPanelLabelsGroupBox.TabStop = false;
this.statusPanelLabelsGroupBox.Text = "Labels";
//
+ // statusPanelClipboardCheckBox
+ //
+ this.statusPanelClipboardCheckBox.AutoSize = true;
+ this.statusPanelClipboardCheckBox.Location = new System.Drawing.Point(185, 47);
+ this.statusPanelClipboardCheckBox.Name = "statusPanelClipboardCheckBox";
+ this.statusPanelClipboardCheckBox.Size = new System.Drawing.Size(78, 19);
+ this.statusPanelClipboardCheckBox.TabIndex = 14;
+ this.statusPanelClipboardCheckBox.Text = "Clipboard";
+ this.statusPanelClipboardCheckBox.UseVisualStyleBackColor = true;
+ this.statusPanelClipboardCheckBox.Click += new System.EventHandler(this.StatusPanelClipboardCheckBox_Click);
+ //
// statusPanelWordwrapCheckBox
//
this.statusPanelWordwrapCheckBox.AutoSize = true;
@@ -676,6 +691,8 @@ private void InitializeComponent()
this.editorTabPage.AutoScroll = true;
this.editorTabPage.BackColor = System.Drawing.SystemColors.Window;
this.editorTabPage.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
+ this.editorTabPage.Controls.Add(this.clearClipboardTextBox);
+ this.editorTabPage.Controls.Add(this.clearClipboardLabel);
this.editorTabPage.Controls.Add(this.editorFontLabel);
this.editorTabPage.Controls.Add(this.fontStyleLabel);
this.editorTabPage.Controls.Add(this.editorFontColor);
@@ -697,6 +714,24 @@ private void InitializeComponent()
this.editorTabPage.TabIndex = 0;
this.editorTabPage.Text = "edt";
//
+ // clearClipboardTextBox
+ //
+ this.clearClipboardTextBox.Location = new System.Drawing.Point(178, 210);
+ this.clearClipboardTextBox.Name = "clearClipboardTextBox";
+ this.clearClipboardTextBox.Size = new System.Drawing.Size(140, 23);
+ this.clearClipboardTextBox.TabIndex = 25;
+ this.settingsToolTip.SetToolTip(this.clearClipboardTextBox, "Time in seconds");
+ this.clearClipboardTextBox.TextChanged += new System.EventHandler(this.ClearClipboardTextBox_TextChanged);
+ //
+ // clearClipboardLabel
+ //
+ this.clearClipboardLabel.AutoSize = true;
+ this.clearClipboardLabel.Location = new System.Drawing.Point(6, 213);
+ this.clearClipboardLabel.Name = "clearClipboardLabel";
+ this.clearClipboardLabel.Size = new System.Drawing.Size(143, 15);
+ this.clearClipboardLabel.TabIndex = 24;
+ this.clearClipboardLabel.Text = "Clipboard auto-clear time";
+ //
// editorFontLabel
//
this.editorFontLabel.BackColor = System.Drawing.SystemColors.Control;
@@ -1084,8 +1119,11 @@ private void InitializeComponent()
private System.Windows.Forms.GroupBox toolbarGroupBox;
private System.Windows.Forms.GroupBox searchPanelGroupBox;
private System.Windows.Forms.Label editorFontLabel;
- private System.Windows.Forms.Label label1;
+ private System.Windows.Forms.Label autoLockMinutesLabel;
private System.Windows.Forms.CheckBox statusPanelWordwrapCheckBox;
private System.Windows.Forms.CheckBox statusPanelReadonlyCheckBox;
+ private System.Windows.Forms.TextBox clearClipboardTextBox;
+ private System.Windows.Forms.Label clearClipboardLabel;
+ private System.Windows.Forms.CheckBox statusPanelClipboardCheckBox;
}
}
\ No newline at end of file
diff --git a/Crypto Notepad/Forms/SettingsForm.cs b/Crypto Notepad/Forms/SettingsForm.cs
index 631dac0..8e4cd73 100644
--- a/Crypto Notepad/Forms/SettingsForm.cs
+++ b/Crypto Notepad/Forms/SettingsForm.cs
@@ -21,6 +21,10 @@ private void LoadSettings()
editorFontColor.BackColor = settings.editroForeColor;
editorBackColor.BackColor = settings.editorBackColor;
editorInsertKeyComboBox.Text = settings.insertKey;
+ if (settings.clipboardClearTime != "")
+ {
+ clearClipboardTextBox.Text = settings.clipboardClearTime.Remove(settings.clipboardClearTime.Length - 1);
+ }
editorPaddingLeftTextBox.Text = settings.editorPaddingLeft;
editorOpenLinksWithComboBox.Text = settings.openLinks;
editorBorderComboBox.Text = settings.editorBorder;
@@ -57,6 +61,7 @@ private void LoadSettings()
statusPanelSizeCheckBox.Checked = settings.statusPanelSize;
statusPanelReadonlyCheckBox.Checked = settings.statusPanelReadonly;
statusPanelWordwrapCheckBox.Checked = settings.statusPanelWordWrap;
+ statusPanelClipboardCheckBox.Checked = settings.statusPanelClipboard;
encryptionHintLabel.Visible = settings.encryptionHint;
}
#endregion
@@ -585,5 +590,23 @@ private void StatusPanelWordwrapCheckBox_Click(object sender, EventArgs e)
settings.statusPanelWordWrap = statusPanelWordwrapCheckBox.Checked;
main.StatusPanelFileInfo();
}
+ private void StatusPanelClipboardCheckBox_Click(object sender, EventArgs e)
+ {
+ settings.statusPanelClipboard = statusPanelClipboardCheckBox.Checked;
+ }
+
+ private void ClearClipboardTextBox_TextChanged(object sender, EventArgs e)
+ {
+ if (clearClipboardTextBox.Text == "" || clearClipboardTextBox.Text == "0")
+ {
+ settings.clipboardClearTime = "";
+ }
+ else
+ {
+ settings.clipboardClearTime = clearClipboardTextBox.Text + 0;
+ }
+ }
+
+
}
}
\ No newline at end of file
diff --git a/Crypto Notepad/Forms/SettingsForm.resx b/Crypto Notepad/Forms/SettingsForm.resx
index d91cc4e..1961532 100644
--- a/Crypto Notepad/Forms/SettingsForm.resx
+++ b/Crypto Notepad/Forms/SettingsForm.resx
@@ -120,6 +120,9 @@
17, 17
+
+ 240, 17
+
For the best balance of performance && security is recommended to use SHA512 Hash / 256 Key size / above 2000000 Password iterations. But caution, if you change this parameters you will not able to decrypt previously encrypted files with old parameters.
@@ -130,7 +133,7 @@
131, 17
- 50
+ 74
diff --git a/Crypto Notepad/Properties/Resources.Designer.cs b/Crypto Notepad/Properties/Resources.Designer.cs
index 6552f23..b28a415 100644
--- a/Crypto Notepad/Properties/Resources.Designer.cs
+++ b/Crypto Notepad/Properties/Resources.Designer.cs
@@ -1,10 +1,10 @@
//------------------------------------------------------------------------------
//
-// Этот код создан программой.
-// Исполняемая версия:4.0.30319.42000
+// This code was generated by a tool.
+// Runtime Version:4.0.30319.42000
//
-// Изменения в этом файле могут привести к неправильной работе и будут потеряны в случае
-// повторной генерации кода.
+// Changes to this file may cause incorrect behavior and will be lost if
+// the code is regenerated.
//
//------------------------------------------------------------------------------
@@ -13,12 +13,12 @@ namespace Crypto_Notepad.Properties {
///
- /// Класс ресурса со строгой типизацией для поиска локализованных строк и т.д.
+ /// A strongly-typed resource class, for looking up localized strings, etc.
///
- // Этот класс создан автоматически классом StronglyTypedResourceBuilder
- // с помощью такого средства, как ResGen или Visual Studio.
- // Чтобы добавить или удалить член, измените файл .ResX и снова запустите ResGen
- // с параметром /str или перестройте свой проект VS.
+ // This class was auto-generated by the StronglyTypedResourceBuilder
+ // class via a tool like ResGen or Visual Studio.
+ // To add or remove a member, edit your .ResX file then rerun ResGen
+ // with the /str option, or rebuild your VS project.
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Resources.Tools.StronglyTypedResourceBuilder", "16.0.0.0")]
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()]
@@ -33,7 +33,7 @@ internal Resources() {
}
///
- /// Возвращает кэшированный экземпляр ResourceManager, использованный этим классом.
+ /// Returns the cached ResourceManager instance used by this class.
///
[global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)]
internal static global::System.Resources.ResourceManager ResourceManager {
@@ -47,8 +47,8 @@ internal Resources() {
}
///
- /// Перезаписывает свойство CurrentUICulture текущего потока для всех
- /// обращений к ресурсу с помощью этого класса ресурса со строгой типизацией.
+ /// Overrides the current thread's CurrentUICulture property for all
+ /// resource lookups using this strongly typed resource class.
///
[global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)]
internal static global::System.Globalization.CultureInfo Culture {
@@ -61,7 +61,7 @@ internal Resources() {
}
///
- /// Поиск локализованного ресурса типа System.Drawing.Bitmap.
+ /// Looks up a localized resource of type System.Drawing.Bitmap.
///
internal static System.Drawing.Bitmap application_blue {
get {
@@ -71,7 +71,7 @@ internal static System.Drawing.Bitmap application_blue {
}
///
- /// Поиск локализованного ресурса типа System.Drawing.Bitmap.
+ /// Looks up a localized resource of type System.Drawing.Bitmap.
///
internal static System.Drawing.Bitmap applications_blue {
get {
@@ -81,7 +81,7 @@ internal static System.Drawing.Bitmap applications_blue {
}
///
- /// Поиск локализованного ресурса типа System.Drawing.Bitmap.
+ /// Looks up a localized resource of type System.Drawing.Bitmap.
///
internal static System.Drawing.Bitmap arrow_left {
get {
@@ -91,7 +91,7 @@ internal static System.Drawing.Bitmap arrow_left {
}
///
- /// Поиск локализованного ресурса типа System.Drawing.Bitmap.
+ /// Looks up a localized resource of type System.Drawing.Bitmap.
///
internal static System.Drawing.Bitmap arrow_right {
get {
@@ -101,7 +101,7 @@ internal static System.Drawing.Bitmap arrow_right {
}
///
- /// Поиск локализованного ресурса типа System.Drawing.Bitmap.
+ /// Looks up a localized resource of type System.Drawing.Bitmap.
///
internal static System.Drawing.Bitmap big_lock {
get {
@@ -111,7 +111,7 @@ internal static System.Drawing.Bitmap big_lock {
}
///
- /// Поиск локализованного ресурса типа System.Drawing.Bitmap.
+ /// Looks up a localized resource of type System.Drawing.Bitmap.
///
internal static System.Drawing.Bitmap clipboard {
get {
@@ -121,7 +121,17 @@ internal static System.Drawing.Bitmap clipboard {
}
///
- /// Поиск локализованного ресурса типа System.Drawing.Bitmap.
+ /// Looks up a localized resource of type System.Drawing.Bitmap.
+ ///
+ internal static System.Drawing.Bitmap clipboard_minus {
+ get {
+ object obj = ResourceManager.GetObject("clipboard_minus", resourceCulture);
+ return ((System.Drawing.Bitmap)(obj));
+ }
+ }
+
+ ///
+ /// Looks up a localized resource of type System.Drawing.Bitmap.
///
internal static System.Drawing.Bitmap cross_button {
get {
@@ -131,17 +141,17 @@ internal static System.Drawing.Bitmap cross_button {
}
///
- /// Поиск локализованного ресурса типа System.Drawing.Bitmap.
+ /// Looks up a localized resource of type System.Drawing.Bitmap.
///
- internal static System.Drawing.Bitmap disk__minus {
+ internal static System.Drawing.Bitmap disk_minus {
get {
- object obj = ResourceManager.GetObject("disk__minus", resourceCulture);
+ object obj = ResourceManager.GetObject("disk_minus", resourceCulture);
return ((System.Drawing.Bitmap)(obj));
}
}
///
- /// Поиск локализованного ресурса типа System.Drawing.Bitmap.
+ /// Looks up a localized resource of type System.Drawing.Bitmap.
///
internal static System.Drawing.Bitmap disk_return_black {
get {
@@ -151,7 +161,7 @@ internal static System.Drawing.Bitmap disk_return_black {
}
///
- /// Поиск локализованного ресурса типа System.Drawing.Bitmap.
+ /// Looks up a localized resource of type System.Drawing.Bitmap.
///
internal static System.Drawing.Bitmap disks_black {
get {
@@ -161,7 +171,7 @@ internal static System.Drawing.Bitmap disks_black {
}
///
- /// Поиск локализованного ресурса типа System.Drawing.Bitmap.
+ /// Looks up a localized resource of type System.Drawing.Bitmap.
///
internal static System.Drawing.Bitmap document {
get {
@@ -171,17 +181,7 @@ internal static System.Drawing.Bitmap document {
}
///
- /// Поиск локализованного ресурса типа System.Drawing.Bitmap.
- ///
- internal static System.Drawing.Bitmap document__pencil {
- get {
- object obj = ResourceManager.GetObject("document__pencil", resourceCulture);
- return ((System.Drawing.Bitmap)(obj));
- }
- }
-
- ///
- /// Поиск локализованного ресурса типа System.Drawing.Bitmap.
+ /// Looks up a localized resource of type System.Drawing.Bitmap.
///
internal static System.Drawing.Bitmap document_copy {
get {
@@ -191,7 +191,7 @@ internal static System.Drawing.Bitmap document_copy {
}
///
- /// Поиск локализованного ресурса типа System.Drawing.Bitmap.
+ /// Looks up a localized resource of type System.Drawing.Bitmap.
///
internal static System.Drawing.Bitmap document_minus {
get {
@@ -201,7 +201,17 @@ internal static System.Drawing.Bitmap document_minus {
}
///
- /// Поиск локализованного ресурса типа System.Drawing.Bitmap.
+ /// Looks up a localized resource of type System.Drawing.Bitmap.
+ ///
+ internal static System.Drawing.Bitmap document_pencil {
+ get {
+ object obj = ResourceManager.GetObject("document_pencil", resourceCulture);
+ return ((System.Drawing.Bitmap)(obj));
+ }
+ }
+
+ ///
+ /// Looks up a localized resource of type System.Drawing.Bitmap.
///
internal static System.Drawing.Bitmap document_plus {
get {
@@ -211,7 +221,7 @@ internal static System.Drawing.Bitmap document_plus {
}
///
- /// Поиск локализованного ресурса типа System.Drawing.Bitmap.
+ /// Looks up a localized resource of type System.Drawing.Bitmap.
///
internal static System.Drawing.Bitmap document_text {
get {
@@ -221,7 +231,7 @@ internal static System.Drawing.Bitmap document_text {
}
///
- /// Поиск локализованного ресурса типа System.Drawing.Bitmap.
+ /// Looks up a localized resource of type System.Drawing.Bitmap.
///
internal static System.Drawing.Bitmap eye {
get {
@@ -231,7 +241,7 @@ internal static System.Drawing.Bitmap eye {
}
///
- /// Поиск локализованного ресурса типа System.Drawing.Bitmap.
+ /// Looks up a localized resource of type System.Drawing.Bitmap.
///
internal static System.Drawing.Bitmap eye_half {
get {
@@ -241,7 +251,7 @@ internal static System.Drawing.Bitmap eye_half {
}
///
- /// Поиск локализованного ресурса типа System.Drawing.Bitmap.
+ /// Looks up a localized resource of type System.Drawing.Bitmap.
///
internal static System.Drawing.Bitmap folder_horizontal {
get {
@@ -251,7 +261,7 @@ internal static System.Drawing.Bitmap folder_horizontal {
}
///
- /// Поиск локализованного ресурса типа System.Drawing.Bitmap.
+ /// Looks up a localized resource of type System.Drawing.Bitmap.
///
internal static System.Drawing.Bitmap folder_open_document {
get {
@@ -261,7 +271,7 @@ internal static System.Drawing.Bitmap folder_open_document {
}
///
- /// Поиск локализованного ресурса типа System.Drawing.Bitmap.
+ /// Looks up a localized resource of type System.Drawing.Bitmap.
///
internal static System.Drawing.Bitmap gear {
get {
@@ -271,7 +281,7 @@ internal static System.Drawing.Bitmap gear {
}
///
- /// Поиск локализованного ресурса типа System.Drawing.Bitmap.
+ /// Looks up a localized resource of type System.Drawing.Bitmap.
///
internal static System.Drawing.Bitmap gnupg_keys {
get {
@@ -281,7 +291,7 @@ internal static System.Drawing.Bitmap gnupg_keys {
}
///
- /// Поиск локализованного ресурса типа System.Drawing.Bitmap.
+ /// Looks up a localized resource of type System.Drawing.Bitmap.
///
internal static System.Drawing.Bitmap information {
get {
@@ -291,7 +301,7 @@ internal static System.Drawing.Bitmap information {
}
///
- /// Поиск локализованного ресурса типа System.Drawing.Bitmap.
+ /// Looks up a localized resource of type System.Drawing.Bitmap.
///
internal static System.Drawing.Bitmap key {
get {
@@ -301,7 +311,7 @@ internal static System.Drawing.Bitmap key {
}
///
- /// Поиск локализованного ресурса типа System.Drawing.Bitmap.
+ /// Looks up a localized resource of type System.Drawing.Bitmap.
///
internal static System.Drawing.Bitmap key_plus {
get {
@@ -311,7 +321,7 @@ internal static System.Drawing.Bitmap key_plus {
}
///
- /// Поиск локализованного ресурса типа System.Drawing.Bitmap.
+ /// Looks up a localized resource of type System.Drawing.Bitmap.
///
internal static System.Drawing.Bitmap key_solid {
get {
@@ -321,7 +331,7 @@ internal static System.Drawing.Bitmap key_solid {
}
///
- /// Поиск локализованного ресурса типа System.Drawing.Bitmap.
+ /// Looks up a localized resource of type System.Drawing.Bitmap.
///
internal static System.Drawing.Bitmap lock_warning {
get {
@@ -331,7 +341,7 @@ internal static System.Drawing.Bitmap lock_warning {
}
///
- /// Поиск локализованного ресурса типа System.Drawing.Bitmap.
+ /// Looks up a localized resource of type System.Drawing.Bitmap.
///
internal static System.Drawing.Bitmap magnifier {
get {
@@ -341,7 +351,7 @@ internal static System.Drawing.Bitmap magnifier {
}
///
- /// Поиск локализованного ресурса типа System.Drawing.Bitmap.
+ /// Looks up a localized resource of type System.Drawing.Bitmap.
///
internal static System.Drawing.Bitmap minus {
get {
@@ -351,7 +361,7 @@ internal static System.Drawing.Bitmap minus {
}
///
- /// Поиск локализованного ресурса типа System.Drawing.Bitmap.
+ /// Looks up a localized resource of type System.Drawing.Bitmap.
///
internal static System.Drawing.Bitmap notepad_lock {
get {
@@ -361,7 +371,7 @@ internal static System.Drawing.Bitmap notepad_lock {
}
///
- /// Поиск локализованного ресурса типа System.Drawing.Bitmap.
+ /// Looks up a localized resource of type System.Drawing.Bitmap.
///
internal static System.Drawing.Bitmap old_application_double {
get {
@@ -371,7 +381,7 @@ internal static System.Drawing.Bitmap old_application_double {
}
///
- /// Поиск локализованного ресурса типа System.Drawing.Bitmap.
+ /// Looks up a localized resource of type System.Drawing.Bitmap.
///
internal static System.Drawing.Bitmap old_cut_red {
get {
@@ -381,7 +391,7 @@ internal static System.Drawing.Bitmap old_cut_red {
}
///
- /// Поиск локализованного ресурса типа System.Drawing.Bitmap.
+ /// Looks up a localized resource of type System.Drawing.Bitmap.
///
internal static System.Drawing.Bitmap old_diskette {
get {
@@ -391,7 +401,7 @@ internal static System.Drawing.Bitmap old_diskette {
}
///
- /// Поиск локализованного ресурса типа System.Drawing.Bitmap.
+ /// Looks up a localized resource of type System.Drawing.Bitmap.
///
internal static System.Drawing.Bitmap old_folder_stand {
get {
@@ -401,7 +411,7 @@ internal static System.Drawing.Bitmap old_folder_stand {
}
///
- /// Поиск локализованного ресурса типа System.Drawing.Bitmap.
+ /// Looks up a localized resource of type System.Drawing.Bitmap.
///
internal static System.Drawing.Bitmap old_folder_vertical_document {
get {
@@ -411,7 +421,7 @@ internal static System.Drawing.Bitmap old_folder_vertical_document {
}
///
- /// Поиск локализованного ресурса типа System.Drawing.Bitmap.
+ /// Looks up a localized resource of type System.Drawing.Bitmap.
///
internal static System.Drawing.Bitmap old_lock {
get {
@@ -421,7 +431,7 @@ internal static System.Drawing.Bitmap old_lock {
}
///
- /// Поиск локализованного ресурса типа System.Drawing.Bitmap.
+ /// Looks up a localized resource of type System.Drawing.Bitmap.
///
internal static System.Drawing.Bitmap old_page_white_add {
get {
@@ -431,7 +441,7 @@ internal static System.Drawing.Bitmap old_page_white_add {
}
///
- /// Поиск локализованного ресурса типа System.Drawing.Bitmap.
+ /// Looks up a localized resource of type System.Drawing.Bitmap.
///
internal static System.Drawing.Bitmap old_page_white_copy {
get {
@@ -441,7 +451,7 @@ internal static System.Drawing.Bitmap old_page_white_copy {
}
///
- /// Поиск локализованного ресурса типа System.Drawing.Bitmap.
+ /// Looks up a localized resource of type System.Drawing.Bitmap.
///
internal static System.Drawing.Bitmap old_page_white_delete {
get {
@@ -451,7 +461,7 @@ internal static System.Drawing.Bitmap old_page_white_delete {
}
///
- /// Поиск локализованного ресурса типа System.Drawing.Bitmap.
+ /// Looks up a localized resource of type System.Drawing.Bitmap.
///
internal static System.Drawing.Bitmap old_page_white_key {
get {
@@ -461,7 +471,7 @@ internal static System.Drawing.Bitmap old_page_white_key {
}
///
- /// Поиск локализованного ресурса типа System.Drawing.Bitmap.
+ /// Looks up a localized resource of type System.Drawing.Bitmap.
///
internal static System.Drawing.Bitmap old_paste_plain {
get {
@@ -471,7 +481,7 @@ internal static System.Drawing.Bitmap old_paste_plain {
}
///
- /// Поиск локализованного ресурса типа System.Drawing.Bitmap.
+ /// Looks up a localized resource of type System.Drawing.Bitmap.
///
internal static System.Drawing.Bitmap old_setting_tools {
get {
@@ -481,7 +491,7 @@ internal static System.Drawing.Bitmap old_setting_tools {
}
///
- /// Поиск локализованного ресурса типа System.Drawing.Bitmap.
+ /// Looks up a localized resource of type System.Drawing.Bitmap.
///
internal static System.Drawing.Bitmap scissors {
get {
@@ -491,7 +501,7 @@ internal static System.Drawing.Bitmap scissors {
}
///
- /// Поиск локализованного ресурса типа System.Drawing.Bitmap.
+ /// Looks up a localized resource of type System.Drawing.Bitmap.
///
internal static System.Drawing.Bitmap selection_input {
get {
@@ -501,7 +511,7 @@ internal static System.Drawing.Bitmap selection_input {
}
///
- /// Поиск локализованного ресурса типа System.Byte[].
+ /// Looks up a localized resource of type System.Byte[].
///
internal static byte[] Updater {
get {
@@ -511,7 +521,7 @@ internal static byte[] Updater {
}
///
- /// Поиск локализованного ресурса типа System.Drawing.Bitmap.
+ /// Looks up a localized resource of type System.Drawing.Bitmap.
///
internal static System.Drawing.Bitmap upload_cloud {
get {
@@ -521,7 +531,7 @@ internal static System.Drawing.Bitmap upload_cloud {
}
///
- /// Поиск локализованного ресурса типа System.Drawing.Bitmap.
+ /// Looks up a localized resource of type System.Drawing.Bitmap.
///
internal static System.Drawing.Bitmap wrap_option {
get {
diff --git a/Crypto Notepad/Properties/Resources.resx b/Crypto Notepad/Properties/Resources.resx
index 95838f2..6217b31 100644
--- a/Crypto Notepad/Properties/Resources.resx
+++ b/Crypto Notepad/Properties/Resources.resx
@@ -1022,7 +1022,7 @@
gV9f9O+B/QDSyg0U5iAfSgAAAABJRU5ErkJggg==
-
+
iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABGdBTUEAALGPC/xhBQAAABl0RVh0U29m
dHdhcmUAQWRvYmUgSW1hZ2VSZWFkeXHJZTwAAAHqSURBVDhPpc5dSFNxGMfxZ2e7l/QiiIiie2WOoNuI
@@ -1053,7 +1053,34 @@
v9NGpIh8+DiHAAAAAElFTkSuQmCC
-
- ..\Resources\document--pencil.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
+
+
+ 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/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==
+
\ No newline at end of file
diff --git a/Crypto Notepad/Properties/Settings.Designer.cs b/Crypto Notepad/Properties/Settings.Designer.cs
index 101090c..1905de8 100644
--- a/Crypto Notepad/Properties/Settings.Designer.cs
+++ b/Crypto Notepad/Properties/Settings.Designer.cs
@@ -1,10 +1,10 @@
//------------------------------------------------------------------------------
//
-// Этот код создан программой.
-// Исполняемая версия:4.0.30319.42000
+// This code was generated by a tool.
+// Runtime Version:4.0.30319.42000
//
-// Изменения в этом файле могут привести к неправильной работе и будут потеряны в случае
-// повторной генерации кода.
+// Changes to this file may cause incorrect behavior and will be lost if
+// the code is regenerated.
//
//------------------------------------------------------------------------------
@@ -751,5 +751,31 @@ public bool statusPanelWordWrap {
this["statusPanelWordWrap"] = value;
}
}
+
+ [global::System.Configuration.UserScopedSettingAttribute()]
+ [global::System.Configuration.SettingsProviderAttribute(typeof(PortableSettingsProvider))]
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.Configuration.DefaultSettingValueAttribute("")]
+ public string clipboardClearTime {
+ get {
+ return ((string)(this["clipboardClearTime"]));
+ }
+ set {
+ this["clipboardClearTime"] = value;
+ }
+ }
+
+ [global::System.Configuration.UserScopedSettingAttribute()]
+ [global::System.Configuration.SettingsProviderAttribute(typeof(PortableSettingsProvider))]
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.Configuration.DefaultSettingValueAttribute("False")]
+ public bool statusPanelClipboard {
+ get {
+ return ((bool)(this["statusPanelClipboard"]));
+ }
+ set {
+ this["statusPanelClipboard"] = value;
+ }
+ }
}
}
diff --git a/Crypto Notepad/Properties/Settings.settings b/Crypto Notepad/Properties/Settings.settings
index cab7238..9fde883 100644
--- a/Crypto Notepad/Properties/Settings.settings
+++ b/Crypto Notepad/Properties/Settings.settings
@@ -170,5 +170,11 @@
True
+
+
+
+
+ False
+
\ No newline at end of file
diff --git a/Crypto Notepad/Resources/document--pencil.png b/Crypto Notepad/Resources/document--pencil.png
deleted file mode 100644
index 775dfcd..0000000
Binary files a/Crypto Notepad/Resources/document--pencil.png and /dev/null differ