Notification.BalloonChanged-Ereignis

Dieser Dokumentation für die Vorschau nur ist und in späteren Versionen geändert. Leere Themen wurden als Platzhalter eingefügt.]

Tritt auf, wenn eine Sprechblase angezeigt ausgeblendet oder wird.

Namespace:  Microsoft.WindowsCE.Forms
Assembly:  Microsoft.WindowsCE.Forms (in Microsoft.WindowsCE.Forms.dll)

Syntax

'Declaration
Public Event BalloonChanged As BalloonChangedEventHandler
'Usage
Dim instance As Notification
Dim handler As BalloonChangedEventHandler

AddHandler instance.BalloonChanged, handler
public event BalloonChangedEventHandler BalloonChanged
public:
 event BalloonChangedEventHandler^ BalloonChanged {
    void add (BalloonChangedEventHandler^ value);
    void remove (BalloonChangedEventHandler^ value);
}
member BalloonChanged : IEvent<BalloonChangedEventHandler,
    BalloonChangedEventArgs>

Hinweise

Dieses Ereignis tritt bei jedem Festlegen der Eigenschaft Visible.

Weitere Informationen über die Behandlung von Ereignissen finden Sie unter Verarbeiten von Ereignissen.

Beispiele

Im folgenden Codebeispiel wird veranschaulicht mithilfe dieses Ereignisses bestimmt immer wenn eine Benachrichtigung erstellt wird.Dieses Codebeispiel ist Teil eines umfangreicheren Beispiels für die Notification-Klasse bereitgestellt wird.

' You can use the BalloonChanged event' created by tracking each time the notification is made visible.PrivateSub OnBalloonChanged(obj AsObject, _
  balevent As BalloonChangedEventArgs) Handles Notification1.BalloonChanged
   If balevent.Visible = TrueThen    ' You can add code here to add     ' functionality such as user interface     ' changes that should occur when    ' the notification is displayed.EndIfEndSub
// You can use the BalloonChanged event// created by tracking each time the notification is made visible.privatevoid OnBalloonChanged(object obj, BalloonChangedEventArgs balevent)
{
    if (balevent.Visible == true)
    {
        // You can add code here to add // functionality such as user interface // changes that should occur when// the notification is displayed.
    }

}

.NET Framework-Sicherheit

Plattformen

Windows Mobile für Pocket PC

Die .NET Framework und .NET Compact Framework unterstützen nicht alle Versionen sämtlicher Plattformen. Eine Liste der unterstützten Versionen finden Sie unter Systemanforderungen für .NET framework.

Versionsinformationen

.NET Compact Framework

Unterstützt in: 3.5, 2.0

Siehe auch

Referenz

Notification Klasse

Member Notification

Microsoft.WindowsCE.Forms-Namespace