Application. Disposed 事件
在释放应用程序时发生。Occurs when the application is disposed.
public: virtual event EventHandler ^ Disposed;
public event EventHandler Disposed;
member this.Disposed : EventHandler
Public Custom Event Disposed As EventHandler
当创建 Disposed 委托时，请标识将处理事件的方法。When you create a Disposed delegate, you identify the method that handles the event. 若要将事件与事件处理程序关联，请将 Disposed 委托的实例添加到事件。To associate the event with your event handler, add an instance of the Disposed delegate to the event. 只要事件发生，就会调用事件处理程序，除非删除 Disposed 委托。The event handler is called whenever the event occurs, unless you remove the Disposed delegate.