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
備註
如需如何處理事件的詳細資訊,請參閱 處理和引發事件。