mirror of
https://github.com/Crypto-Notepad/Crypto-Notepad.git
synced 2026-03-11 08:55:25 +00:00
Merge pull request #57 from Crypto-Notepad/dev
Increased font size for some inputs / Added #56
This commit is contained in:
commit
7a4be053db
13 changed files with 124 additions and 46 deletions
|
|
@ -199,6 +199,8 @@
|
||||||
<None Include="App.config" />
|
<None Include="App.config" />
|
||||||
</ItemGroup>
|
</ItemGroup>
|
||||||
<ItemGroup>
|
<ItemGroup>
|
||||||
|
<None Include="Resources\clock--plus.png" />
|
||||||
|
<None Include="Resources\clock_add.png" />
|
||||||
<None Include="Resources\clipboard-text.png" />
|
<None Include="Resources\clipboard-text.png" />
|
||||||
<None Include="Resources\Updater.exe" />
|
<None Include="Resources\Updater.exe" />
|
||||||
<None Include="Resources\application.png" />
|
<None Include="Resources\application.png" />
|
||||||
|
|
|
||||||
69
Crypto Notepad/Forms/ChangePasswordForm.Designer.cs
generated
69
Crypto Notepad/Forms/ChangePasswordForm.Designer.cs
generated
|
|
@ -35,11 +35,11 @@ private void InitializeComponent()
|
||||||
this.lockPictureBox = new System.Windows.Forms.PictureBox();
|
this.lockPictureBox = new System.Windows.Forms.PictureBox();
|
||||||
this.showNewKeyPictureBox = new System.Windows.Forms.PictureBox();
|
this.showNewKeyPictureBox = new System.Windows.Forms.PictureBox();
|
||||||
this.showOldKeyPictureBox = new System.Windows.Forms.PictureBox();
|
this.showOldKeyPictureBox = new System.Windows.Forms.PictureBox();
|
||||||
this.oldKeyTextBox = new System.Windows.Forms.PlaceholderTextBox();
|
|
||||||
this.newKeyTextBox = new System.Windows.Forms.PlaceholderTextBox();
|
|
||||||
this.statusLabel = new System.Windows.Forms.Label();
|
this.statusLabel = new System.Windows.Forms.Label();
|
||||||
this.changeKeyFormToolTip = new System.Windows.Forms.ToolTip(this.components);
|
this.changeKeyFormToolTip = new System.Windows.Forms.ToolTip(this.components);
|
||||||
this.passwordGeneratorButton = new System.Windows.Forms.Button();
|
this.passwordGeneratorButton = new System.Windows.Forms.Button();
|
||||||
|
this.oldKeyTextBox = new System.Windows.Forms.PlaceholderTextBox();
|
||||||
|
this.newKeyTextBox = new System.Windows.Forms.PlaceholderTextBox();
|
||||||
this.mainPanel.SuspendLayout();
|
this.mainPanel.SuspendLayout();
|
||||||
((System.ComponentModel.ISupportInitialize)(this.lockPictureBox)).BeginInit();
|
((System.ComponentModel.ISupportInitialize)(this.lockPictureBox)).BeginInit();
|
||||||
((System.ComponentModel.ISupportInitialize)(this.showNewKeyPictureBox)).BeginInit();
|
((System.ComponentModel.ISupportInitialize)(this.showNewKeyPictureBox)).BeginInit();
|
||||||
|
|
@ -49,6 +49,7 @@ private void InitializeComponent()
|
||||||
// acceptButton
|
// acceptButton
|
||||||
//
|
//
|
||||||
this.acceptButton.Enabled = false;
|
this.acceptButton.Enabled = false;
|
||||||
|
this.acceptButton.Font = new System.Drawing.Font("Segoe UI", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(204)));
|
||||||
this.acceptButton.Location = new System.Drawing.Point(211, 80);
|
this.acceptButton.Location = new System.Drawing.Point(211, 80);
|
||||||
this.acceptButton.Name = "acceptButton";
|
this.acceptButton.Name = "acceptButton";
|
||||||
this.acceptButton.Size = new System.Drawing.Size(53, 25);
|
this.acceptButton.Size = new System.Drawing.Size(53, 25);
|
||||||
|
|
@ -78,7 +79,7 @@ private void InitializeComponent()
|
||||||
this.lockPictureBox.Image = global::Crypto_Notepad.Properties.Resources.gnupg_keys;
|
this.lockPictureBox.Image = global::Crypto_Notepad.Properties.Resources.gnupg_keys;
|
||||||
this.lockPictureBox.Location = new System.Drawing.Point(8, 14);
|
this.lockPictureBox.Location = new System.Drawing.Point(8, 14);
|
||||||
this.lockPictureBox.Name = "lockPictureBox";
|
this.lockPictureBox.Name = "lockPictureBox";
|
||||||
this.lockPictureBox.Size = new System.Drawing.Size(47, 47);
|
this.lockPictureBox.Size = new System.Drawing.Size(48, 48);
|
||||||
this.lockPictureBox.SizeMode = System.Windows.Forms.PictureBoxSizeMode.CenterImage;
|
this.lockPictureBox.SizeMode = System.Windows.Forms.PictureBoxSizeMode.CenterImage;
|
||||||
this.lockPictureBox.TabIndex = 7;
|
this.lockPictureBox.TabIndex = 7;
|
||||||
this.lockPictureBox.TabStop = false;
|
this.lockPictureBox.TabStop = false;
|
||||||
|
|
@ -90,7 +91,7 @@ private void InitializeComponent()
|
||||||
this.showNewKeyPictureBox.Image = global::Crypto_Notepad.Properties.Resources.eye_half;
|
this.showNewKeyPictureBox.Image = global::Crypto_Notepad.Properties.Resources.eye_half;
|
||||||
this.showNewKeyPictureBox.Location = new System.Drawing.Point(269, 39);
|
this.showNewKeyPictureBox.Location = new System.Drawing.Point(269, 39);
|
||||||
this.showNewKeyPictureBox.Name = "showNewKeyPictureBox";
|
this.showNewKeyPictureBox.Name = "showNewKeyPictureBox";
|
||||||
this.showNewKeyPictureBox.Size = new System.Drawing.Size(18, 22);
|
this.showNewKeyPictureBox.Size = new System.Drawing.Size(19, 23);
|
||||||
this.showNewKeyPictureBox.SizeMode = System.Windows.Forms.PictureBoxSizeMode.CenterImage;
|
this.showNewKeyPictureBox.SizeMode = System.Windows.Forms.PictureBoxSizeMode.CenterImage;
|
||||||
this.showNewKeyPictureBox.TabIndex = 5;
|
this.showNewKeyPictureBox.TabIndex = 5;
|
||||||
this.showNewKeyPictureBox.TabStop = false;
|
this.showNewKeyPictureBox.TabStop = false;
|
||||||
|
|
@ -103,40 +104,12 @@ private void InitializeComponent()
|
||||||
this.showOldKeyPictureBox.Image = global::Crypto_Notepad.Properties.Resources.eye_half;
|
this.showOldKeyPictureBox.Image = global::Crypto_Notepad.Properties.Resources.eye_half;
|
||||||
this.showOldKeyPictureBox.Location = new System.Drawing.Point(269, 14);
|
this.showOldKeyPictureBox.Location = new System.Drawing.Point(269, 14);
|
||||||
this.showOldKeyPictureBox.Name = "showOldKeyPictureBox";
|
this.showOldKeyPictureBox.Name = "showOldKeyPictureBox";
|
||||||
this.showOldKeyPictureBox.Size = new System.Drawing.Size(18, 22);
|
this.showOldKeyPictureBox.Size = new System.Drawing.Size(19, 23);
|
||||||
this.showOldKeyPictureBox.SizeMode = System.Windows.Forms.PictureBoxSizeMode.CenterImage;
|
this.showOldKeyPictureBox.SizeMode = System.Windows.Forms.PictureBoxSizeMode.CenterImage;
|
||||||
this.showOldKeyPictureBox.TabIndex = 5;
|
this.showOldKeyPictureBox.TabIndex = 5;
|
||||||
this.showOldKeyPictureBox.TabStop = false;
|
this.showOldKeyPictureBox.TabStop = false;
|
||||||
this.showOldKeyPictureBox.Click += new System.EventHandler(this.ShowOldKeyPictureBox_Click);
|
this.showOldKeyPictureBox.Click += new System.EventHandler(this.ShowOldKeyPictureBox_Click);
|
||||||
//
|
//
|
||||||
// oldKeyTextBox
|
|
||||||
//
|
|
||||||
this.oldKeyTextBox.Location = new System.Drawing.Point(64, 14);
|
|
||||||
this.oldKeyTextBox.Name = "oldKeyTextBox";
|
|
||||||
this.oldKeyTextBox.Placeholder = "Old password";
|
|
||||||
this.oldKeyTextBox.PlaceholderActiveForeColor = System.Drawing.Color.DarkGray;
|
|
||||||
this.oldKeyTextBox.PlaceholderFont = new System.Drawing.Font("Segoe UI", 8.25F);
|
|
||||||
this.oldKeyTextBox.PlaceholderForeColor = System.Drawing.Color.DarkGray;
|
|
||||||
this.oldKeyTextBox.Size = new System.Drawing.Size(206, 22);
|
|
||||||
this.oldKeyTextBox.TabIndex = 0;
|
|
||||||
this.oldKeyTextBox.UseSystemPasswordChar = true;
|
|
||||||
this.oldKeyTextBox.TextChanged += new System.EventHandler(this.OldKeyTextBox_TextChanged);
|
|
||||||
this.oldKeyTextBox.KeyDown += new System.Windows.Forms.KeyEventHandler(this.OldKeyTextBox_KeyDown);
|
|
||||||
//
|
|
||||||
// newKeyTextBox
|
|
||||||
//
|
|
||||||
this.newKeyTextBox.Location = new System.Drawing.Point(64, 39);
|
|
||||||
this.newKeyTextBox.Name = "newKeyTextBox";
|
|
||||||
this.newKeyTextBox.Placeholder = "New password";
|
|
||||||
this.newKeyTextBox.PlaceholderActiveForeColor = System.Drawing.Color.DarkGray;
|
|
||||||
this.newKeyTextBox.PlaceholderFont = new System.Drawing.Font("Segoe UI", 8.25F);
|
|
||||||
this.newKeyTextBox.PlaceholderForeColor = System.Drawing.Color.DarkGray;
|
|
||||||
this.newKeyTextBox.Size = new System.Drawing.Size(206, 22);
|
|
||||||
this.newKeyTextBox.TabIndex = 1;
|
|
||||||
this.newKeyTextBox.UseSystemPasswordChar = true;
|
|
||||||
this.newKeyTextBox.TextChanged += new System.EventHandler(this.NewKeyTextBox_TextChanged);
|
|
||||||
this.newKeyTextBox.KeyDown += new System.Windows.Forms.KeyEventHandler(this.NewKeyTextBox_KeyDown);
|
|
||||||
//
|
|
||||||
// statusLabel
|
// statusLabel
|
||||||
//
|
//
|
||||||
this.statusLabel.AutoSize = true;
|
this.statusLabel.AutoSize = true;
|
||||||
|
|
@ -159,6 +132,36 @@ private void InitializeComponent()
|
||||||
this.passwordGeneratorButton.UseVisualStyleBackColor = true;
|
this.passwordGeneratorButton.UseVisualStyleBackColor = true;
|
||||||
this.passwordGeneratorButton.Click += new System.EventHandler(this.PasswordGeneratorButton_Click);
|
this.passwordGeneratorButton.Click += new System.EventHandler(this.PasswordGeneratorButton_Click);
|
||||||
//
|
//
|
||||||
|
// oldKeyTextBox
|
||||||
|
//
|
||||||
|
this.oldKeyTextBox.Font = new System.Drawing.Font("Segoe UI", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(204)));
|
||||||
|
this.oldKeyTextBox.Location = new System.Drawing.Point(64, 14);
|
||||||
|
this.oldKeyTextBox.Name = "oldKeyTextBox";
|
||||||
|
this.oldKeyTextBox.Placeholder = "Old password";
|
||||||
|
this.oldKeyTextBox.PlaceholderActiveForeColor = System.Drawing.Color.DarkGray;
|
||||||
|
this.oldKeyTextBox.PlaceholderFont = new System.Drawing.Font("Segoe UI", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(204)));
|
||||||
|
this.oldKeyTextBox.PlaceholderForeColor = System.Drawing.Color.DarkGray;
|
||||||
|
this.oldKeyTextBox.Size = new System.Drawing.Size(206, 23);
|
||||||
|
this.oldKeyTextBox.TabIndex = 0;
|
||||||
|
this.oldKeyTextBox.UseSystemPasswordChar = true;
|
||||||
|
this.oldKeyTextBox.TextChanged += new System.EventHandler(this.OldKeyTextBox_TextChanged);
|
||||||
|
this.oldKeyTextBox.KeyDown += new System.Windows.Forms.KeyEventHandler(this.OldKeyTextBox_KeyDown);
|
||||||
|
//
|
||||||
|
// newKeyTextBox
|
||||||
|
//
|
||||||
|
this.newKeyTextBox.Font = new System.Drawing.Font("Segoe UI", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(204)));
|
||||||
|
this.newKeyTextBox.Location = new System.Drawing.Point(64, 39);
|
||||||
|
this.newKeyTextBox.Name = "newKeyTextBox";
|
||||||
|
this.newKeyTextBox.Placeholder = "New password";
|
||||||
|
this.newKeyTextBox.PlaceholderActiveForeColor = System.Drawing.Color.DarkGray;
|
||||||
|
this.newKeyTextBox.PlaceholderFont = new System.Drawing.Font("Segoe UI", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(204)));
|
||||||
|
this.newKeyTextBox.PlaceholderForeColor = System.Drawing.Color.DarkGray;
|
||||||
|
this.newKeyTextBox.Size = new System.Drawing.Size(206, 23);
|
||||||
|
this.newKeyTextBox.TabIndex = 1;
|
||||||
|
this.newKeyTextBox.UseSystemPasswordChar = true;
|
||||||
|
this.newKeyTextBox.TextChanged += new System.EventHandler(this.NewKeyTextBox_TextChanged);
|
||||||
|
this.newKeyTextBox.KeyDown += new System.Windows.Forms.KeyEventHandler(this.NewKeyTextBox_KeyDown);
|
||||||
|
//
|
||||||
// ChangePasswordForm
|
// ChangePasswordForm
|
||||||
//
|
//
|
||||||
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
|
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
|
||||||
|
|
|
||||||
11
Crypto Notepad/Forms/EnterPasswordForm.Designer.cs
generated
11
Crypto Notepad/Forms/EnterPasswordForm.Designer.cs
generated
|
|
@ -46,6 +46,7 @@ private void InitializeComponent()
|
||||||
// okButton
|
// okButton
|
||||||
//
|
//
|
||||||
this.okButton.Enabled = false;
|
this.okButton.Enabled = false;
|
||||||
|
this.okButton.Font = new System.Drawing.Font("Segoe UI", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(204)));
|
||||||
this.okButton.Location = new System.Drawing.Point(211, 80);
|
this.okButton.Location = new System.Drawing.Point(211, 80);
|
||||||
this.okButton.Name = "okButton";
|
this.okButton.Name = "okButton";
|
||||||
this.okButton.Size = new System.Drawing.Size(53, 25);
|
this.okButton.Size = new System.Drawing.Size(53, 25);
|
||||||
|
|
@ -74,7 +75,7 @@ private void InitializeComponent()
|
||||||
this.lockPictureBox.Image = global::Crypto_Notepad.Properties.Resources.key_solid;
|
this.lockPictureBox.Image = global::Crypto_Notepad.Properties.Resources.key_solid;
|
||||||
this.lockPictureBox.Location = new System.Drawing.Point(8, 14);
|
this.lockPictureBox.Location = new System.Drawing.Point(8, 14);
|
||||||
this.lockPictureBox.Name = "lockPictureBox";
|
this.lockPictureBox.Name = "lockPictureBox";
|
||||||
this.lockPictureBox.Size = new System.Drawing.Size(47, 47);
|
this.lockPictureBox.Size = new System.Drawing.Size(48, 48);
|
||||||
this.lockPictureBox.SizeMode = System.Windows.Forms.PictureBoxSizeMode.CenterImage;
|
this.lockPictureBox.SizeMode = System.Windows.Forms.PictureBoxSizeMode.CenterImage;
|
||||||
this.lockPictureBox.TabIndex = 6;
|
this.lockPictureBox.TabIndex = 6;
|
||||||
this.lockPictureBox.TabStop = false;
|
this.lockPictureBox.TabStop = false;
|
||||||
|
|
@ -82,6 +83,7 @@ private void InitializeComponent()
|
||||||
// fileNameLabel
|
// fileNameLabel
|
||||||
//
|
//
|
||||||
this.fileNameLabel.AutoEllipsis = true;
|
this.fileNameLabel.AutoEllipsis = true;
|
||||||
|
this.fileNameLabel.Font = new System.Drawing.Font("Segoe UI", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(204)));
|
||||||
this.fileNameLabel.Location = new System.Drawing.Point(61, 14);
|
this.fileNameLabel.Location = new System.Drawing.Point(61, 14);
|
||||||
this.fileNameLabel.Name = "fileNameLabel";
|
this.fileNameLabel.Name = "fileNameLabel";
|
||||||
this.fileNameLabel.Size = new System.Drawing.Size(221, 13);
|
this.fileNameLabel.Size = new System.Drawing.Size(221, 13);
|
||||||
|
|
@ -91,13 +93,14 @@ private void InitializeComponent()
|
||||||
//
|
//
|
||||||
// keyTextBox
|
// keyTextBox
|
||||||
//
|
//
|
||||||
|
this.keyTextBox.Font = new System.Drawing.Font("Segoe UI", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(204)));
|
||||||
this.keyTextBox.Location = new System.Drawing.Point(64, 39);
|
this.keyTextBox.Location = new System.Drawing.Point(64, 39);
|
||||||
this.keyTextBox.Name = "keyTextBox";
|
this.keyTextBox.Name = "keyTextBox";
|
||||||
this.keyTextBox.Placeholder = "Password";
|
this.keyTextBox.Placeholder = "Password";
|
||||||
this.keyTextBox.PlaceholderActiveForeColor = System.Drawing.Color.DarkGray;
|
this.keyTextBox.PlaceholderActiveForeColor = System.Drawing.Color.DarkGray;
|
||||||
this.keyTextBox.PlaceholderFont = new System.Drawing.Font("Segoe UI", 8.25F);
|
this.keyTextBox.PlaceholderFont = new System.Drawing.Font("Segoe UI", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(204)));
|
||||||
this.keyTextBox.PlaceholderForeColor = System.Drawing.Color.DarkGray;
|
this.keyTextBox.PlaceholderForeColor = System.Drawing.Color.DarkGray;
|
||||||
this.keyTextBox.Size = new System.Drawing.Size(206, 22);
|
this.keyTextBox.Size = new System.Drawing.Size(206, 23);
|
||||||
this.keyTextBox.TabIndex = 0;
|
this.keyTextBox.TabIndex = 0;
|
||||||
this.keyTextBox.UseSystemPasswordChar = true;
|
this.keyTextBox.UseSystemPasswordChar = true;
|
||||||
this.keyTextBox.TextChanged += new System.EventHandler(this.KeyTextBox_TextChanged);
|
this.keyTextBox.TextChanged += new System.EventHandler(this.KeyTextBox_TextChanged);
|
||||||
|
|
@ -111,7 +114,7 @@ private void InitializeComponent()
|
||||||
this.showKeyPictureBox.InitialImage = global::Crypto_Notepad.Properties.Resources.eye_half;
|
this.showKeyPictureBox.InitialImage = global::Crypto_Notepad.Properties.Resources.eye_half;
|
||||||
this.showKeyPictureBox.Location = new System.Drawing.Point(269, 39);
|
this.showKeyPictureBox.Location = new System.Drawing.Point(269, 39);
|
||||||
this.showKeyPictureBox.Name = "showKeyPictureBox";
|
this.showKeyPictureBox.Name = "showKeyPictureBox";
|
||||||
this.showKeyPictureBox.Size = new System.Drawing.Size(18, 22);
|
this.showKeyPictureBox.Size = new System.Drawing.Size(19, 23);
|
||||||
this.showKeyPictureBox.SizeMode = System.Windows.Forms.PictureBoxSizeMode.CenterImage;
|
this.showKeyPictureBox.SizeMode = System.Windows.Forms.PictureBoxSizeMode.CenterImage;
|
||||||
this.showKeyPictureBox.TabIndex = 3;
|
this.showKeyPictureBox.TabIndex = 3;
|
||||||
this.showKeyPictureBox.TabStop = false;
|
this.showKeyPictureBox.TabStop = false;
|
||||||
|
|
|
||||||
11
Crypto Notepad/Forms/MainForm.Designer.cs
generated
11
Crypto Notepad/Forms/MainForm.Designer.cs
generated
|
|
@ -59,6 +59,7 @@ public void InitializeComponent()
|
||||||
this.clearClipboardMainMenu = 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.insertDateTimeMainMenu = new System.Windows.Forms.ToolStripMenuItem();
|
||||||
this.mainMenuSeparator7 = new System.Windows.Forms.ToolStripSeparator();
|
this.mainMenuSeparator7 = new System.Windows.Forms.ToolStripSeparator();
|
||||||
this.clearMainMenu = new System.Windows.Forms.ToolStripMenuItem();
|
this.clearMainMenu = new System.Windows.Forms.ToolStripMenuItem();
|
||||||
this.toolsMainMenu = new System.Windows.Forms.ToolStripMenuItem();
|
this.toolsMainMenu = new System.Windows.Forms.ToolStripMenuItem();
|
||||||
|
|
@ -314,6 +315,7 @@ public void InitializeComponent()
|
||||||
this.clearClipboardMainMenu,
|
this.clearClipboardMainMenu,
|
||||||
this.wordWrapMainMenu,
|
this.wordWrapMainMenu,
|
||||||
this.readOnlyMainMenu,
|
this.readOnlyMainMenu,
|
||||||
|
this.insertDateTimeMainMenu,
|
||||||
this.mainMenuSeparator7,
|
this.mainMenuSeparator7,
|
||||||
this.clearMainMenu});
|
this.clearMainMenu});
|
||||||
this.editMainMenu.ForeColor = System.Drawing.SystemColors.ControlText;
|
this.editMainMenu.ForeColor = System.Drawing.SystemColors.ControlText;
|
||||||
|
|
@ -434,6 +436,14 @@ public void InitializeComponent()
|
||||||
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);
|
||||||
//
|
//
|
||||||
|
// insertDateTimeMainMenu
|
||||||
|
//
|
||||||
|
this.insertDateTimeMainMenu.Name = "insertDateTimeMainMenu";
|
||||||
|
this.insertDateTimeMainMenu.ShortcutKeys = System.Windows.Forms.Keys.F5;
|
||||||
|
this.insertDateTimeMainMenu.Size = new System.Drawing.Size(198, 22);
|
||||||
|
this.insertDateTimeMainMenu.Text = "Insert Date Time";
|
||||||
|
this.insertDateTimeMainMenu.Click += new System.EventHandler(this.InsertDateTimeMainMenu_Click);
|
||||||
|
//
|
||||||
// mainMenuSeparator7
|
// mainMenuSeparator7
|
||||||
//
|
//
|
||||||
this.mainMenuSeparator7.Name = "mainMenuSeparator7";
|
this.mainMenuSeparator7.Name = "mainMenuSeparator7";
|
||||||
|
|
@ -1548,5 +1558,6 @@ public void InitializeComponent()
|
||||||
private System.Windows.Forms.ToolStripMenuItem pasteBoardMainMenu;
|
private System.Windows.Forms.ToolStripMenuItem pasteBoardMainMenu;
|
||||||
private System.Windows.Forms.Timer pasteBoardTimer;
|
private System.Windows.Forms.Timer pasteBoardTimer;
|
||||||
protected internal System.Windows.Forms.ToolStripStatusLabel statusPanelPasteboardLabel;
|
protected internal System.Windows.Forms.ToolStripStatusLabel statusPanelPasteboardLabel;
|
||||||
|
private System.Windows.Forms.ToolStripMenuItem insertDateTimeMainMenu;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -681,6 +681,7 @@ public void MenuIcons(bool menuIcons)
|
||||||
clearClipboardMainMenu.Image = Resources.clipboard_minus;
|
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;
|
||||||
|
insertDateTimeMainMenu.Image = Resources.clock_plus;
|
||||||
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;
|
||||||
|
|
@ -788,6 +789,7 @@ public void ToolbarIcons(bool oldIcons)
|
||||||
pasteToolbarButton.Image = Resources.old_paste_plain;
|
pasteToolbarButton.Image = Resources.old_paste_plain;
|
||||||
changePasswordToolbarButton.Image = Resources.old_page_white_key;
|
changePasswordToolbarButton.Image = Resources.old_page_white_key;
|
||||||
lockToolbarButton.Image = Resources.old_lock;
|
lockToolbarButton.Image = Resources.old_lock;
|
||||||
|
insertDateTimeMainMenu.Image = Resources.old_clock_add;
|
||||||
tryToDecryptToolbarButton.Image = Resources.old_lock_edit;
|
tryToDecryptToolbarButton.Image = Resources.old_lock_edit;
|
||||||
settingsToolbarButton.Image = Resources.old_setting_tools;
|
settingsToolbarButton.Image = Resources.old_setting_tools;
|
||||||
alwaysOnTopToolbarButton.Image = Resources.old_application_double;
|
alwaysOnTopToolbarButton.Image = Resources.old_application_double;
|
||||||
|
|
@ -804,6 +806,7 @@ public void ToolbarIcons(bool oldIcons)
|
||||||
pasteToolbarButton.Image = Resources.clipboard;
|
pasteToolbarButton.Image = Resources.clipboard;
|
||||||
changePasswordToolbarButton.Image = Resources.key;
|
changePasswordToolbarButton.Image = Resources.key;
|
||||||
lockToolbarButton.Image = Resources.lock_warning;
|
lockToolbarButton.Image = Resources.lock_warning;
|
||||||
|
insertDateTimeMainMenu.Image = Resources.clock_plus;
|
||||||
tryToDecryptToolbarButton.Image = Resources.lock_pencil;
|
tryToDecryptToolbarButton.Image = Resources.lock_pencil;
|
||||||
settingsToolbarButton.Image = Resources.gear;
|
settingsToolbarButton.Image = Resources.gear;
|
||||||
alwaysOnTopToolbarButton.Image = Resources.applications_blue;
|
alwaysOnTopToolbarButton.Image = Resources.applications_blue;
|
||||||
|
|
@ -836,6 +839,18 @@ private void RichTextBox_ModifiedChanged(object sender, EventArgs e)
|
||||||
Text = Text.Replace("*", string.Empty);
|
Text = Text.Replace("*", string.Empty);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
//if (richTextBox.Modified == true)
|
||||||
|
//{
|
||||||
|
// if (!Text.Contains("*"))
|
||||||
|
// {
|
||||||
|
// Text = Text.Insert(0, "*");
|
||||||
|
// if (string.IsNullOrEmpty(PublicVar.openFileName) & richTextBox.TextLength > 0)
|
||||||
|
// {
|
||||||
|
// Text = "Unnamed.cnp" + " – " + PublicVar.appName;
|
||||||
|
// Text = Text.Insert(0, "*");
|
||||||
|
// }
|
||||||
|
// }
|
||||||
|
//}
|
||||||
}
|
}
|
||||||
private void StatusPanel_VisibleChanged(object sender, EventArgs e)
|
private void StatusPanel_VisibleChanged(object sender, EventArgs e)
|
||||||
{
|
{
|
||||||
|
|
@ -1144,7 +1159,7 @@ private void RichTextBox_DragDrop(object sender, DragEventArgs e)
|
||||||
|
|
||||||
private void RichTextBox_TextChanged(object sender, EventArgs e)
|
private void RichTextBox_TextChanged(object sender, EventArgs e)
|
||||||
{
|
{
|
||||||
statusPanelTimer.Start();
|
statusPanelTimer.Start();
|
||||||
if (richTextBox.Modified)
|
if (richTextBox.Modified)
|
||||||
{
|
{
|
||||||
if (!Text.Contains("*"))
|
if (!Text.Contains("*"))
|
||||||
|
|
@ -1610,6 +1625,24 @@ private void ReadOnlyMainMenu_Click(object sender, EventArgs e)
|
||||||
statusPanelReadonlyLabel.Text = "Readonly: " + readOnlyMainMenu.Checked.ToString();
|
statusPanelReadonlyLabel.Text = "Readonly: " + readOnlyMainMenu.Checked.ToString();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
private void InsertDateTimeMainMenu_Click(object sender, EventArgs e)
|
||||||
|
{
|
||||||
|
DateTime now = DateTime.Now;
|
||||||
|
richTextBox.Text += now.ToString();
|
||||||
|
richTextBox.SelectionStart = richTextBox.Text.Length;
|
||||||
|
richTextBox.ScrollToCaret();
|
||||||
|
richTextBox.Modified = true;
|
||||||
|
if (!Text.Contains("*"))
|
||||||
|
{
|
||||||
|
Text = Text.Insert(0, "*");
|
||||||
|
if (string.IsNullOrEmpty(PublicVar.openFileName) & richTextBox.TextLength > 0)
|
||||||
|
{
|
||||||
|
Text = "Unnamed.cnp" + " – " + PublicVar.appName;
|
||||||
|
Text = Text.Insert(0, "*");
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
private void WordWrapMainMenu_Click(object sender, EventArgs e)
|
private void WordWrapMainMenu_Click(object sender, EventArgs e)
|
||||||
{
|
{
|
||||||
richTextBox.WordWrap = wordWrapMainMenu.Checked;
|
richTextBox.WordWrap = wordWrapMainMenu.Checked;
|
||||||
|
|
@ -2292,10 +2325,10 @@ private void VariablesMainMenu_Click(object sender, EventArgs e)
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
#endregion
|
#endregion
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
@ -63,7 +63,7 @@ private void InitializeComponent()
|
||||||
//
|
//
|
||||||
// passwordsListTextBox
|
// passwordsListTextBox
|
||||||
//
|
//
|
||||||
this.passwordsListTextBox.Font = new System.Drawing.Font("Consolas", 8.25F);
|
this.passwordsListTextBox.Font = new System.Drawing.Font("Consolas", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(204)));
|
||||||
this.passwordsListTextBox.Location = new System.Drawing.Point(9, 161);
|
this.passwordsListTextBox.Location = new System.Drawing.Point(9, 161);
|
||||||
this.passwordsListTextBox.Multiline = true;
|
this.passwordsListTextBox.Multiline = true;
|
||||||
this.passwordsListTextBox.Name = "passwordsListTextBox";
|
this.passwordsListTextBox.Name = "passwordsListTextBox";
|
||||||
|
|
|
||||||
|
|
@ -33,4 +33,4 @@
|
||||||
// используя "*", как показано ниже:
|
// используя "*", как показано ниже:
|
||||||
// [assembly: AssemblyVersion("1.0.*")]
|
// [assembly: AssemblyVersion("1.0.*")]
|
||||||
[assembly: AssemblyVersion("1.0.0.0")]
|
[assembly: AssemblyVersion("1.0.0.0")]
|
||||||
[assembly: AssemblyFileVersion("1.7.0.0")]
|
[assembly: AssemblyFileVersion("1.7.1.0")]
|
||||||
|
|
|
||||||
22
Crypto Notepad/Properties/Resources.Designer.cs
generated
22
Crypto Notepad/Properties/Resources.Designer.cs
generated
|
|
@ -19,7 +19,7 @@ namespace Crypto_Notepad.Properties {
|
||||||
// class via a tool like ResGen or Visual Studio.
|
// class via a tool like ResGen or Visual Studio.
|
||||||
// To add or remove a member, edit your .ResX file then rerun ResGen
|
// To add or remove a member, edit your .ResX file then rerun ResGen
|
||||||
// with the /str option, or rebuild your VS project.
|
// 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", "17.0.0.0")]
|
||||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||||
[global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()]
|
[global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()]
|
||||||
internal class Resources {
|
internal class Resources {
|
||||||
|
|
@ -160,6 +160,16 @@ internal static System.Drawing.Bitmap clipboard_text {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// Looks up a localized resource of type System.Drawing.Bitmap.
|
||||||
|
/// </summary>
|
||||||
|
internal static System.Drawing.Bitmap clock_plus {
|
||||||
|
get {
|
||||||
|
object obj = ResourceManager.GetObject("clock_plus", resourceCulture);
|
||||||
|
return ((System.Drawing.Bitmap)(obj));
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Looks up a localized resource of type System.Drawing.Bitmap.
|
/// Looks up a localized resource of type System.Drawing.Bitmap.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
|
|
@ -420,6 +430,16 @@ internal static System.Drawing.Bitmap old_application_double {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// Looks up a localized resource of type System.Drawing.Bitmap.
|
||||||
|
/// </summary>
|
||||||
|
internal static System.Drawing.Bitmap old_clock_add {
|
||||||
|
get {
|
||||||
|
object obj = ResourceManager.GetObject("old_clock_add", resourceCulture);
|
||||||
|
return ((System.Drawing.Bitmap)(obj));
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Looks up a localized resource of type System.Drawing.Bitmap.
|
/// Looks up a localized resource of type System.Drawing.Bitmap.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
|
|
|
||||||
|
|
@ -827,7 +827,7 @@
|
||||||
XTesb3QPLh88M+QwdP6m681Lt7xuXbu94vbgcOjwnZHokdE77DtTd1PuvriXeW/h/sYH6AdFD6UeVjxS
|
XTesb3QPLh88M+QwdP6m681Lt7xuXbu94vbgcOjwnZHokdE77DtTd1PuvriXeW/h/sYH6AdFD6UeVjxS
|
||||||
fNTws+7PbaOWo6fHXMf6Hwc/vj/OGn/2S8Yv7ycKnpCfVEyqTDZPmU2dmnafvvF05dOJZ+nPFmYKf5X+
|
fNTws+7PbaOWo6fHXMf6Hwc/vj/OGn/2S8Yv7ycKnpCfVEyqTDZPmU2dmnafvvF05dOJZ+nPFmYKf5X+
|
||||||
tfa5zvMffnP8rX82YnbiBf/Fp99LXsq/PPRq2aueuYC5R69TXy/MF72Rf3P4LeNt37vwd5MLWe+x7ys/
|
tfa5zvMffnP8rX82YnbiBf/Fp99LXsq/PPRq2aueuYC5R69TXy/MF72Rf3P4LeNt37vwd5MLWe+x7ys/
|
||||||
6H7o/ujz8cGn1E+f/gUDmPP8usTo0wAAAAlwSFlzAAALEwAACxMBAJqcGAAALoFJREFUeF7t3X3o7Vd1
|
6H7o/ujz8cGn1E+f/gUDmPP8usTo0wAAAAlwSFlzAAALEgAACxIB0t1+/AAALoFJREFUeF7t3X3o7Vd1
|
||||||
53FBEAIFoSAUAoLgXwUf8nSdTOzMoNQRUiyVDmFSBgYEO/EpNU18aDSJSWgkbaY6qTJ2Ok2JWELFpo5W
|
53FBEAIFoSAUAoLgXwUf8nSdTOzMoNQRUiyVDmFSBgYEO/EpNU18aDSJSWgkbaY6qTJ2Ok2JWELFpo5W
|
||||||
+zBRR8fU0IzWmNZMklGTjq0mmsbEufGa3/l9Z6277k3vPfdz9v2e81tnf8/e3/eCF5XV3LPO75y9v9/P
|
+zBRR8fU0IzWmNZMklGTjq0mmsbEufGa3/l9Z6277k3vPfdz9v2e81tnf8/e3/eCF5XV3LPO75y9v9/P
|
||||||
73E/axgGAAAwM7IJAAD6JpsAAKBvsgkAAPommwAAoG+yCQAA+iabAACgb7IJAAD6JpsAAKBvsgkAAPom
|
73E/axgGAAAwM7IJAAD6JpsAAKBvsgkAAPommwAAoG+yCQAA+iabAACgb7IJAAD6JpsAAKBvsgkAAPom
|
||||||
|
|
@ -1126,4 +1126,10 @@
|
||||||
<data name="clipboard_text" type="System.Resources.ResXFileRef, System.Windows.Forms">
|
<data name="clipboard_text" type="System.Resources.ResXFileRef, System.Windows.Forms">
|
||||||
<value>..\Resources\clipboard-text.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
|
<value>..\Resources\clipboard-text.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
|
||||||
</data>
|
</data>
|
||||||
|
<data name="clock_plus" type="System.Resources.ResXFileRef, System.Windows.Forms">
|
||||||
|
<value>..\Resources\clock--plus.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
|
||||||
|
</data>
|
||||||
|
<data name="old_clock_add" type="System.Resources.ResXFileRef, System.Windows.Forms">
|
||||||
|
<value>..\Resources\clock_add.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
|
||||||
|
</data>
|
||||||
</root>
|
</root>
|
||||||
BIN
Crypto Notepad/Resources/clock--plus.png
Normal file
BIN
Crypto Notepad/Resources/clock--plus.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 754 B |
BIN
Crypto Notepad/Resources/clock_add.png
Normal file
BIN
Crypto Notepad/Resources/clock_add.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 960 B |
Binary file not shown.
|
|
@ -1 +1 @@
|
||||||
1.7.0.0
|
1.7.1.0
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue