public void Close() { if (theKeyboardBindingsForm != null) { Async.UI(delegate { theKeyboardBindingsForm.Close(); }, theKeyboardBindingsForm, false); } if (theMenuForm != null) { Async.UI(delegate { theMenuForm.Close(); }, theMenuForm, false); } theGameEngine.Close(); theRendererManager.Close(); // theRenderer.Close(); theGameStatus.Close(); }