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 after the Sprite.OnResetDevice method is called or after the Device is reset.
Definition
Visual Basic Public Event Reset As EventHandler C# public event EventHandler Reset;
C++ public:
event EventHandler^ Reset;
JScript In JScript, you can use events, but you cannot define your own.
Remarks
To add an event handler that listens for a Sprite.OnResetDevice event, use the following C# code.
[C#]sprite.Reset += new System.EventHandler(this.ResetEventHandler);
.gif)