Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Occurs when an object is lost, normally immediately prior to a device reset.
Definition
Visual Basic Public Event Lost As EventHandler C# public event EventHandler Lost;
C++ public:
event EventHandler^ Lost;
JScript In JScript, you can use events, but you cannot define your own.
Remarks
To add an event handler that listens for a Sprite.Lost event, use the following C# code.
[C#]sprite.Lost += new System.EventHandler(this.LostEventHandler);
.gif)