Auto-clear clipboard after copy text from the editor

This commit is contained in:
Alexander 2020-01-17 23:43:15 +02:00
parent 4903a4f91d
commit 05cf0f19ff
No known key found for this signature in database
GPG key ID: 1F83313BFEB322E9
13 changed files with 380 additions and 169 deletions

View file

@ -180,6 +180,12 @@
<setting name="statusPanelWordWrap" serializeAs="String"> <setting name="statusPanelWordWrap" serializeAs="String">
<value>True</value> <value>True</value>
</setting> </setting>
<setting name="clipboardClearTime" serializeAs="String">
<value />
</setting>
<setting name="statusPanelClipboard" serializeAs="String">
<value>False</value>
</setting>
</Crypto_Notepad.Properties.Settings> </Crypto_Notepad.Properties.Settings>
</userSettings> </userSettings>
</configuration> </configuration>

View file

@ -199,7 +199,6 @@
<None Include="App.config" /> <None Include="App.config" />
</ItemGroup> </ItemGroup>
<ItemGroup> <ItemGroup>
<None Include="Resources\document--pencil.png" />
<None Include="Resources\Updater.exe" /> <None Include="Resources\Updater.exe" />
<Content Include="Notepad_Lock.ico" /> <Content Include="Notepad_Lock.ico" />
</ItemGroup> </ItemGroup>

View file

@ -55,6 +55,7 @@ public void InitializeComponent()
this.findMainMenu = new System.Windows.Forms.ToolStripMenuItem(); this.findMainMenu = new System.Windows.Forms.ToolStripMenuItem();
this.mainMenuSeparator6 = new System.Windows.Forms.ToolStripSeparator(); this.mainMenuSeparator6 = new System.Windows.Forms.ToolStripSeparator();
this.selectAllMainMenu = new System.Windows.Forms.ToolStripMenuItem(); this.selectAllMainMenu = new System.Windows.Forms.ToolStripMenuItem();
this.clearClipboardMainMenu = new System.Windows.Forms.ToolStripMenuItem();
this.wordWrapMainMenu = new System.Windows.Forms.ToolStripMenuItem(); this.wordWrapMainMenu = new System.Windows.Forms.ToolStripMenuItem();
this.readOnlyMainMenu = new System.Windows.Forms.ToolStripMenuItem(); this.readOnlyMainMenu = new System.Windows.Forms.ToolStripMenuItem();
this.mainMenuSeparator7 = new System.Windows.Forms.ToolStripSeparator(); this.mainMenuSeparator7 = new System.Windows.Forms.ToolStripSeparator();
@ -114,6 +115,8 @@ public void InitializeComponent()
this.statusPanelModifiedLabel = new System.Windows.Forms.ToolStripStatusLabel(); this.statusPanelModifiedLabel = new System.Windows.Forms.ToolStripStatusLabel();
this.statusPanelSizeLabel = new System.Windows.Forms.ToolStripStatusLabel(); this.statusPanelSizeLabel = new System.Windows.Forms.ToolStripStatusLabel();
this.statusPanelReadonlyLabel = 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.trayIcon = new System.Windows.Forms.NotifyIcon(this.components);
this.trayMenu = new System.Windows.Forms.ContextMenuStrip(this.components); this.trayMenu = new System.Windows.Forms.ContextMenuStrip(this.components);
this.showTrayMenu = new System.Windows.Forms.ToolStripMenuItem(); this.showTrayMenu = new System.Windows.Forms.ToolStripMenuItem();
@ -121,16 +124,15 @@ public void InitializeComponent()
this.fileLockedPanel = new System.Windows.Forms.Panel(); this.fileLockedPanel = new System.Windows.Forms.Panel();
this.fileLockedCloseButton = new System.Windows.Forms.Button(); this.fileLockedCloseButton = new System.Windows.Forms.Button();
this.fileLockedOkButton = 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.fileLockedShowKey = new System.Windows.Forms.PictureBox();
this.fileLockedLabel = new System.Windows.Forms.Label(); this.fileLockedLabel = new System.Windows.Forms.Label();
this.toolTip = new System.Windows.Forms.ToolTip(this.components); this.toolTip = new System.Windows.Forms.ToolTip(this.components);
this.richTextBoxPanel = new System.Windows.Forms.Panel(); this.richTextBoxPanel = new System.Windows.Forms.Panel();
this.richTextBox = new Crypto_Notepad.ExRichTextBox();
this.statusPanelTimer = new System.Windows.Forms.Timer(this.components); this.statusPanelTimer = new System.Windows.Forms.Timer(this.components);
this.lockTimer = new System.Windows.Forms.Timer(this.components); this.lockTimer = new System.Windows.Forms.Timer(this.components);
this.statusPanelWordwrapLabel = new System.Windows.Forms.ToolStripStatusLabel(); this.clipboardTimer = new System.Windows.Forms.Timer(this.components);
this.fileLockedKeyTextBox = new System.Windows.Forms.PlaceholderTextBox();
this.richTextBox = new Crypto_Notepad.ExRichTextBox();
this.clearClipboardMainMenu = new System.Windows.Forms.ToolStripMenuItem();
this.mainMenu.SuspendLayout(); this.mainMenu.SuspendLayout();
this.contextMenu.SuspendLayout(); this.contextMenu.SuspendLayout();
this.searchPanel.SuspendLayout(); this.searchPanel.SuspendLayout();
@ -167,7 +169,7 @@ public void InitializeComponent()
this.mainMenu.Location = new System.Drawing.Point(0, 0); this.mainMenu.Location = new System.Drawing.Point(0, 0);
this.mainMenu.Name = "mainMenu"; this.mainMenu.Name = "mainMenu";
this.mainMenu.Padding = new System.Windows.Forms.Padding(0); 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.TabIndex = 0;
this.mainMenu.Text = "menuStrip1"; this.mainMenu.Text = "menuStrip1";
// //
@ -303,7 +305,7 @@ public void InitializeComponent()
// //
this.undoMainMenu.Name = "undoMainMenu"; this.undoMainMenu.Name = "undoMainMenu";
this.undoMainMenu.ShortcutKeys = ((System.Windows.Forms.Keys)((System.Windows.Forms.Keys.Control | System.Windows.Forms.Keys.Z))); 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.Text = "Undo";
this.undoMainMenu.Click += new System.EventHandler(this.UndoMainMenu_Click); this.undoMainMenu.Click += new System.EventHandler(this.UndoMainMenu_Click);
// //
@ -311,21 +313,21 @@ public void InitializeComponent()
// //
this.redoMainMenu.Name = "redoMainMenu"; this.redoMainMenu.Name = "redoMainMenu";
this.redoMainMenu.ShortcutKeys = ((System.Windows.Forms.Keys)((System.Windows.Forms.Keys.Control | System.Windows.Forms.Keys.Y))); 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.Text = "Redo";
this.redoMainMenu.Click += new System.EventHandler(this.RedoMainMenu_Click); this.redoMainMenu.Click += new System.EventHandler(this.RedoMainMenu_Click);
// //
// mainMenuSeparator4 // mainMenuSeparator4
// //
this.mainMenuSeparator4.Name = "mainMenuSeparator4"; this.mainMenuSeparator4.Name = "mainMenuSeparator4";
this.mainMenuSeparator4.Size = new System.Drawing.Size(177, 6); this.mainMenuSeparator4.Size = new System.Drawing.Size(218, 6);
// //
// cutMainMenu // cutMainMenu
// //
this.cutMainMenu.Enabled = false; this.cutMainMenu.Enabled = false;
this.cutMainMenu.Name = "cutMainMenu"; this.cutMainMenu.Name = "cutMainMenu";
this.cutMainMenu.ShortcutKeys = ((System.Windows.Forms.Keys)((System.Windows.Forms.Keys.Control | System.Windows.Forms.Keys.X))); 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.Text = "Cut";
this.cutMainMenu.Click += new System.EventHandler(this.CutMainMenu_Click); this.cutMainMenu.Click += new System.EventHandler(this.CutMainMenu_Click);
// //
@ -334,7 +336,7 @@ public void InitializeComponent()
this.copyMainMenu.Enabled = false; this.copyMainMenu.Enabled = false;
this.copyMainMenu.Name = "copyMainMenu"; this.copyMainMenu.Name = "copyMainMenu";
this.copyMainMenu.ShortcutKeys = ((System.Windows.Forms.Keys)((System.Windows.Forms.Keys.Control | System.Windows.Forms.Keys.C))); 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.Text = "Copy";
this.copyMainMenu.Click += new System.EventHandler(this.CopyMainMenu_Click); this.copyMainMenu.Click += new System.EventHandler(this.CopyMainMenu_Click);
// //
@ -342,7 +344,7 @@ public void InitializeComponent()
// //
this.pasteMainMenu.Name = "pasteMainMenu"; this.pasteMainMenu.Name = "pasteMainMenu";
this.pasteMainMenu.ShortcutKeys = ((System.Windows.Forms.Keys)((System.Windows.Forms.Keys.Control | System.Windows.Forms.Keys.V))); 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.Text = "Paste";
this.pasteMainMenu.Click += new System.EventHandler(this.PasteMainMenu_Click); this.pasteMainMenu.Click += new System.EventHandler(this.PasteMainMenu_Click);
// //
@ -351,37 +353,46 @@ public void InitializeComponent()
this.deleteMainMenu.Enabled = false; this.deleteMainMenu.Enabled = false;
this.deleteMainMenu.Name = "deleteMainMenu"; this.deleteMainMenu.Name = "deleteMainMenu";
this.deleteMainMenu.ShortcutKeys = System.Windows.Forms.Keys.Delete; 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.Text = "Delete";
this.deleteMainMenu.Click += new System.EventHandler(this.DeleteMainMenu_Click); this.deleteMainMenu.Click += new System.EventHandler(this.DeleteMainMenu_Click);
// //
// mainMenuSeparator5 // mainMenuSeparator5
// //
this.mainMenuSeparator5.Name = "mainMenuSeparator5"; this.mainMenuSeparator5.Name = "mainMenuSeparator5";
this.mainMenuSeparator5.Size = new System.Drawing.Size(177, 6); this.mainMenuSeparator5.Size = new System.Drawing.Size(218, 6);
// //
// findMainMenu // findMainMenu
// //
this.findMainMenu.Name = "findMainMenu"; this.findMainMenu.Name = "findMainMenu";
this.findMainMenu.ShortcutKeys = ((System.Windows.Forms.Keys)((System.Windows.Forms.Keys.Control | System.Windows.Forms.Keys.F))); 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.Text = "Find";
this.findMainMenu.Click += new System.EventHandler(this.FindMainMenu_Click); this.findMainMenu.Click += new System.EventHandler(this.FindMainMenu_Click);
// //
// mainMenuSeparator6 // mainMenuSeparator6
// //
this.mainMenuSeparator6.Name = "mainMenuSeparator6"; this.mainMenuSeparator6.Name = "mainMenuSeparator6";
this.mainMenuSeparator6.Size = new System.Drawing.Size(177, 6); this.mainMenuSeparator6.Size = new System.Drawing.Size(218, 6);
// //
// selectAllMainMenu // selectAllMainMenu
// //
this.selectAllMainMenu.Name = "selectAllMainMenu"; this.selectAllMainMenu.Name = "selectAllMainMenu";
this.selectAllMainMenu.ShortcutKeyDisplayString = ""; this.selectAllMainMenu.ShortcutKeyDisplayString = "";
this.selectAllMainMenu.ShortcutKeys = ((System.Windows.Forms.Keys)((System.Windows.Forms.Keys.Control | System.Windows.Forms.Keys.A))); 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.Text = "Select All";
this.selectAllMainMenu.Click += new System.EventHandler(this.SelectAllMainMenu_Click); 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 // wordWrapMainMenu
// //
this.wordWrapMainMenu.Checked = true; this.wordWrapMainMenu.Checked = true;
@ -389,7 +400,7 @@ public void InitializeComponent()
this.wordWrapMainMenu.CheckState = System.Windows.Forms.CheckState.Checked; this.wordWrapMainMenu.CheckState = System.Windows.Forms.CheckState.Checked;
this.wordWrapMainMenu.Name = "wordWrapMainMenu"; this.wordWrapMainMenu.Name = "wordWrapMainMenu";
this.wordWrapMainMenu.ShortcutKeys = ((System.Windows.Forms.Keys)((System.Windows.Forms.Keys.Control | System.Windows.Forms.Keys.W))); 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.Text = "Word Wrap";
this.wordWrapMainMenu.Click += new System.EventHandler(this.WordWrapMainMenu_Click); this.wordWrapMainMenu.Click += new System.EventHandler(this.WordWrapMainMenu_Click);
// //
@ -398,20 +409,20 @@ public void InitializeComponent()
this.readOnlyMainMenu.CheckOnClick = true; this.readOnlyMainMenu.CheckOnClick = true;
this.readOnlyMainMenu.Name = "readOnlyMainMenu"; this.readOnlyMainMenu.Name = "readOnlyMainMenu";
this.readOnlyMainMenu.ShortcutKeys = ((System.Windows.Forms.Keys)((System.Windows.Forms.Keys.Control | System.Windows.Forms.Keys.R))); 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.Text = "Readonly";
this.readOnlyMainMenu.Click += new System.EventHandler(this.ReadOnlyMainMenu_Click); this.readOnlyMainMenu.Click += new System.EventHandler(this.ReadOnlyMainMenu_Click);
// //
// mainMenuSeparator7 // mainMenuSeparator7
// //
this.mainMenuSeparator7.Name = "mainMenuSeparator7"; this.mainMenuSeparator7.Name = "mainMenuSeparator7";
this.mainMenuSeparator7.Size = new System.Drawing.Size(177, 6); this.mainMenuSeparator7.Size = new System.Drawing.Size(218, 6);
// //
// clearMainMenu // clearMainMenu
// //
this.clearMainMenu.Name = "clearMainMenu"; this.clearMainMenu.Name = "clearMainMenu";
this.clearMainMenu.ShortcutKeys = ((System.Windows.Forms.Keys)((System.Windows.Forms.Keys.Control | System.Windows.Forms.Keys.Delete))); 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.Text = "Clear";
this.clearMainMenu.Click += new System.EventHandler(this.ClearMainMenu_Click); 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.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.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.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.Name = "searchPanel";
this.searchPanel.RowCount = 1; this.searchPanel.RowCount = 1;
this.searchPanel.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 100F)); 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.TabIndex = 17;
this.searchPanel.Visible = false; this.searchPanel.Visible = false;
// //
@ -689,7 +700,7 @@ public void InitializeComponent()
this.searchTextBox.ForeColor = System.Drawing.Color.Black; this.searchTextBox.ForeColor = System.Drawing.Color.Black;
this.searchTextBox.Location = new System.Drawing.Point(3, 5); this.searchTextBox.Location = new System.Drawing.Point(3, 5);
this.searchTextBox.Name = "searchTextBox"; 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.TabIndex = 9;
this.searchTextBox.TabStop = false; this.searchTextBox.TabStop = false;
this.searchTextBox.TextChanged += new System.EventHandler(this.SearchTextBox_TextChanged); 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.Dock = System.Windows.Forms.DockStyle.Fill;
this.searchWholeWordCheckBox.ForeColor = System.Drawing.Color.Black; this.searchWholeWordCheckBox.ForeColor = System.Drawing.Color.Black;
this.searchWholeWordCheckBox.ImeMode = System.Windows.Forms.ImeMode.NoControl; 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.Name = "searchWholeWordCheckBox";
this.searchWholeWordCheckBox.Size = new System.Drawing.Size(94, 19); this.searchWholeWordCheckBox.Size = new System.Drawing.Size(94, 19);
this.searchWholeWordCheckBox.TabIndex = 12; this.searchWholeWordCheckBox.TabIndex = 12;
@ -719,7 +730,7 @@ public void InitializeComponent()
this.searchCaseSensitiveCheckBox.Dock = System.Windows.Forms.DockStyle.Fill; this.searchCaseSensitiveCheckBox.Dock = System.Windows.Forms.DockStyle.Fill;
this.searchCaseSensitiveCheckBox.ForeColor = System.Drawing.Color.Black; this.searchCaseSensitiveCheckBox.ForeColor = System.Drawing.Color.Black;
this.searchCaseSensitiveCheckBox.ImeMode = System.Windows.Forms.ImeMode.NoControl; 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.Name = "searchCaseSensitiveCheckBox";
this.searchCaseSensitiveCheckBox.Size = new System.Drawing.Size(98, 19); this.searchCaseSensitiveCheckBox.Size = new System.Drawing.Size(98, 19);
this.searchCaseSensitiveCheckBox.TabIndex = 11; this.searchCaseSensitiveCheckBox.TabIndex = 11;
@ -736,7 +747,7 @@ public void InitializeComponent()
this.searchCloseButton.Dock = System.Windows.Forms.DockStyle.Fill; 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.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.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.Name = "searchCloseButton";
this.searchCloseButton.Size = new System.Drawing.Size(16, 25); this.searchCloseButton.Size = new System.Drawing.Size(16, 25);
this.searchCloseButton.TabIndex = 16; this.searchCloseButton.TabIndex = 16;
@ -750,7 +761,7 @@ public void InitializeComponent()
this.searchFindNextButton.Cursor = System.Windows.Forms.Cursors.Hand; this.searchFindNextButton.Cursor = System.Windows.Forms.Cursors.Hand;
this.searchFindNextButton.Dock = System.Windows.Forms.DockStyle.Fill; 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.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.Name = "searchFindNextButton";
this.searchFindNextButton.Size = new System.Drawing.Size(66, 25); this.searchFindNextButton.Size = new System.Drawing.Size(66, 25);
this.searchFindNextButton.TabIndex = 17; this.searchFindNextButton.TabIndex = 17;
@ -797,7 +808,7 @@ public void InitializeComponent()
this.toolbarPanel.Name = "toolbarPanel"; this.toolbarPanel.Name = "toolbarPanel";
this.toolbarPanel.RowCount = 1; this.toolbarPanel.RowCount = 1;
this.toolbarPanel.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 100F)); 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.TabIndex = 17;
this.toolbarPanel.MouseEnter += new System.EventHandler(this.ToolbarPanel_MouseEnter); 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.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.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.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.Name = "closeToolbarButton";
this.closeToolbarButton.Size = new System.Drawing.Size(12, 24); this.closeToolbarButton.Size = new System.Drawing.Size(12, 24);
this.closeToolbarButton.TabIndex = 17; this.closeToolbarButton.TabIndex = 17;
@ -998,11 +1009,13 @@ public void InitializeComponent()
this.statusPanelModifiedLabel, this.statusPanelModifiedLabel,
this.statusPanelSizeLabel, this.statusPanelSizeLabel,
this.statusPanelReadonlyLabel, this.statusPanelReadonlyLabel,
this.statusPanelWordwrapLabel}); this.statusPanelWordwrapLabel,
this.statusPanel.Location = new System.Drawing.Point(0, 259); 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.Name = "statusPanel";
this.statusPanel.ShowItemToolTips = true; 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.SizingGrip = false;
this.statusPanel.TabIndex = 18; this.statusPanel.TabIndex = 18;
this.statusPanel.VisibleChanged += new System.EventHandler(this.StatusPanel_VisibleChanged); 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.Size = new System.Drawing.Size(64, 17);
this.statusPanelReadonlyLabel.Text = "Readonly"; 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 // trayIcon
// //
this.trayIcon.ContextMenuStrip = this.trayMenu; this.trayIcon.ContextMenuStrip = this.trayMenu;
@ -1121,7 +1151,7 @@ public void InitializeComponent()
this.fileLockedPanel.Controls.Add(this.fileLockedLabel); 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.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.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.Name = "fileLockedPanel";
this.fileLockedPanel.Size = new System.Drawing.Size(261, 91); this.fileLockedPanel.Size = new System.Drawing.Size(261, 91);
this.fileLockedPanel.TabIndex = 20; this.fileLockedPanel.TabIndex = 20;
@ -1160,6 +1190,20 @@ public void InitializeComponent()
this.fileLockedOkButton.UseVisualStyleBackColor = true; this.fileLockedOkButton.UseVisualStyleBackColor = true;
this.fileLockedOkButton.Click += new System.EventHandler(this.FileLockedOkButton_Click); 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 // fileLockedShowKey
// //
this.fileLockedShowKey.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; 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.Dock = System.Windows.Forms.DockStyle.Fill;
this.richTextBoxPanel.Location = new System.Drawing.Point(0, 48); this.richTextBoxPanel.Location = new System.Drawing.Point(0, 48);
this.richTextBoxPanel.Name = "richTextBoxPanel"; 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; 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 // richTextBox
// //
this.richTextBox.AcceptsTab = true; this.richTextBox.AcceptsTab = true;
@ -1246,7 +1257,7 @@ public void InitializeComponent()
this.richTextBox.ForeColor = System.Drawing.Color.Black; this.richTextBox.ForeColor = System.Drawing.Color.Black;
this.richTextBox.Location = new System.Drawing.Point(0, 0); this.richTextBox.Location = new System.Drawing.Point(0, 0);
this.richTextBox.Name = "richTextBox"; 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.TabIndex = 16;
this.richTextBox.Text = ""; this.richTextBox.Text = "";
this.richTextBox.LinkClicked += new System.Windows.Forms.LinkClickedEventHandler(this.RichTextBox_LinkClicked); 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.TextChanged += new System.EventHandler(this.RichTextBox_TextChanged);
this.richTextBox.KeyDown += new System.Windows.Forms.KeyEventHandler(this.RichTextBox_KeyDown); this.richTextBox.KeyDown += new System.Windows.Forms.KeyEventHandler(this.RichTextBox_KeyDown);
// //
// clearClipboardMainMenu // statusPanelTimer
// //
this.clearClipboardMainMenu.Name = "clearClipboardMainMenu"; this.statusPanelTimer.Interval = 1;
this.clearClipboardMainMenu.ShortcutKeys = ((System.Windows.Forms.Keys)(((System.Windows.Forms.Keys.Control | System.Windows.Forms.Keys.Alt) this.statusPanelTimer.Tick += new System.EventHandler(this.StatusPanelTimer_Tick);
| System.Windows.Forms.Keys.C))); //
this.clearClipboardMainMenu.Size = new System.Drawing.Size(221, 22); // lockTimer
this.clearClipboardMainMenu.Text = "Clear Clipboard"; //
this.clearClipboardMainMenu.Click += new System.EventHandler(this.ClearClipboardMainMenu_Click); this.lockTimer.Tick += new System.EventHandler(this.LockTimer_Tick);
//
// clipboardTimer
//
this.clipboardTimer.Interval = 50;
this.clipboardTimer.Tick += new System.EventHandler(this.ClipboardTimer_Tick);
// //
// MainForm // MainForm
// //
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F); this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
this.BackColor = System.Drawing.Color.White; 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.richTextBoxPanel);
this.Controls.Add(this.searchPanel); this.Controls.Add(this.searchPanel);
this.Controls.Add(this.toolbarPanel); this.Controls.Add(this.toolbarPanel);
@ -1421,6 +1437,8 @@ public void InitializeComponent()
private System.Windows.Forms.ToolStripMenuItem readOnlyMainMenu; private System.Windows.Forms.ToolStripMenuItem readOnlyMainMenu;
protected internal System.Windows.Forms.ToolStripStatusLabel statusPanelReadonlyLabel; protected internal System.Windows.Forms.ToolStripStatusLabel statusPanelReadonlyLabel;
protected internal System.Windows.Forms.ToolStripStatusLabel statusPanelWordwrapLabel; 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; private System.Windows.Forms.ToolStripMenuItem clearClipboardMainMenu;
} }
} }

View file

@ -7,6 +7,7 @@
using System.Linq; using System.Linq;
using System.Net; using System.Net;
using System.Reflection; using System.Reflection;
using System.Runtime.InteropServices;
using System.Security.Cryptography; using System.Security.Cryptography;
using System.Threading.Tasks; using System.Threading.Tasks;
using System.Windows.Forms; using System.Windows.Forms;
@ -391,6 +392,14 @@ private async void StatusPanelMessage(string type)
statusPanelLabel.Text = ready; statusPanelLabel.Text = ready;
} }
break; 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; deleteMainMenu.Image = Resources.minus;
findMainMenu.Image = Resources.magnifier; findMainMenu.Image = Resources.magnifier;
selectAllMainMenu.Image = Resources.selection_input; selectAllMainMenu.Image = Resources.selection_input;
clearClipboardMainMenu.Image = Resources.clipboard_minus;
wordWrapMainMenu.Image = Resources.wrap_option; wordWrapMainMenu.Image = Resources.wrap_option;
readOnlyMainMenu.Image = Resources.document__pencil; readOnlyMainMenu.Image = Resources.document_pencil;
clearMainMenu.Image = Resources.document; clearMainMenu.Image = Resources.document;
changePasswordMainMenu.Image = Resources.key; changePasswordMainMenu.Image = Resources.key;
lockMainMenu.Image = Resources.lock_warning; lockMainMenu.Image = Resources.lock_warning;
@ -615,7 +625,7 @@ public void MenuIcons(bool menuIcons)
checkForUpdatesMainMenu.Image = Resources.upload_cloud; checkForUpdatesMainMenu.Image = Resources.upload_cloud;
aboutMainMenu.Image = Resources.information; aboutMainMenu.Image = Resources.information;
alwaysOnTopMainMenu.Image = Resources.applications_blue; alwaysOnTopMainMenu.Image = Resources.applications_blue;
saveCloseFileMainMenu.Image = Resources.disk__minus; saveCloseFileMainMenu.Image = Resources.disk_minus;
passwordGeneratorMainMenu.Image = Resources.key_plus; passwordGeneratorMainMenu.Image = Resources.key_plus;
} }
else 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 #endregion
@ -914,6 +937,11 @@ private void RichTextBox_KeyDown(object sender, KeyEventArgs e)
SearchFindNextButton_MouseUp(null, null); SearchFindNextButton_MouseUp(null, null);
e.Handled = e.SuppressKeyPress = true; 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) 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 #endregion
@ -1318,11 +1364,13 @@ public void RedoMainMenu_Click(object sender, EventArgs e)
private void CutMainMenu_Click(object sender, EventArgs e) private void CutMainMenu_Click(object sender, EventArgs e)
{ {
richTextBox.Cut(); richTextBox.Cut();
ClipboardProgressbar();
} }
private void CopyMainMenu_Click(object sender, EventArgs e) private void CopyMainMenu_Click(object sender, EventArgs e)
{ {
richTextBox.Copy(); richTextBox.Copy();
ClipboardProgressbar();
} }
private void PasteMainMenu_Click(object sender, EventArgs e) 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) private void ClearClipboardMainMenu_Click(object sender, EventArgs e)
{ {
Clipboard.Clear(); Clipboard.Clear();
if (statusPanelClipboardProgressBar.Visible)
{
statusPanelClipboardProgressBar.Visible = false;
clipboardTimer.Stop();
}
StatusPanelMessage("clipboard-clear");
} }
private void ReadOnlyMainMenu_Click(object sender, EventArgs e) 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); Debug.WriteLine("metadataCorrupt: " + PublicVar.metadataCorrupt);
#endif #endif
} }
#endregion #endregion

View file

@ -6476,6 +6476,9 @@
<metadata name="lockTimer.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a"> <metadata name="lockTimer.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
<value>1059, 17</value> <value>1059, 17</value>
</metadata> </metadata>
<metadata name="clipboardTimer.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
<value>1163, 17</value>
</metadata>
<metadata name="$this.TrayHeight" type="System.Int32, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> <metadata name="$this.TrayHeight" type="System.Int32, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>99</value> <value>99</value>
</metadata> </metadata>

View file

@ -44,13 +44,14 @@ private void InitializeComponent()
this.closeToTrayCheckBox = new System.Windows.Forms.CheckBox(); this.closeToTrayCheckBox = new System.Windows.Forms.CheckBox();
this.minimizeToTrayCheckBox = new System.Windows.Forms.CheckBox(); this.minimizeToTrayCheckBox = new System.Windows.Forms.CheckBox();
this.autoLockGroupBox = new System.Windows.Forms.GroupBox(); 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.autoLockOnMinimizeCheckBox = new System.Windows.Forms.CheckBox();
this.lockTimeoutTextBox = new System.Windows.Forms.PlaceholderTextBox(); this.lockTimeoutTextBox = new System.Windows.Forms.PlaceholderTextBox();
this.lockTimeoutLabel = new System.Windows.Forms.Label(); this.lockTimeoutLabel = new System.Windows.Forms.Label();
this.interfaceTabPage = new System.Windows.Forms.TabPage(); this.interfaceTabPage = new System.Windows.Forms.TabPage();
this.statusPanelGroupBox = new System.Windows.Forms.GroupBox(); this.statusPanelGroupBox = new System.Windows.Forms.GroupBox();
this.statusPanelLabelsGroupBox = 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.statusPanelWordwrapCheckBox = new System.Windows.Forms.CheckBox();
this.statusPanelReadonlyCheckBox = new System.Windows.Forms.CheckBox(); this.statusPanelReadonlyCheckBox = new System.Windows.Forms.CheckBox();
this.statusPanelSizeCheckBox = 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.searchFontColor = new System.Windows.Forms.Panel();
this.searchBackColor = new System.Windows.Forms.Panel(); this.searchBackColor = new System.Windows.Forms.Panel();
this.editorTabPage = new System.Windows.Forms.TabPage(); 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.editorFontLabel = new System.Windows.Forms.Label();
this.fontStyleLabel = new System.Windows.Forms.Label(); this.fontStyleLabel = new System.Windows.Forms.Label();
this.editorFontColor = new System.Windows.Forms.Panel(); this.editorFontColor = new System.Windows.Forms.Panel();
@ -266,7 +269,7 @@ private void InitializeComponent()
// //
// autoLockGroupBox // autoLockGroupBox
// //
this.autoLockGroupBox.Controls.Add(this.label1); this.autoLockGroupBox.Controls.Add(this.autoLockMinutesLabel);
this.autoLockGroupBox.Controls.Add(this.autoLockOnMinimizeCheckBox); this.autoLockGroupBox.Controls.Add(this.autoLockOnMinimizeCheckBox);
this.autoLockGroupBox.Controls.Add(this.lockTimeoutTextBox); this.autoLockGroupBox.Controls.Add(this.lockTimeoutTextBox);
this.autoLockGroupBox.Controls.Add(this.lockTimeoutLabel); this.autoLockGroupBox.Controls.Add(this.lockTimeoutLabel);
@ -277,14 +280,14 @@ private void InitializeComponent()
this.autoLockGroupBox.TabStop = false; this.autoLockGroupBox.TabStop = false;
this.autoLockGroupBox.Text = "Auto lock"; this.autoLockGroupBox.Text = "Auto lock";
// //
// label1 // autoLockMinutesLabel
// //
this.label1.AutoSize = true; this.autoLockMinutesLabel.AutoSize = true;
this.label1.Location = new System.Drawing.Point(184, 48); this.autoLockMinutesLabel.Location = new System.Drawing.Point(184, 48);
this.label1.Name = "label1"; this.autoLockMinutesLabel.Name = "autoLockMinutesLabel";
this.label1.Size = new System.Drawing.Size(50, 15); this.autoLockMinutesLabel.Size = new System.Drawing.Size(50, 15);
this.label1.TabIndex = 0; this.autoLockMinutesLabel.TabIndex = 0;
this.label1.Text = "minutes"; this.autoLockMinutesLabel.Text = "minutes";
// //
// autoLockOnMinimizeCheckBox // autoLockOnMinimizeCheckBox
// //
@ -352,6 +355,7 @@ private void InitializeComponent()
// //
// statusPanelLabelsGroupBox // statusPanelLabelsGroupBox
// //
this.statusPanelLabelsGroupBox.Controls.Add(this.statusPanelClipboardCheckBox);
this.statusPanelLabelsGroupBox.Controls.Add(this.statusPanelWordwrapCheckBox); this.statusPanelLabelsGroupBox.Controls.Add(this.statusPanelWordwrapCheckBox);
this.statusPanelLabelsGroupBox.Controls.Add(this.statusPanelReadonlyCheckBox); this.statusPanelLabelsGroupBox.Controls.Add(this.statusPanelReadonlyCheckBox);
this.statusPanelLabelsGroupBox.Controls.Add(this.statusPanelSizeCheckBox); this.statusPanelLabelsGroupBox.Controls.Add(this.statusPanelSizeCheckBox);
@ -365,6 +369,17 @@ private void InitializeComponent()
this.statusPanelLabelsGroupBox.TabStop = false; this.statusPanelLabelsGroupBox.TabStop = false;
this.statusPanelLabelsGroupBox.Text = "Labels"; 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 // statusPanelWordwrapCheckBox
// //
this.statusPanelWordwrapCheckBox.AutoSize = true; this.statusPanelWordwrapCheckBox.AutoSize = true;
@ -676,6 +691,8 @@ private void InitializeComponent()
this.editorTabPage.AutoScroll = true; this.editorTabPage.AutoScroll = true;
this.editorTabPage.BackColor = System.Drawing.SystemColors.Window; this.editorTabPage.BackColor = System.Drawing.SystemColors.Window;
this.editorTabPage.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; 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.editorFontLabel);
this.editorTabPage.Controls.Add(this.fontStyleLabel); this.editorTabPage.Controls.Add(this.fontStyleLabel);
this.editorTabPage.Controls.Add(this.editorFontColor); this.editorTabPage.Controls.Add(this.editorFontColor);
@ -697,6 +714,24 @@ private void InitializeComponent()
this.editorTabPage.TabIndex = 0; this.editorTabPage.TabIndex = 0;
this.editorTabPage.Text = "edt"; 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 // editorFontLabel
// //
this.editorFontLabel.BackColor = System.Drawing.SystemColors.Control; 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 toolbarGroupBox;
private System.Windows.Forms.GroupBox searchPanelGroupBox; private System.Windows.Forms.GroupBox searchPanelGroupBox;
private System.Windows.Forms.Label editorFontLabel; 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 statusPanelWordwrapCheckBox;
private System.Windows.Forms.CheckBox statusPanelReadonlyCheckBox; private System.Windows.Forms.CheckBox statusPanelReadonlyCheckBox;
private System.Windows.Forms.TextBox clearClipboardTextBox;
private System.Windows.Forms.Label clearClipboardLabel;
private System.Windows.Forms.CheckBox statusPanelClipboardCheckBox;
} }
} }

View file

@ -21,6 +21,10 @@ private void LoadSettings()
editorFontColor.BackColor = settings.editroForeColor; editorFontColor.BackColor = settings.editroForeColor;
editorBackColor.BackColor = settings.editorBackColor; editorBackColor.BackColor = settings.editorBackColor;
editorInsertKeyComboBox.Text = settings.insertKey; editorInsertKeyComboBox.Text = settings.insertKey;
if (settings.clipboardClearTime != "")
{
clearClipboardTextBox.Text = settings.clipboardClearTime.Remove(settings.clipboardClearTime.Length - 1);
}
editorPaddingLeftTextBox.Text = settings.editorPaddingLeft; editorPaddingLeftTextBox.Text = settings.editorPaddingLeft;
editorOpenLinksWithComboBox.Text = settings.openLinks; editorOpenLinksWithComboBox.Text = settings.openLinks;
editorBorderComboBox.Text = settings.editorBorder; editorBorderComboBox.Text = settings.editorBorder;
@ -57,6 +61,7 @@ private void LoadSettings()
statusPanelSizeCheckBox.Checked = settings.statusPanelSize; statusPanelSizeCheckBox.Checked = settings.statusPanelSize;
statusPanelReadonlyCheckBox.Checked = settings.statusPanelReadonly; statusPanelReadonlyCheckBox.Checked = settings.statusPanelReadonly;
statusPanelWordwrapCheckBox.Checked = settings.statusPanelWordWrap; statusPanelWordwrapCheckBox.Checked = settings.statusPanelWordWrap;
statusPanelClipboardCheckBox.Checked = settings.statusPanelClipboard;
encryptionHintLabel.Visible = settings.encryptionHint; encryptionHintLabel.Visible = settings.encryptionHint;
} }
#endregion #endregion
@ -585,5 +590,23 @@ private void StatusPanelWordwrapCheckBox_Click(object sender, EventArgs e)
settings.statusPanelWordWrap = statusPanelWordwrapCheckBox.Checked; settings.statusPanelWordWrap = statusPanelWordwrapCheckBox.Checked;
main.StatusPanelFileInfo(); 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;
}
}
} }
} }

View file

@ -120,6 +120,9 @@
<metadata name="colorDialog.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a"> <metadata name="colorDialog.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
<value>17, 17</value> <value>17, 17</value>
</metadata> </metadata>
<metadata name="settingsToolTip.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
<value>240, 17</value>
</metadata>
<data name="encryptionHintLabel.Text" xml:space="preserve"> <data name="encryptionHintLabel.Text" xml:space="preserve">
<value>For the best balance of performance &amp;&amp; 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.</value> <value>For the best balance of performance &amp;&amp; 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.</value>
</data> </data>
@ -130,7 +133,7 @@
<value>131, 17</value> <value>131, 17</value>
</metadata> </metadata>
<metadata name="$this.TrayHeight" type="System.Int32, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> <metadata name="$this.TrayHeight" type="System.Int32, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>50</value> <value>74</value>
</metadata> </metadata>
<assembly alias="System.Drawing" name="System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" /> <assembly alias="System.Drawing" name="System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" />
<data name="$this.Icon" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64"> <data name="$this.Icon" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">

View file

@ -1,10 +1,10 @@
//------------------------------------------------------------------------------ //------------------------------------------------------------------------------
// <auto-generated> // <auto-generated>
// Этот код создан программой. // This code was generated by a tool.
// Исполняемая версия:4.0.30319.42000 // Runtime Version:4.0.30319.42000
// //
// Изменения в этом файле могут привести к неправильной работе и будут потеряны в случае // Changes to this file may cause incorrect behavior and will be lost if
// повторной генерации кода. // the code is regenerated.
// </auto-generated> // </auto-generated>
//------------------------------------------------------------------------------ //------------------------------------------------------------------------------
@ -13,12 +13,12 @@ namespace Crypto_Notepad.Properties {
/// <summary> /// <summary>
/// Класс ресурса со строгой типизацией для поиска локализованных строк и т.д. /// A strongly-typed resource class, for looking up localized strings, etc.
/// </summary> /// </summary>
// Этот класс создан автоматически классом StronglyTypedResourceBuilder // This class was auto-generated by the StronglyTypedResourceBuilder
// с помощью такого средства, как ResGen или Visual Studio. // class via a tool like ResGen or Visual Studio.
// Чтобы добавить или удалить член, измените файл .ResX и снова запустите ResGen // To add or remove a member, edit your .ResX file then rerun ResGen
// с параметром /str или перестройте свой проект VS. // with the /str option, or rebuild your VS project.
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Resources.Tools.StronglyTypedResourceBuilder", "16.0.0.0")] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Resources.Tools.StronglyTypedResourceBuilder", "16.0.0.0")]
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()] [global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()]
@ -33,7 +33,7 @@ internal Resources() {
} }
/// <summary> /// <summary>
/// Возвращает кэшированный экземпляр ResourceManager, использованный этим классом. /// Returns the cached ResourceManager instance used by this class.
/// </summary> /// </summary>
[global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)] [global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)]
internal static global::System.Resources.ResourceManager ResourceManager { internal static global::System.Resources.ResourceManager ResourceManager {
@ -47,8 +47,8 @@ internal Resources() {
} }
/// <summary> /// <summary>
/// Перезаписывает свойство CurrentUICulture текущего потока для всех /// Overrides the current thread's CurrentUICulture property for all
/// обращений к ресурсу с помощью этого класса ресурса со строгой типизацией. /// resource lookups using this strongly typed resource class.
/// </summary> /// </summary>
[global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)] [global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)]
internal static global::System.Globalization.CultureInfo Culture { internal static global::System.Globalization.CultureInfo Culture {
@ -61,7 +61,7 @@ internal Resources() {
} }
/// <summary> /// <summary>
/// Поиск локализованного ресурса типа System.Drawing.Bitmap. /// Looks up a localized resource of type System.Drawing.Bitmap.
/// </summary> /// </summary>
internal static System.Drawing.Bitmap application_blue { internal static System.Drawing.Bitmap application_blue {
get { get {
@ -71,7 +71,7 @@ internal static System.Drawing.Bitmap application_blue {
} }
/// <summary> /// <summary>
/// Поиск локализованного ресурса типа System.Drawing.Bitmap. /// Looks up a localized resource of type System.Drawing.Bitmap.
/// </summary> /// </summary>
internal static System.Drawing.Bitmap applications_blue { internal static System.Drawing.Bitmap applications_blue {
get { get {
@ -81,7 +81,7 @@ internal static System.Drawing.Bitmap applications_blue {
} }
/// <summary> /// <summary>
/// Поиск локализованного ресурса типа System.Drawing.Bitmap. /// Looks up a localized resource of type System.Drawing.Bitmap.
/// </summary> /// </summary>
internal static System.Drawing.Bitmap arrow_left { internal static System.Drawing.Bitmap arrow_left {
get { get {
@ -91,7 +91,7 @@ internal static System.Drawing.Bitmap arrow_left {
} }
/// <summary> /// <summary>
/// Поиск локализованного ресурса типа System.Drawing.Bitmap. /// Looks up a localized resource of type System.Drawing.Bitmap.
/// </summary> /// </summary>
internal static System.Drawing.Bitmap arrow_right { internal static System.Drawing.Bitmap arrow_right {
get { get {
@ -101,7 +101,7 @@ internal static System.Drawing.Bitmap arrow_right {
} }
/// <summary> /// <summary>
/// Поиск локализованного ресурса типа System.Drawing.Bitmap. /// Looks up a localized resource of type System.Drawing.Bitmap.
/// </summary> /// </summary>
internal static System.Drawing.Bitmap big_lock { internal static System.Drawing.Bitmap big_lock {
get { get {
@ -111,7 +111,7 @@ internal static System.Drawing.Bitmap big_lock {
} }
/// <summary> /// <summary>
/// Поиск локализованного ресурса типа System.Drawing.Bitmap. /// Looks up a localized resource of type System.Drawing.Bitmap.
/// </summary> /// </summary>
internal static System.Drawing.Bitmap clipboard { internal static System.Drawing.Bitmap clipboard {
get { get {
@ -121,7 +121,17 @@ internal static System.Drawing.Bitmap clipboard {
} }
/// <summary> /// <summary>
/// Поиск локализованного ресурса типа System.Drawing.Bitmap. /// Looks up a localized resource of type System.Drawing.Bitmap.
/// </summary>
internal static System.Drawing.Bitmap clipboard_minus {
get {
object obj = ResourceManager.GetObject("clipboard_minus", resourceCulture);
return ((System.Drawing.Bitmap)(obj));
}
}
/// <summary>
/// Looks up a localized resource of type System.Drawing.Bitmap.
/// </summary> /// </summary>
internal static System.Drawing.Bitmap cross_button { internal static System.Drawing.Bitmap cross_button {
get { get {
@ -131,17 +141,17 @@ internal static System.Drawing.Bitmap cross_button {
} }
/// <summary> /// <summary>
/// Поиск локализованного ресурса типа System.Drawing.Bitmap. /// Looks up a localized resource of type System.Drawing.Bitmap.
/// </summary> /// </summary>
internal static System.Drawing.Bitmap disk__minus { internal static System.Drawing.Bitmap disk_minus {
get { get {
object obj = ResourceManager.GetObject("disk__minus", resourceCulture); object obj = ResourceManager.GetObject("disk_minus", resourceCulture);
return ((System.Drawing.Bitmap)(obj)); return ((System.Drawing.Bitmap)(obj));
} }
} }
/// <summary> /// <summary>
/// Поиск локализованного ресурса типа System.Drawing.Bitmap. /// Looks up a localized resource of type System.Drawing.Bitmap.
/// </summary> /// </summary>
internal static System.Drawing.Bitmap disk_return_black { internal static System.Drawing.Bitmap disk_return_black {
get { get {
@ -151,7 +161,7 @@ internal static System.Drawing.Bitmap disk_return_black {
} }
/// <summary> /// <summary>
/// Поиск локализованного ресурса типа System.Drawing.Bitmap. /// Looks up a localized resource of type System.Drawing.Bitmap.
/// </summary> /// </summary>
internal static System.Drawing.Bitmap disks_black { internal static System.Drawing.Bitmap disks_black {
get { get {
@ -161,7 +171,7 @@ internal static System.Drawing.Bitmap disks_black {
} }
/// <summary> /// <summary>
/// Поиск локализованного ресурса типа System.Drawing.Bitmap. /// Looks up a localized resource of type System.Drawing.Bitmap.
/// </summary> /// </summary>
internal static System.Drawing.Bitmap document { internal static System.Drawing.Bitmap document {
get { get {
@ -171,17 +181,7 @@ internal static System.Drawing.Bitmap document {
} }
/// <summary> /// <summary>
/// Поиск локализованного ресурса типа System.Drawing.Bitmap. /// Looks up a localized resource of type System.Drawing.Bitmap.
/// </summary>
internal static System.Drawing.Bitmap document__pencil {
get {
object obj = ResourceManager.GetObject("document__pencil", resourceCulture);
return ((System.Drawing.Bitmap)(obj));
}
}
/// <summary>
/// Поиск локализованного ресурса типа System.Drawing.Bitmap.
/// </summary> /// </summary>
internal static System.Drawing.Bitmap document_copy { internal static System.Drawing.Bitmap document_copy {
get { get {
@ -191,7 +191,7 @@ internal static System.Drawing.Bitmap document_copy {
} }
/// <summary> /// <summary>
/// Поиск локализованного ресурса типа System.Drawing.Bitmap. /// Looks up a localized resource of type System.Drawing.Bitmap.
/// </summary> /// </summary>
internal static System.Drawing.Bitmap document_minus { internal static System.Drawing.Bitmap document_minus {
get { get {
@ -201,7 +201,17 @@ internal static System.Drawing.Bitmap document_minus {
} }
/// <summary> /// <summary>
/// Поиск локализованного ресурса типа System.Drawing.Bitmap. /// Looks up a localized resource of type System.Drawing.Bitmap.
/// </summary>
internal static System.Drawing.Bitmap document_pencil {
get {
object obj = ResourceManager.GetObject("document_pencil", resourceCulture);
return ((System.Drawing.Bitmap)(obj));
}
}
/// <summary>
/// Looks up a localized resource of type System.Drawing.Bitmap.
/// </summary> /// </summary>
internal static System.Drawing.Bitmap document_plus { internal static System.Drawing.Bitmap document_plus {
get { get {
@ -211,7 +221,7 @@ internal static System.Drawing.Bitmap document_plus {
} }
/// <summary> /// <summary>
/// Поиск локализованного ресурса типа System.Drawing.Bitmap. /// Looks up a localized resource of type System.Drawing.Bitmap.
/// </summary> /// </summary>
internal static System.Drawing.Bitmap document_text { internal static System.Drawing.Bitmap document_text {
get { get {
@ -221,7 +231,7 @@ internal static System.Drawing.Bitmap document_text {
} }
/// <summary> /// <summary>
/// Поиск локализованного ресурса типа System.Drawing.Bitmap. /// Looks up a localized resource of type System.Drawing.Bitmap.
/// </summary> /// </summary>
internal static System.Drawing.Bitmap eye { internal static System.Drawing.Bitmap eye {
get { get {
@ -231,7 +241,7 @@ internal static System.Drawing.Bitmap eye {
} }
/// <summary> /// <summary>
/// Поиск локализованного ресурса типа System.Drawing.Bitmap. /// Looks up a localized resource of type System.Drawing.Bitmap.
/// </summary> /// </summary>
internal static System.Drawing.Bitmap eye_half { internal static System.Drawing.Bitmap eye_half {
get { get {
@ -241,7 +251,7 @@ internal static System.Drawing.Bitmap eye_half {
} }
/// <summary> /// <summary>
/// Поиск локализованного ресурса типа System.Drawing.Bitmap. /// Looks up a localized resource of type System.Drawing.Bitmap.
/// </summary> /// </summary>
internal static System.Drawing.Bitmap folder_horizontal { internal static System.Drawing.Bitmap folder_horizontal {
get { get {
@ -251,7 +261,7 @@ internal static System.Drawing.Bitmap folder_horizontal {
} }
/// <summary> /// <summary>
/// Поиск локализованного ресурса типа System.Drawing.Bitmap. /// Looks up a localized resource of type System.Drawing.Bitmap.
/// </summary> /// </summary>
internal static System.Drawing.Bitmap folder_open_document { internal static System.Drawing.Bitmap folder_open_document {
get { get {
@ -261,7 +271,7 @@ internal static System.Drawing.Bitmap folder_open_document {
} }
/// <summary> /// <summary>
/// Поиск локализованного ресурса типа System.Drawing.Bitmap. /// Looks up a localized resource of type System.Drawing.Bitmap.
/// </summary> /// </summary>
internal static System.Drawing.Bitmap gear { internal static System.Drawing.Bitmap gear {
get { get {
@ -271,7 +281,7 @@ internal static System.Drawing.Bitmap gear {
} }
/// <summary> /// <summary>
/// Поиск локализованного ресурса типа System.Drawing.Bitmap. /// Looks up a localized resource of type System.Drawing.Bitmap.
/// </summary> /// </summary>
internal static System.Drawing.Bitmap gnupg_keys { internal static System.Drawing.Bitmap gnupg_keys {
get { get {
@ -281,7 +291,7 @@ internal static System.Drawing.Bitmap gnupg_keys {
} }
/// <summary> /// <summary>
/// Поиск локализованного ресурса типа System.Drawing.Bitmap. /// Looks up a localized resource of type System.Drawing.Bitmap.
/// </summary> /// </summary>
internal static System.Drawing.Bitmap information { internal static System.Drawing.Bitmap information {
get { get {
@ -291,7 +301,7 @@ internal static System.Drawing.Bitmap information {
} }
/// <summary> /// <summary>
/// Поиск локализованного ресурса типа System.Drawing.Bitmap. /// Looks up a localized resource of type System.Drawing.Bitmap.
/// </summary> /// </summary>
internal static System.Drawing.Bitmap key { internal static System.Drawing.Bitmap key {
get { get {
@ -301,7 +311,7 @@ internal static System.Drawing.Bitmap key {
} }
/// <summary> /// <summary>
/// Поиск локализованного ресурса типа System.Drawing.Bitmap. /// Looks up a localized resource of type System.Drawing.Bitmap.
/// </summary> /// </summary>
internal static System.Drawing.Bitmap key_plus { internal static System.Drawing.Bitmap key_plus {
get { get {
@ -311,7 +321,7 @@ internal static System.Drawing.Bitmap key_plus {
} }
/// <summary> /// <summary>
/// Поиск локализованного ресурса типа System.Drawing.Bitmap. /// Looks up a localized resource of type System.Drawing.Bitmap.
/// </summary> /// </summary>
internal static System.Drawing.Bitmap key_solid { internal static System.Drawing.Bitmap key_solid {
get { get {
@ -321,7 +331,7 @@ internal static System.Drawing.Bitmap key_solid {
} }
/// <summary> /// <summary>
/// Поиск локализованного ресурса типа System.Drawing.Bitmap. /// Looks up a localized resource of type System.Drawing.Bitmap.
/// </summary> /// </summary>
internal static System.Drawing.Bitmap lock_warning { internal static System.Drawing.Bitmap lock_warning {
get { get {
@ -331,7 +341,7 @@ internal static System.Drawing.Bitmap lock_warning {
} }
/// <summary> /// <summary>
/// Поиск локализованного ресурса типа System.Drawing.Bitmap. /// Looks up a localized resource of type System.Drawing.Bitmap.
/// </summary> /// </summary>
internal static System.Drawing.Bitmap magnifier { internal static System.Drawing.Bitmap magnifier {
get { get {
@ -341,7 +351,7 @@ internal static System.Drawing.Bitmap magnifier {
} }
/// <summary> /// <summary>
/// Поиск локализованного ресурса типа System.Drawing.Bitmap. /// Looks up a localized resource of type System.Drawing.Bitmap.
/// </summary> /// </summary>
internal static System.Drawing.Bitmap minus { internal static System.Drawing.Bitmap minus {
get { get {
@ -351,7 +361,7 @@ internal static System.Drawing.Bitmap minus {
} }
/// <summary> /// <summary>
/// Поиск локализованного ресурса типа System.Drawing.Bitmap. /// Looks up a localized resource of type System.Drawing.Bitmap.
/// </summary> /// </summary>
internal static System.Drawing.Bitmap notepad_lock { internal static System.Drawing.Bitmap notepad_lock {
get { get {
@ -361,7 +371,7 @@ internal static System.Drawing.Bitmap notepad_lock {
} }
/// <summary> /// <summary>
/// Поиск локализованного ресурса типа System.Drawing.Bitmap. /// Looks up a localized resource of type System.Drawing.Bitmap.
/// </summary> /// </summary>
internal static System.Drawing.Bitmap old_application_double { internal static System.Drawing.Bitmap old_application_double {
get { get {
@ -371,7 +381,7 @@ internal static System.Drawing.Bitmap old_application_double {
} }
/// <summary> /// <summary>
/// Поиск локализованного ресурса типа System.Drawing.Bitmap. /// Looks up a localized resource of type System.Drawing.Bitmap.
/// </summary> /// </summary>
internal static System.Drawing.Bitmap old_cut_red { internal static System.Drawing.Bitmap old_cut_red {
get { get {
@ -381,7 +391,7 @@ internal static System.Drawing.Bitmap old_cut_red {
} }
/// <summary> /// <summary>
/// Поиск локализованного ресурса типа System.Drawing.Bitmap. /// Looks up a localized resource of type System.Drawing.Bitmap.
/// </summary> /// </summary>
internal static System.Drawing.Bitmap old_diskette { internal static System.Drawing.Bitmap old_diskette {
get { get {
@ -391,7 +401,7 @@ internal static System.Drawing.Bitmap old_diskette {
} }
/// <summary> /// <summary>
/// Поиск локализованного ресурса типа System.Drawing.Bitmap. /// Looks up a localized resource of type System.Drawing.Bitmap.
/// </summary> /// </summary>
internal static System.Drawing.Bitmap old_folder_stand { internal static System.Drawing.Bitmap old_folder_stand {
get { get {
@ -401,7 +411,7 @@ internal static System.Drawing.Bitmap old_folder_stand {
} }
/// <summary> /// <summary>
/// Поиск локализованного ресурса типа System.Drawing.Bitmap. /// Looks up a localized resource of type System.Drawing.Bitmap.
/// </summary> /// </summary>
internal static System.Drawing.Bitmap old_folder_vertical_document { internal static System.Drawing.Bitmap old_folder_vertical_document {
get { get {
@ -411,7 +421,7 @@ internal static System.Drawing.Bitmap old_folder_vertical_document {
} }
/// <summary> /// <summary>
/// Поиск локализованного ресурса типа System.Drawing.Bitmap. /// Looks up a localized resource of type System.Drawing.Bitmap.
/// </summary> /// </summary>
internal static System.Drawing.Bitmap old_lock { internal static System.Drawing.Bitmap old_lock {
get { get {
@ -421,7 +431,7 @@ internal static System.Drawing.Bitmap old_lock {
} }
/// <summary> /// <summary>
/// Поиск локализованного ресурса типа System.Drawing.Bitmap. /// Looks up a localized resource of type System.Drawing.Bitmap.
/// </summary> /// </summary>
internal static System.Drawing.Bitmap old_page_white_add { internal static System.Drawing.Bitmap old_page_white_add {
get { get {
@ -431,7 +441,7 @@ internal static System.Drawing.Bitmap old_page_white_add {
} }
/// <summary> /// <summary>
/// Поиск локализованного ресурса типа System.Drawing.Bitmap. /// Looks up a localized resource of type System.Drawing.Bitmap.
/// </summary> /// </summary>
internal static System.Drawing.Bitmap old_page_white_copy { internal static System.Drawing.Bitmap old_page_white_copy {
get { get {
@ -441,7 +451,7 @@ internal static System.Drawing.Bitmap old_page_white_copy {
} }
/// <summary> /// <summary>
/// Поиск локализованного ресурса типа System.Drawing.Bitmap. /// Looks up a localized resource of type System.Drawing.Bitmap.
/// </summary> /// </summary>
internal static System.Drawing.Bitmap old_page_white_delete { internal static System.Drawing.Bitmap old_page_white_delete {
get { get {
@ -451,7 +461,7 @@ internal static System.Drawing.Bitmap old_page_white_delete {
} }
/// <summary> /// <summary>
/// Поиск локализованного ресурса типа System.Drawing.Bitmap. /// Looks up a localized resource of type System.Drawing.Bitmap.
/// </summary> /// </summary>
internal static System.Drawing.Bitmap old_page_white_key { internal static System.Drawing.Bitmap old_page_white_key {
get { get {
@ -461,7 +471,7 @@ internal static System.Drawing.Bitmap old_page_white_key {
} }
/// <summary> /// <summary>
/// Поиск локализованного ресурса типа System.Drawing.Bitmap. /// Looks up a localized resource of type System.Drawing.Bitmap.
/// </summary> /// </summary>
internal static System.Drawing.Bitmap old_paste_plain { internal static System.Drawing.Bitmap old_paste_plain {
get { get {
@ -471,7 +481,7 @@ internal static System.Drawing.Bitmap old_paste_plain {
} }
/// <summary> /// <summary>
/// Поиск локализованного ресурса типа System.Drawing.Bitmap. /// Looks up a localized resource of type System.Drawing.Bitmap.
/// </summary> /// </summary>
internal static System.Drawing.Bitmap old_setting_tools { internal static System.Drawing.Bitmap old_setting_tools {
get { get {
@ -481,7 +491,7 @@ internal static System.Drawing.Bitmap old_setting_tools {
} }
/// <summary> /// <summary>
/// Поиск локализованного ресурса типа System.Drawing.Bitmap. /// Looks up a localized resource of type System.Drawing.Bitmap.
/// </summary> /// </summary>
internal static System.Drawing.Bitmap scissors { internal static System.Drawing.Bitmap scissors {
get { get {
@ -491,7 +501,7 @@ internal static System.Drawing.Bitmap scissors {
} }
/// <summary> /// <summary>
/// Поиск локализованного ресурса типа System.Drawing.Bitmap. /// Looks up a localized resource of type System.Drawing.Bitmap.
/// </summary> /// </summary>
internal static System.Drawing.Bitmap selection_input { internal static System.Drawing.Bitmap selection_input {
get { get {
@ -501,7 +511,7 @@ internal static System.Drawing.Bitmap selection_input {
} }
/// <summary> /// <summary>
/// Поиск локализованного ресурса типа System.Byte[]. /// Looks up a localized resource of type System.Byte[].
/// </summary> /// </summary>
internal static byte[] Updater { internal static byte[] Updater {
get { get {
@ -511,7 +521,7 @@ internal static byte[] Updater {
} }
/// <summary> /// <summary>
/// Поиск локализованного ресурса типа System.Drawing.Bitmap. /// Looks up a localized resource of type System.Drawing.Bitmap.
/// </summary> /// </summary>
internal static System.Drawing.Bitmap upload_cloud { internal static System.Drawing.Bitmap upload_cloud {
get { get {
@ -521,7 +531,7 @@ internal static System.Drawing.Bitmap upload_cloud {
} }
/// <summary> /// <summary>
/// Поиск локализованного ресурса типа System.Drawing.Bitmap. /// Looks up a localized resource of type System.Drawing.Bitmap.
/// </summary> /// </summary>
internal static System.Drawing.Bitmap wrap_option { internal static System.Drawing.Bitmap wrap_option {
get { get {

View file

@ -1022,7 +1022,7 @@
gV9f9O+B/QDSyg0U5iAfSgAAAABJRU5ErkJggg== gV9f9O+B/QDSyg0U5iAfSgAAAABJRU5ErkJggg==
</value> </value>
</data> </data>
<data name="disk__minus" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64"> <data name="disk_minus" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
<value> <value>
iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABGdBTUEAALGPC/xhBQAAABl0RVh0U29m iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABGdBTUEAALGPC/xhBQAAABl0RVh0U29m
dHdhcmUAQWRvYmUgSW1hZ2VSZWFkeXHJZTwAAAHqSURBVDhPpc5dSFNxGMfxZ2e7l/QiiIiie2WOoNuI dHdhcmUAQWRvYmUgSW1hZ2VSZWFkeXHJZTwAAAHqSURBVDhPpc5dSFNxGMfxZ2e7l/QiiIiie2WOoNuI
@ -1053,7 +1053,34 @@
v9NGpIh8+DiHAAAAAElFTkSuQmCC v9NGpIh8+DiHAAAAAElFTkSuQmCC
</value> </value>
</data> </data>
<data name="document__pencil" type="System.Resources.ResXFileRef, System.Windows.Forms"> <data name="document_pencil" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
<value>..\Resources\document--pencil.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value> <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==
</value>
</data>
<data name="clipboard_minus" 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==
</value>
</data> </data>
</root> </root>

View file

@ -1,10 +1,10 @@
//------------------------------------------------------------------------------ //------------------------------------------------------------------------------
// <auto-generated> // <auto-generated>
// Этот код создан программой. // This code was generated by a tool.
// Исполняемая версия:4.0.30319.42000 // Runtime Version:4.0.30319.42000
// //
// Изменения в этом файле могут привести к неправильной работе и будут потеряны в случае // Changes to this file may cause incorrect behavior and will be lost if
// повторной генерации кода. // the code is regenerated.
// </auto-generated> // </auto-generated>
//------------------------------------------------------------------------------ //------------------------------------------------------------------------------
@ -751,5 +751,31 @@ public bool statusPanelWordWrap {
this["statusPanelWordWrap"] = value; 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;
}
}
} }
} }

View file

@ -170,5 +170,11 @@
<Setting Name="statusPanelWordWrap" Provider="PortableSettingsProvider" Type="System.Boolean" Scope="User"> <Setting Name="statusPanelWordWrap" Provider="PortableSettingsProvider" Type="System.Boolean" Scope="User">
<Value Profile="(Default)">True</Value> <Value Profile="(Default)">True</Value>
</Setting> </Setting>
<Setting Name="clipboardClearTime" Provider="PortableSettingsProvider" Type="System.String" Scope="User">
<Value Profile="(Default)" />
</Setting>
<Setting Name="statusPanelClipboard" Provider="PortableSettingsProvider" Type="System.Boolean" Scope="User">
<Value Profile="(Default)">False</Value>
</Setting>
</Settings> </Settings>
</SettingsFile> </SettingsFile>

Binary file not shown.

Before

Width:  |  Height:  |  Size: 693 B