diff --git a/EncryptPad/Form2.Designer.cs b/EncryptPad/Form2.Designer.cs
index c4c65e1..22c5ef7 100644
--- a/EncryptPad/Form2.Designer.cs
+++ b/EncryptPad/Form2.Designer.cs
@@ -29,11 +29,10 @@ protected override void Dispose(bool disposing)
private void InitializeComponent()
{
this.components = new System.ComponentModel.Container();
- System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(Form2));
this.textBox1 = new System.Windows.Forms.TextBox();
this.button1 = new System.Windows.Forms.Button();
- this.pictureBox1 = new System.Windows.Forms.PictureBox();
this.toolTip1 = new System.Windows.Forms.ToolTip(this.components);
+ this.pictureBox1 = new System.Windows.Forms.PictureBox();
((System.ComponentModel.ISupportInitialize)(this.pictureBox1)).BeginInit();
this.SuspendLayout();
//
@@ -41,7 +40,7 @@ private void InitializeComponent()
//
this.textBox1.Location = new System.Drawing.Point(12, 12);
this.textBox1.Name = "textBox1";
- this.textBox1.Size = new System.Drawing.Size(156, 20);
+ this.textBox1.Size = new System.Drawing.Size(116, 20);
this.textBox1.TabIndex = 0;
this.textBox1.UseSystemPasswordChar = true;
this.textBox1.TextChanged += new System.EventHandler(this.textBox1_TextChanged);
@@ -50,7 +49,7 @@ private void InitializeComponent()
// button1
//
this.button1.Enabled = false;
- this.button1.Location = new System.Drawing.Point(12, 38);
+ this.button1.Location = new System.Drawing.Point(84, 40);
this.button1.Name = "button1";
this.button1.Size = new System.Drawing.Size(75, 23);
this.button1.TabIndex = 1;
@@ -60,12 +59,13 @@ private void InitializeComponent()
//
// pictureBox1
//
+ this.pictureBox1.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
this.pictureBox1.Cursor = System.Windows.Forms.Cursors.Hand;
- this.pictureBox1.Image = ((System.Drawing.Image)(resources.GetObject("pictureBox1.Image")));
- this.pictureBox1.Location = new System.Drawing.Point(168, 6);
+ this.pictureBox1.Image = global::EncryptPad.Properties.Resources.eye_icon;
+ this.pictureBox1.Location = new System.Drawing.Point(127, 12);
this.pictureBox1.Name = "pictureBox1";
- this.pictureBox1.Size = new System.Drawing.Size(32, 32);
- this.pictureBox1.SizeMode = System.Windows.Forms.PictureBoxSizeMode.AutoSize;
+ this.pictureBox1.Size = new System.Drawing.Size(32, 20);
+ this.pictureBox1.SizeMode = System.Windows.Forms.PictureBoxSizeMode.CenterImage;
this.pictureBox1.TabIndex = 3;
this.pictureBox1.TabStop = false;
this.toolTip1.SetToolTip(this.pictureBox1, "Show key");
@@ -75,7 +75,7 @@ private void InitializeComponent()
//
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
- this.ClientSize = new System.Drawing.Size(200, 69);
+ this.ClientSize = new System.Drawing.Size(173, 73);
this.Controls.Add(this.pictureBox1);
this.Controls.Add(this.button1);
this.Controls.Add(this.textBox1);
diff --git a/EncryptPad/Form2.resx b/EncryptPad/Form2.resx
index fb3865a..df8339b 100644
--- a/EncryptPad/Form2.resx
+++ b/EncryptPad/Form2.resx
@@ -117,19 +117,6 @@
System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
-
-
-
- iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAYAAABzenr0AAAABGdBTUEAALGPC/xhBQAAAZdJREFUWEft
- lD1Iw1AUhYtkkE5SHEqnTk4OIp1EHE36l6aBttSSxoJ1KElHpy4ZnBwdnZwcnJxExKE4FhERBxEHBwfp
- 6FBESj0vnEyO5nXxffAIOblw7k/uSygUCkXc9Ho9rd/va3ydL51OZ7FYLF6USqXTwWCwQHk+uK6bhPm1
- ruszcSzL2uUn+TiOs1QoFG4jcyRyn8/n3+r1epYh8mg2m8swH9F8CuNXJHBTLpfP8HxgmBwajUYaho+R
- eaVS2W+1WikYD1H9eq1WW2Xo3/A8TzNN00Old4ZhfOD5hAoPYf5C82/MfIfh8SLWChVd0ujXQUJfMLcY
- Hj+o9IBmU6zXMTphQgtgPBE6tHOGygHtDtsM0yNKIchjjx2Y+L6fpBw/mHPY6mq1ukkpBKNJC12cdru9
- Qjl+0IGxMBEVUwqxbXuLCUy73W6KcvxgxifCCK0ew3Q7CAIN65VDZ56FjgSHDJUDdj0Ds3dWO4tGwqQ+
- kdQaQ+WBirNYxavIWBxUPoJ5jiHzAT9bBjfcBm47+Xe8QqH4JyQSP8mesSKSooDOAAAAAElFTkSuQmCC
-
-
17, 17
diff --git a/EncryptPad/Properties/Resources.Designer.cs b/EncryptPad/Properties/Resources.Designer.cs
index cc8c045..7d72ff9 100644
--- a/EncryptPad/Properties/Resources.Designer.cs
+++ b/EncryptPad/Properties/Resources.Designer.cs
@@ -59,5 +59,15 @@ internal Resources() {
resourceCulture = value;
}
}
+
+ ///
+ /// Поиск локализованного ресурса типа System.Drawing.Bitmap.
+ ///
+ internal static System.Drawing.Bitmap eye_icon {
+ get {
+ object obj = ResourceManager.GetObject("eye_icon", resourceCulture);
+ return ((System.Drawing.Bitmap)(obj));
+ }
+ }
}
}
diff --git a/EncryptPad/Properties/Resources.resx b/EncryptPad/Properties/Resources.resx
index 1af7de1..a29927a 100644
--- a/EncryptPad/Properties/Resources.resx
+++ b/EncryptPad/Properties/Resources.resx
@@ -117,4 +117,8 @@
System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
+
+
+ ..\Resources\123456.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
+
\ No newline at end of file
diff --git a/EncryptPad/Resources/123456.png b/EncryptPad/Resources/123456.png
new file mode 100644
index 0000000..fb5b08f
Binary files /dev/null and b/EncryptPad/Resources/123456.png differ