diff --git a/ApplicationView/MainApplicationWidget.cs b/ApplicationView/MainApplicationWidget.cs index b3fb29365..d1acbfdda 100644 --- a/ApplicationView/MainApplicationWidget.cs +++ b/ApplicationView/MainApplicationWidget.cs @@ -98,7 +98,11 @@ namespace MatterHackers.MatterControl UiThread.RunOnIdle((state) => { // give the widget a chance to hear about the close before they are actually colsed. - widescreenPanel.RecreateAllPanels(); + bool cancelClose; + this.OnClosing(out cancelClose); + + this.CloseAndRemoveAllChildren(); + AddElements(); }); } diff --git a/MatterControl.sln b/MatterControl.sln index c86c356e3..81ae8c5c1 100644 --- a/MatterControl.sln +++ b/MatterControl.sln @@ -1,8 +1,6 @@  -Microsoft Visual Studio Solution File, Format Version 12.00 -# Visual Studio 2013 -VisualStudioVersion = 12.0.30501.0 -MinimumVisualStudioVersion = 10.0.40219.1 +Microsoft Visual Studio Solution File, Format Version 11.00 +# Visual Studio 2010 Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "MatterControl", "MatterControl.csproj", "{0B8D6F56-BD7F-4426-B858-D9292B084656}" ProjectSection(ProjectDependencies) = postProject {F67AE800-B0C7-42A8-836F-597B4E74591C} = {F67AE800-B0C7-42A8-836F-597B4E74591C}