Closing windows when Main application is closed

Topics: CAB & Smart Client Software Factory
Oct 8, 2007 at 10:33 AM
Hello All,

In SCSF application i am opening new windows in modeless using WindowWorkspace.

When i close the main application the child windows are still alive. how can i close the child windows when the main window is closed.

Please help



Oct 9, 2007 at 2:37 AM
that was WPF question.

Setting Shell.ShutdownMode = ShutdownMode.OnMainWindowClose; solved the issue