From 18d7461404f5251cd1a52e317027f0bdccc3134a Mon Sep 17 00:00:00 2001 From: Sigmanor Date: Thu, 7 Jan 2016 17:02:30 +0200 Subject: [PATCH] Added tooltip --- EncryptPad/Form2.Designer.cs | 6 +++++- EncryptPad/Form2.resx | 3 +++ 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/EncryptPad/Form2.Designer.cs b/EncryptPad/Form2.Designer.cs index 13425ab..c4c65e1 100644 --- a/EncryptPad/Form2.Designer.cs +++ b/EncryptPad/Form2.Designer.cs @@ -28,10 +28,12 @@ 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); ((System.ComponentModel.ISupportInitialize)(this.pictureBox1)).BeginInit(); this.SuspendLayout(); // @@ -66,6 +68,7 @@ private void InitializeComponent() this.pictureBox1.SizeMode = System.Windows.Forms.PictureBoxSizeMode.AutoSize; this.pictureBox1.TabIndex = 3; this.pictureBox1.TabStop = false; + this.toolTip1.SetToolTip(this.pictureBox1, "Show key"); this.pictureBox1.Click += new System.EventHandler(this.pictureBox1_Click); // // Form2 @@ -81,7 +84,7 @@ private void InitializeComponent() this.MinimizeBox = false; this.Name = "Form2"; this.StartPosition = System.Windows.Forms.FormStartPosition.CenterParent; - this.Text = "Encryption key"; + this.Text = "Enter the key"; ((System.ComponentModel.ISupportInitialize)(this.pictureBox1)).EndInit(); this.ResumeLayout(false); this.PerformLayout(); @@ -93,5 +96,6 @@ private void InitializeComponent() private System.Windows.Forms.TextBox textBox1; private System.Windows.Forms.Button button1; private System.Windows.Forms.PictureBox pictureBox1; + private System.Windows.Forms.ToolTip toolTip1; } } \ No newline at end of file diff --git a/EncryptPad/Form2.resx b/EncryptPad/Form2.resx index 9ba9760..fb3865a 100644 --- a/EncryptPad/Form2.resx +++ b/EncryptPad/Form2.resx @@ -130,4 +130,7 @@ kdQaQ+WBirNYxavIWBxUPoJ5jiHzAT9bBjfcBm47+Xe8QqH4JyQSP8mesSKSooDOAAAAAElFTkSuQmCC + + 17, 17 + \ No newline at end of file