/// <summary> /// Destroy the window created in IPropertyPage::Activate. /// </summary> public void Deactivate() { if (myPageView != null) { myPageView.Dispose(); myPageView = null; } }