Closing windows when Main application is closed

Topics: CAB & Smart Client Software Factory
Oct 8, 2007 at 9: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

Regards

Matt.

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

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

Thanks

Matt