![]() |
![]() |
![]() |
Line.Reset Event |
Language: |
Occurs after the Line.OnResetDevice method is called or after the Line is reset.
Visual Basic .NET Public Event Reset As EventHandler C# public event EventHandler Reset; Managed C++ public: __event EventHandler Reset; JScript .NET In JScript .NET, you can use events, but you cannot define your own.
To add an event handler that listens for a Line.Reset event, use the following C# code.
[C#]
line.Reset += new System.EventHandler(this.ResetEventHandler);
Feedback? Please provide us with your comments on this topic.
For more help, visit the DirectX Developer Center