2019-10-15 18:00:19 +00:00
|
|
|
|
namespace Crypto_Notepad
|
2016-01-07 16:45:32 +00:00
|
|
|
|
{
|
2019-11-28 20:36:43 +00:00
|
|
|
|
partial class ChangePasswordForm
|
2016-01-07 16:45:32 +00:00
|
|
|
|
{
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
|
/// Required designer variable.
|
|
|
|
|
|
/// </summary>
|
|
|
|
|
|
private System.ComponentModel.IContainer components = null;
|
|
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
|
/// Clean up any resources being used.
|
|
|
|
|
|
/// </summary>
|
|
|
|
|
|
/// <param name="disposing">true if managed resources should be disposed; otherwise, false.</param>
|
|
|
|
|
|
protected override void Dispose(bool disposing)
|
|
|
|
|
|
{
|
|
|
|
|
|
if (disposing && (components != null))
|
|
|
|
|
|
{
|
|
|
|
|
|
components.Dispose();
|
|
|
|
|
|
}
|
|
|
|
|
|
base.Dispose(disposing);
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
#region Windows Form Designer generated code
|
|
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
|
/// Required method for Designer support - do not modify
|
|
|
|
|
|
/// the contents of this method with the code editor.
|
|
|
|
|
|
/// </summary>
|
|
|
|
|
|
private void InitializeComponent()
|
|
|
|
|
|
{
|
2019-11-11 17:19:29 +00:00
|
|
|
|
this.components = new System.ComponentModel.Container();
|
2019-11-28 20:36:43 +00:00
|
|
|
|
System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(ChangePasswordForm));
|
2019-10-13 11:54:45 +00:00
|
|
|
|
this.acceptButton = new System.Windows.Forms.Button();
|
|
|
|
|
|
this.mainPanel = new System.Windows.Forms.Panel();
|
|
|
|
|
|
this.lockPictureBox = new System.Windows.Forms.PictureBox();
|
|
|
|
|
|
this.showNewKeyPictureBox = new System.Windows.Forms.PictureBox();
|
|
|
|
|
|
this.showOldKeyPictureBox = new System.Windows.Forms.PictureBox();
|
2019-10-18 14:30:36 +00:00
|
|
|
|
this.statusLabel = new System.Windows.Forms.Label();
|
2019-11-11 17:19:29 +00:00
|
|
|
|
this.changeKeyFormToolTip = new System.Windows.Forms.ToolTip(this.components);
|
|
|
|
|
|
this.passwordGeneratorButton = new System.Windows.Forms.Button();
|
2022-05-22 08:08:54 +00:00
|
|
|
|
this.oldKeyTextBox = new System.Windows.Forms.PlaceholderTextBox();
|
|
|
|
|
|
this.newKeyTextBox = new System.Windows.Forms.PlaceholderTextBox();
|
2019-10-13 11:54:45 +00:00
|
|
|
|
this.mainPanel.SuspendLayout();
|
|
|
|
|
|
((System.ComponentModel.ISupportInitialize)(this.lockPictureBox)).BeginInit();
|
|
|
|
|
|
((System.ComponentModel.ISupportInitialize)(this.showNewKeyPictureBox)).BeginInit();
|
|
|
|
|
|
((System.ComponentModel.ISupportInitialize)(this.showOldKeyPictureBox)).BeginInit();
|
2016-01-07 16:45:32 +00:00
|
|
|
|
this.SuspendLayout();
|
|
|
|
|
|
//
|
2019-10-13 11:54:45 +00:00
|
|
|
|
// acceptButton
|
|
|
|
|
|
//
|
|
|
|
|
|
this.acceptButton.Enabled = false;
|
2022-05-22 08:08:54 +00:00
|
|
|
|
this.acceptButton.Font = new System.Drawing.Font("Segoe UI", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(204)));
|
2019-11-11 17:19:29 +00:00
|
|
|
|
this.acceptButton.Location = new System.Drawing.Point(211, 80);
|
2019-10-13 11:54:45 +00:00
|
|
|
|
this.acceptButton.Name = "acceptButton";
|
2019-11-11 17:19:29 +00:00
|
|
|
|
this.acceptButton.Size = new System.Drawing.Size(53, 25);
|
2019-10-13 11:54:45 +00:00
|
|
|
|
this.acceptButton.TabIndex = 4;
|
|
|
|
|
|
this.acceptButton.Text = "Accept";
|
|
|
|
|
|
this.acceptButton.UseVisualStyleBackColor = true;
|
|
|
|
|
|
this.acceptButton.Click += new System.EventHandler(this.AcceptButton_Click);
|
|
|
|
|
|
//
|
|
|
|
|
|
// mainPanel
|
|
|
|
|
|
//
|
|
|
|
|
|
this.mainPanel.BackColor = System.Drawing.Color.White;
|
|
|
|
|
|
this.mainPanel.Controls.Add(this.lockPictureBox);
|
|
|
|
|
|
this.mainPanel.Controls.Add(this.showNewKeyPictureBox);
|
|
|
|
|
|
this.mainPanel.Controls.Add(this.showOldKeyPictureBox);
|
|
|
|
|
|
this.mainPanel.Controls.Add(this.oldKeyTextBox);
|
|
|
|
|
|
this.mainPanel.Controls.Add(this.newKeyTextBox);
|
|
|
|
|
|
this.mainPanel.Dock = System.Windows.Forms.DockStyle.Top;
|
|
|
|
|
|
this.mainPanel.Location = new System.Drawing.Point(0, 0);
|
|
|
|
|
|
this.mainPanel.Name = "mainPanel";
|
2019-11-11 17:19:29 +00:00
|
|
|
|
this.mainPanel.Size = new System.Drawing.Size(295, 75);
|
2019-10-13 11:54:45 +00:00
|
|
|
|
this.mainPanel.TabIndex = 6;
|
|
|
|
|
|
//
|
|
|
|
|
|
// lockPictureBox
|
|
|
|
|
|
//
|
|
|
|
|
|
this.lockPictureBox.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
|
2019-11-11 17:19:29 +00:00
|
|
|
|
this.lockPictureBox.Cursor = System.Windows.Forms.Cursors.Default;
|
2019-10-13 11:54:45 +00:00
|
|
|
|
this.lockPictureBox.Image = global::Crypto_Notepad.Properties.Resources.gnupg_keys;
|
2019-11-11 17:19:29 +00:00
|
|
|
|
this.lockPictureBox.Location = new System.Drawing.Point(8, 14);
|
2019-10-13 11:54:45 +00:00
|
|
|
|
this.lockPictureBox.Name = "lockPictureBox";
|
2022-05-22 08:08:54 +00:00
|
|
|
|
this.lockPictureBox.Size = new System.Drawing.Size(48, 48);
|
2019-10-13 11:54:45 +00:00
|
|
|
|
this.lockPictureBox.SizeMode = System.Windows.Forms.PictureBoxSizeMode.CenterImage;
|
|
|
|
|
|
this.lockPictureBox.TabIndex = 7;
|
|
|
|
|
|
this.lockPictureBox.TabStop = false;
|
|
|
|
|
|
//
|
|
|
|
|
|
// showNewKeyPictureBox
|
|
|
|
|
|
//
|
|
|
|
|
|
this.showNewKeyPictureBox.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
|
|
|
|
|
|
this.showNewKeyPictureBox.Cursor = System.Windows.Forms.Cursors.Hand;
|
|
|
|
|
|
this.showNewKeyPictureBox.Image = global::Crypto_Notepad.Properties.Resources.eye_half;
|
2019-11-11 17:19:29 +00:00
|
|
|
|
this.showNewKeyPictureBox.Location = new System.Drawing.Point(269, 39);
|
2019-10-13 11:54:45 +00:00
|
|
|
|
this.showNewKeyPictureBox.Name = "showNewKeyPictureBox";
|
2022-05-22 08:08:54 +00:00
|
|
|
|
this.showNewKeyPictureBox.Size = new System.Drawing.Size(19, 23);
|
2019-10-13 11:54:45 +00:00
|
|
|
|
this.showNewKeyPictureBox.SizeMode = System.Windows.Forms.PictureBoxSizeMode.CenterImage;
|
|
|
|
|
|
this.showNewKeyPictureBox.TabIndex = 5;
|
|
|
|
|
|
this.showNewKeyPictureBox.TabStop = false;
|
|
|
|
|
|
this.showNewKeyPictureBox.Click += new System.EventHandler(this.ShowNewKeyPictureBox_Click);
|
|
|
|
|
|
//
|
|
|
|
|
|
// showOldKeyPictureBox
|
|
|
|
|
|
//
|
|
|
|
|
|
this.showOldKeyPictureBox.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
|
|
|
|
|
|
this.showOldKeyPictureBox.Cursor = System.Windows.Forms.Cursors.Hand;
|
|
|
|
|
|
this.showOldKeyPictureBox.Image = global::Crypto_Notepad.Properties.Resources.eye_half;
|
2019-11-11 17:19:29 +00:00
|
|
|
|
this.showOldKeyPictureBox.Location = new System.Drawing.Point(269, 14);
|
2019-10-13 11:54:45 +00:00
|
|
|
|
this.showOldKeyPictureBox.Name = "showOldKeyPictureBox";
|
2022-05-22 08:08:54 +00:00
|
|
|
|
this.showOldKeyPictureBox.Size = new System.Drawing.Size(19, 23);
|
2019-10-13 11:54:45 +00:00
|
|
|
|
this.showOldKeyPictureBox.SizeMode = System.Windows.Forms.PictureBoxSizeMode.CenterImage;
|
|
|
|
|
|
this.showOldKeyPictureBox.TabIndex = 5;
|
|
|
|
|
|
this.showOldKeyPictureBox.TabStop = false;
|
|
|
|
|
|
this.showOldKeyPictureBox.Click += new System.EventHandler(this.ShowOldKeyPictureBox_Click);
|
2019-08-20 08:17:02 +00:00
|
|
|
|
//
|
2022-05-22 08:08:54 +00:00
|
|
|
|
// statusLabel
|
|
|
|
|
|
//
|
|
|
|
|
|
this.statusLabel.AutoSize = true;
|
|
|
|
|
|
this.statusLabel.Font = new System.Drawing.Font("Segoe UI", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(204)));
|
|
|
|
|
|
this.statusLabel.ForeColor = System.Drawing.Color.Black;
|
|
|
|
|
|
this.statusLabel.Location = new System.Drawing.Point(2, 85);
|
|
|
|
|
|
this.statusLabel.Name = "statusLabel";
|
|
|
|
|
|
this.statusLabel.Size = new System.Drawing.Size(38, 15);
|
|
|
|
|
|
this.statusLabel.TabIndex = 7;
|
|
|
|
|
|
this.statusLabel.Text = "status";
|
|
|
|
|
|
//
|
|
|
|
|
|
// passwordGeneratorButton
|
|
|
|
|
|
//
|
|
|
|
|
|
this.passwordGeneratorButton.Image = global::Crypto_Notepad.Properties.Resources.key_plus;
|
|
|
|
|
|
this.passwordGeneratorButton.Location = new System.Drawing.Point(266, 80);
|
|
|
|
|
|
this.passwordGeneratorButton.Name = "passwordGeneratorButton";
|
|
|
|
|
|
this.passwordGeneratorButton.Size = new System.Drawing.Size(25, 25);
|
|
|
|
|
|
this.passwordGeneratorButton.TabIndex = 9;
|
|
|
|
|
|
this.changeKeyFormToolTip.SetToolTip(this.passwordGeneratorButton, "Password Generator");
|
|
|
|
|
|
this.passwordGeneratorButton.UseVisualStyleBackColor = true;
|
|
|
|
|
|
this.passwordGeneratorButton.Click += new System.EventHandler(this.PasswordGeneratorButton_Click);
|
|
|
|
|
|
//
|
2019-11-11 17:19:29 +00:00
|
|
|
|
// oldKeyTextBox
|
|
|
|
|
|
//
|
2022-05-22 08:08:54 +00:00
|
|
|
|
this.oldKeyTextBox.Font = new System.Drawing.Font("Segoe UI", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(204)));
|
2019-11-11 17:19:29 +00:00
|
|
|
|
this.oldKeyTextBox.Location = new System.Drawing.Point(64, 14);
|
|
|
|
|
|
this.oldKeyTextBox.Name = "oldKeyTextBox";
|
2019-11-27 09:59:42 +00:00
|
|
|
|
this.oldKeyTextBox.Placeholder = "Old password";
|
2019-11-11 17:19:29 +00:00
|
|
|
|
this.oldKeyTextBox.PlaceholderActiveForeColor = System.Drawing.Color.DarkGray;
|
2022-05-22 08:08:54 +00:00
|
|
|
|
this.oldKeyTextBox.PlaceholderFont = new System.Drawing.Font("Segoe UI", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(204)));
|
2019-11-11 17:19:29 +00:00
|
|
|
|
this.oldKeyTextBox.PlaceholderForeColor = System.Drawing.Color.DarkGray;
|
2022-05-22 08:08:54 +00:00
|
|
|
|
this.oldKeyTextBox.Size = new System.Drawing.Size(206, 23);
|
2019-11-11 17:19:29 +00:00
|
|
|
|
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
|
|
|
|
|
|
//
|
2022-05-22 08:08:54 +00:00
|
|
|
|
this.newKeyTextBox.Font = new System.Drawing.Font("Segoe UI", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(204)));
|
2019-11-11 17:19:29 +00:00
|
|
|
|
this.newKeyTextBox.Location = new System.Drawing.Point(64, 39);
|
|
|
|
|
|
this.newKeyTextBox.Name = "newKeyTextBox";
|
2019-11-27 09:59:42 +00:00
|
|
|
|
this.newKeyTextBox.Placeholder = "New password";
|
2019-11-11 17:19:29 +00:00
|
|
|
|
this.newKeyTextBox.PlaceholderActiveForeColor = System.Drawing.Color.DarkGray;
|
2022-05-22 08:08:54 +00:00
|
|
|
|
this.newKeyTextBox.PlaceholderFont = new System.Drawing.Font("Segoe UI", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(204)));
|
2019-11-11 17:19:29 +00:00
|
|
|
|
this.newKeyTextBox.PlaceholderForeColor = System.Drawing.Color.DarkGray;
|
2022-05-22 08:08:54 +00:00
|
|
|
|
this.newKeyTextBox.Size = new System.Drawing.Size(206, 23);
|
2019-11-11 17:19:29 +00:00
|
|
|
|
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);
|
|
|
|
|
|
//
|
2019-11-28 20:36:43 +00:00
|
|
|
|
// ChangePasswordForm
|
2016-01-07 16:45:32 +00:00
|
|
|
|
//
|
|
|
|
|
|
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
|
|
|
|
|
|
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
|
2019-11-11 17:19:29 +00:00
|
|
|
|
this.ClientSize = new System.Drawing.Size(295, 110);
|
|
|
|
|
|
this.Controls.Add(this.passwordGeneratorButton);
|
2019-10-13 11:54:45 +00:00
|
|
|
|
this.Controls.Add(this.statusLabel);
|
|
|
|
|
|
this.Controls.Add(this.acceptButton);
|
2019-11-11 17:19:29 +00:00
|
|
|
|
this.Controls.Add(this.mainPanel);
|
2019-10-13 11:54:45 +00:00
|
|
|
|
this.Font = new System.Drawing.Font("Segoe UI", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(204)));
|
2016-01-07 16:45:32 +00:00
|
|
|
|
this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedDialog;
|
2019-11-19 13:42:49 +00:00
|
|
|
|
this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
|
2016-01-07 16:45:32 +00:00
|
|
|
|
this.MaximizeBox = false;
|
|
|
|
|
|
this.MinimizeBox = false;
|
2019-11-28 20:36:43 +00:00
|
|
|
|
this.Name = "ChangePasswordForm";
|
2019-09-28 19:57:03 +00:00
|
|
|
|
this.ShowInTaskbar = false;
|
2016-01-07 16:45:32 +00:00
|
|
|
|
this.StartPosition = System.Windows.Forms.FormStartPosition.CenterParent;
|
2019-11-27 09:59:42 +00:00
|
|
|
|
this.Text = "Change Password";
|
2019-10-13 11:54:45 +00:00
|
|
|
|
this.mainPanel.ResumeLayout(false);
|
|
|
|
|
|
this.mainPanel.PerformLayout();
|
|
|
|
|
|
((System.ComponentModel.ISupportInitialize)(this.lockPictureBox)).EndInit();
|
|
|
|
|
|
((System.ComponentModel.ISupportInitialize)(this.showNewKeyPictureBox)).EndInit();
|
|
|
|
|
|
((System.ComponentModel.ISupportInitialize)(this.showOldKeyPictureBox)).EndInit();
|
2016-01-07 16:45:32 +00:00
|
|
|
|
this.ResumeLayout(false);
|
2016-01-25 12:49:40 +00:00
|
|
|
|
this.PerformLayout();
|
2016-01-07 16:45:32 +00:00
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
#endregion
|
|
|
|
|
|
|
2019-10-28 18:32:13 +00:00
|
|
|
|
private System.Windows.Forms.PlaceholderTextBox oldKeyTextBox;
|
|
|
|
|
|
private System.Windows.Forms.PlaceholderTextBox newKeyTextBox;
|
2019-10-13 11:54:45 +00:00
|
|
|
|
private System.Windows.Forms.Button acceptButton;
|
|
|
|
|
|
private System.Windows.Forms.PictureBox showOldKeyPictureBox;
|
|
|
|
|
|
private System.Windows.Forms.PictureBox showNewKeyPictureBox;
|
|
|
|
|
|
private System.Windows.Forms.Panel mainPanel;
|
|
|
|
|
|
private System.Windows.Forms.PictureBox lockPictureBox;
|
|
|
|
|
|
private System.Windows.Forms.Label statusLabel;
|
2019-11-11 17:19:29 +00:00
|
|
|
|
private System.Windows.Forms.ToolTip changeKeyFormToolTip;
|
|
|
|
|
|
private System.Windows.Forms.Button passwordGeneratorButton;
|
2016-01-07 16:45:32 +00:00
|
|
|
|
}
|
|
|
|
|
|
}
|