void OnDestroy() { OutlineView.CloseIfExists(); DesignerView.CloseIfExists(); PropertyView.CloseIfExists(); }