NotifyIcon.BalloonTipClosed 事件

定义

当用户关闭气球状提示时发生。

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

注解

有关如何处理事件的详细信息,请参阅 处理和引发事件

适用于