語言

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

備註

欲了解更多如何處理事件的資訊,請參閱 「處理與提升事件」。

適用於