Added tooltip while hovering app version text

This commit is contained in:
Alexander 2019-11-20 13:59:13 +02:00
parent 1c1c072a0f
commit cf376d223a
2 changed files with 7 additions and 1 deletions

View file

@ -34,6 +34,7 @@ private void InitializeComponent()
this.randomColorTimer = new System.Windows.Forms.Timer(this.components);
this.copyToClipboardLabel = new System.Windows.Forms.Label();
this.appInfoRichTextBox = new Crypto_Notepad.HideCaretRichTextBox();
this.aboutToolTip = new System.Windows.Forms.ToolTip(this.components);
this.SuspendLayout();
//
// appVersionLabel
@ -47,7 +48,8 @@ private void InitializeComponent()
this.appVersionLabel.Size = new System.Drawing.Size(210, 22);
this.appVersionLabel.TabIndex = 1;
this.appVersionLabel.Text = "Crypto Notepad 1.0.0";
this.appVersionLabel.MouseClick += new System.Windows.Forms.MouseEventHandler(this.appVersionLabel_MouseClick);
this.aboutToolTip.SetToolTip(this.appVersionLabel, "Left click to copy debug info to the clipboard");
this.appVersionLabel.MouseClick += new System.Windows.Forms.MouseEventHandler(this.AppVersionLabel_MouseClick);
//
// randomColorTimer
//
@ -117,5 +119,6 @@ private void InitializeComponent()
private HideCaretRichTextBox appInfoRichTextBox;
private System.Windows.Forms.Timer randomColorTimer;
private System.Windows.Forms.Label copyToClipboardLabel;
private System.Windows.Forms.ToolTip aboutToolTip;
}
}

View file

@ -117,6 +117,9 @@
<resheader name="writer">
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</resheader>
<metadata name="aboutToolTip.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
<value>176, 17</value>
</metadata>
<metadata name="randomColorTimer.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
<value>21, 17</value>
</metadata>