I have a window that is created and OnDestroy() is called at some point without the user ever clicking on the 'Close' or 'X' button which closes the window.
What other operations/actions/things could possibly cause this function to be called and why?
Microsoft's documentation is useless as per usual:
http://msdn.microsoft.com/en-us/library/vstudio/2eahe3wf.aspx