Notification.BalloonChanged Event
.NET Framework 2.0
Occurs when a message balloon is displayed or hidden.
Namespace: Microsoft.WindowsCE.Forms
Assembly: Microsoft.WindowsCE.Forms (in microsoft.windowsce.forms.dll)
Assembly: Microsoft.WindowsCE.Forms (in microsoft.windowsce.forms.dll)
'Declaration Public Event BalloonChanged As BalloonChangedEventHandler 'Usage Dim instance As Notification Dim handler As BalloonChangedEventHandler AddHandler instance.BalloonChanged, handler
/** @event */ public void add_BalloonChanged (BalloonChangedEventHandler value) /** @event */ public void remove_BalloonChanged (BalloonChangedEventHandler value)
JScript supports the use of events, but not the declaration of new ones.
This event occurs whenever you set the Visible property.
For more information about handling events, see Consuming Events.
The following code example demonstrates using this event to determine whenever a notification is created. This code example is part of a larger example provided for the Notification class.
' You can use the BalloonChanged event ' created by tracking each time the notification is made visible. Private Sub OnBalloonChanged(obj As Object, _ balevent As BalloonChangedEventArgs) Handles Notification1.BalloonChanged If balevent.Visible = True Then ' You can add code here to add ' functionality such as user interface ' changes that should occur when ' the notification is displayed. End If End Sub
Windows Mobile for Pocket PC
The .NET Framework does not support all versions of every platform. For a list of the supported versions, see System Requirements.
Community Additions
ADD
Show: