NotifyIcon.BalloonTipClosed 事件
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
当用户关闭气球状提示时发生。
public:
event EventHandler ^ BalloonTipClosed;
public event EventHandler BalloonTipClosed;
public event EventHandler? BalloonTipClosed;
member this.BalloonTipClosed : EventHandler
Public Custom Event BalloonTipClosed As EventHandler
事件类型
示例
下面的代码示例演示如何处理 BalloonTipClosed 事件。
void notifyIcon1_BalloonTipClosed(object sender, EventArgs e)
{
MessageBox.Show("The balloon tip is now closed.");
}
Sub notifyIcon1_BalloonTipClosed(ByVal sender As Object, _
ByVal e As EventArgs) Handles notifyIcon1.BalloonTipClosed
MessageBox.Show("The balloon tip is now closed.")
End Sub
注解
有关如何处理事件的详细信息,请参阅 处理和引发事件。