Popup notification timeout increased

This commit is contained in:
Alexander 2019-11-24 22:06:24 +02:00
parent dc5a2a8394
commit ff2201d06b
2 changed files with 3 additions and 1 deletions

View file

@ -59,7 +59,7 @@ private void InitializeComponent()
//
// aboutToolTip
//
this.aboutToolTip.AutoPopDelay = 1000;
this.aboutToolTip.AutoPopDelay = 5000;
this.aboutToolTip.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(61)))), ((int)(((byte)(61)))), ((int)(((byte)(68)))));
this.aboutToolTip.ForeColor = System.Drawing.Color.DarkGray;
this.aboutToolTip.InitialDelay = 500;

View file

@ -26,6 +26,7 @@ private void GetDebugInfo()
sb.AppendLine(string.Format("OS version = {0}", OSVersionInfo.VersionString));
sb.AppendLine(".Net Framework = " + Methods.GetDotNetVersion());
Clipboard.SetText(sb.ToString());
aboutToolTip.AutoPopDelay = 1000;
aboutToolTip.SetToolTip(appVersionLabel, "Copied");
}
#endregion
@ -96,6 +97,7 @@ private void AboutToolTip_Draw(object sender, DrawToolTipEventArgs e)
private void appVersionLabel_MouseEnter(object sender, EventArgs e)
{
aboutToolTip.AutoPopDelay = 5000;
aboutToolTip.SetToolTip(appVersionLabel, "Left click to copy debug info to the clipboard");
}
#endregion