mirror of
https://github.com/Crypto-Notepad/Crypto-Notepad.git
synced 2026-03-11 08:55:25 +00:00
New icon to show password
This commit is contained in:
parent
aca4626588
commit
c07c8789e5
5 changed files with 23 additions and 22 deletions
18
EncryptPad/Form2.Designer.cs
generated
18
EncryptPad/Form2.Designer.cs
generated
|
|
@ -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);
|
||||
|
|
|
|||
|
|
@ -117,19 +117,6 @@
|
|||
<resheader name="writer">
|
||||
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
|
||||
</resheader>
|
||||
<assembly alias="System.Drawing" name="System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" />
|
||||
<data name="pictureBox1.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
|
||||
<value>
|
||||
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
|
||||
</value>
|
||||
</data>
|
||||
<metadata name="toolTip1.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
|
||||
<value>17, 17</value>
|
||||
</metadata>
|
||||
|
|
|
|||
10
EncryptPad/Properties/Resources.Designer.cs
generated
10
EncryptPad/Properties/Resources.Designer.cs
generated
|
|
@ -59,5 +59,15 @@ internal Resources() {
|
|||
resourceCulture = value;
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Поиск локализованного ресурса типа System.Drawing.Bitmap.
|
||||
/// </summary>
|
||||
internal static System.Drawing.Bitmap eye_icon {
|
||||
get {
|
||||
object obj = ResourceManager.GetObject("eye_icon", resourceCulture);
|
||||
return ((System.Drawing.Bitmap)(obj));
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -117,4 +117,8 @@
|
|||
<resheader name="writer">
|
||||
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
|
||||
</resheader>
|
||||
<assembly alias="System.Windows.Forms" name="System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" />
|
||||
<data name="eye_icon" type="System.Resources.ResXFileRef, System.Windows.Forms">
|
||||
<value>..\Resources\123456.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
|
||||
</data>
|
||||
</root>
|
||||
BIN
EncryptPad/Resources/123456.png
Normal file
BIN
EncryptPad/Resources/123456.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 395 B |
Loading…
Reference in a new issue