|   |   |   | 
| GammaControl.Disposing Event | Language: | 
Visual Basic Public Event Disposing As EventHandler C# public event EventHandler Disposing; C++ public: 
event EventHandler^ Disposing;JScript In JScript, you can use events, but you cannot define your own. 
To add an event handler that listens for a GammaControl.Disposing event, use the following code.
gammaControl.Disposing += new System.EventHandler(this.OnDisposing);The Disposed property of an object indicates whether that object has been disposed.
Send comments about this topic to Microsoft. © Microsoft Corporation. All rights reserved.
        
          Feedback? Please provide us with your comments on this topic.
			
        
        
	   		For more help, visit the DirectX Developer Center