嗨,問題與氣球提示
我在我們的應用程序中創建氣球提示。我的問題是,所有的氣球提示都停留在任務欄上,需要將它們懸停以消失。
public static bool SetBalloonTip(string balloonTipTitle, string balloonTipText, ToolTipIcon balloonTipIcon)
{
bool result = false;
NotifyIcon notifyIcon;
try
{
notifyIcon = new NotifyIcon();
notifyIcon.Icon = SystemIcons.Information;
notifyIcon.BalloonTipTitle = balloonTipTitle;
notifyIcon.BalloonTipText = balloonTipText;
notifyIcon.BalloonTipIcon = balloonTipIcon;
notifyIcon.Visible = true;
notifyIcon.ShowBalloonTip(30000);
result = true;
}
catch (Exception)
{
throw;
}
return result;
}
我的問題是,如何使該通知已被證明後,圖標會消失?
尋找此@Willem。謝謝 – Rezoan