Inheriting classes should override this method to find out when the handle is about to be destroyed. Call base.onDestroyHandle last.
[Visual Basic] Overridable Protected Sub OnDestroyHandle( _ ByVal e As EventArgs _ ) [C#] protected virtual void OnDestroyHandle( EventArgs e ); [C++] protected: virtual void OnDestroyHandle( EventArgs* e ); [JScript] protected function OnDestroyHandle( e : EventArgs );
Control Class | Control Members | System.WinForms Namespace | AddOnDestroyHandle | RemoveOnDestroyHandle