Hello,
I monitor the WindowClosed event of my DockSites to manually dispose the Tool/Document Window and destrory them when the window is closed (the docksite can not automatic destory the window even when the AreDocumentWindowsDestroyedOnClose is set to True).
However, I am facing two additional problems then:
1. If I use the MoveToLinkedDockSite moethod to programatically moving one window to another docksite, the WindowClosed event is triggered and thus the moving window is destoried unintended.
2. If the docksite (child docksite) of a rafting window is docking in a DocumentWindow which is inside a TabbedMdiHost of another docksite (parent docksite), and the TabbedMdiHost of parent docksite has more than one DocumentWindows. If I switch to another DocumentWindow, the WindowClosed event is triggered and the rafting window of the child docksite is destoried unintended.
I think the WindowClosed event should not be triggered in both situations, since the window is not actually asked to be closed.
Ranye