![Avatar](https://secure.gravatar.com/avatar/38de240190d52cdf4538b3fc6f13c098.jpg?s=64&d=identicon&r=g)
When my application closes, I do not get DockSite.WindowClosing events for all currently opened DocumentWindows. I obviously get them when the user manually closes a DocumentWindow via the UI. However, exiting the Application through the top level Close Button (X), or File | Exit, via the Ribbon, does not cause DockSite.WindowClosing events.
How can I get these events to fire? I have some per-DocumentWindow specific state I'd like to serialize before the Window closes.
How can I get these events to fire? I have some per-DocumentWindow specific state I'd like to serialize before the Window closes.