From 0a50567b05ed1d985e0495e403b834f39cc67a44 Mon Sep 17 00:00:00 2001 From: Alexander Date: Tue, 19 Nov 2019 15:57:15 +0200 Subject: [PATCH] dev --- Crypto Notepad/EnterKeyForm.Designer.cs | 34 ++++++++++++------------- Crypto Notepad/EnterKeyForm.resx | 18 ------------- 2 files changed, 17 insertions(+), 35 deletions(-) diff --git a/Crypto Notepad/EnterKeyForm.Designer.cs b/Crypto Notepad/EnterKeyForm.Designer.cs index 92174f3..8bf56b6 100644 --- a/Crypto Notepad/EnterKeyForm.Designer.cs +++ b/Crypto Notepad/EnterKeyForm.Designer.cs @@ -32,15 +32,15 @@ private void InitializeComponent() System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(EnterKeyForm)); this.okButton = new System.Windows.Forms.Button(); this.mainPanel = new System.Windows.Forms.Panel(); - this.lockPictureBox = new System.Windows.Forms.PictureBox(); this.fileNameLabel = new System.Windows.Forms.Label(); this.showKeyPictureBox = new System.Windows.Forms.PictureBox(); + this.lockPictureBox = new System.Windows.Forms.PictureBox(); this.enterKeyFormToolTip = new System.Windows.Forms.ToolTip(this.components); this.passwordGeneratorButton = new System.Windows.Forms.Button(); this.keyTextBox = new System.Windows.Forms.PlaceholderTextBox(); this.mainPanel.SuspendLayout(); - ((System.ComponentModel.ISupportInitialize)(this.lockPictureBox)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.showKeyPictureBox)).BeginInit(); + ((System.ComponentModel.ISupportInitialize)(this.lockPictureBox)).BeginInit(); this.SuspendLayout(); // // okButton @@ -67,24 +67,12 @@ private void InitializeComponent() this.mainPanel.Size = new System.Drawing.Size(295, 75); this.mainPanel.TabIndex = 5; // - // lockPictureBox - // - this.lockPictureBox.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; - this.lockPictureBox.Cursor = System.Windows.Forms.Cursors.Default; - this.lockPictureBox.Image = global::Crypto_Notepad.Properties.Resources.key_solid; - this.lockPictureBox.Location = new System.Drawing.Point(8, 14); - this.lockPictureBox.Name = "lockPictureBox"; - this.lockPictureBox.Size = new System.Drawing.Size(47, 47); - this.lockPictureBox.SizeMode = System.Windows.Forms.PictureBoxSizeMode.CenterImage; - this.lockPictureBox.TabIndex = 6; - this.lockPictureBox.TabStop = false; - // // fileNameLabel // this.fileNameLabel.AutoEllipsis = true; this.fileNameLabel.Location = new System.Drawing.Point(61, 14); this.fileNameLabel.Name = "fileNameLabel"; - this.fileNameLabel.Size = new System.Drawing.Size(196, 13); + this.fileNameLabel.Size = new System.Drawing.Size(221, 13); this.fileNameLabel.TabIndex = 6; this.fileNameLabel.Text = "File name"; this.fileNameLabel.TextAlign = System.Drawing.ContentAlignment.MiddleLeft; @@ -103,6 +91,18 @@ private void InitializeComponent() this.showKeyPictureBox.TabStop = false; this.showKeyPictureBox.Click += new System.EventHandler(this.ShowKeyPictureBox_Click); // + // lockPictureBox + // + this.lockPictureBox.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; + this.lockPictureBox.Cursor = System.Windows.Forms.Cursors.Default; + this.lockPictureBox.Image = global::Crypto_Notepad.Properties.Resources.key_solid; + this.lockPictureBox.Location = new System.Drawing.Point(8, 14); + this.lockPictureBox.Name = "lockPictureBox"; + this.lockPictureBox.Size = new System.Drawing.Size(47, 47); + this.lockPictureBox.SizeMode = System.Windows.Forms.PictureBoxSizeMode.CenterImage; + this.lockPictureBox.TabIndex = 6; + this.lockPictureBox.TabStop = false; + // // passwordGeneratorButton // this.passwordGeneratorButton.Image = global::Crypto_Notepad.Properties.Resources.key__plus; @@ -142,14 +142,14 @@ private void InitializeComponent() this.MaximizeBox = false; this.MinimizeBox = false; this.Name = "EnterKeyForm"; - this.Text = "Crypto Notepad"; + this.Text = "Enter encryption key"; this.FormClosed += new System.Windows.Forms.FormClosedEventHandler(this.EnterKeyForm_FormClosed); this.Load += new System.EventHandler(this.EnterKeyForm_Load); this.Shown += new System.EventHandler(this.EnterKeyForm_Shown); this.mainPanel.ResumeLayout(false); this.mainPanel.PerformLayout(); - ((System.ComponentModel.ISupportInitialize)(this.lockPictureBox)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.showKeyPictureBox)).EndInit(); + ((System.ComponentModel.ISupportInitialize)(this.lockPictureBox)).EndInit(); this.ResumeLayout(false); } diff --git a/Crypto Notepad/EnterKeyForm.resx b/Crypto Notepad/EnterKeyForm.resx index 8c5c0c0..b5dc6d7 100644 --- a/Crypto Notepad/EnterKeyForm.resx +++ b/Crypto Notepad/EnterKeyForm.resx @@ -117,27 +117,9 @@ System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - True - - - True - - - True - - - True - - - True - 17, 17 - - True -