Redigera

Dela via


NotifyIcon.BalloonTipClosed Event

Definition

Occurs when the balloon tip is closed by the user.

public:
 event EventHandler ^ BalloonTipClosed;
public event EventHandler BalloonTipClosed;
public event EventHandler? BalloonTipClosed;
member this.BalloonTipClosed : EventHandler 
Public Custom Event BalloonTipClosed As EventHandler 

Event Type

Examples

The following code example demonstrates how to handle the BalloonTipClosed event.

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

Remarks

For more information about how to handle events, see Handling and Raising Events.

Applies to