private static void ShowEngineConsole(EngineConsoleMessage message) { EngineConsoleWindow window = EngineConsoleWindow.Instance; window.Show(); if (!window.IsActive) { window.Activate(); } }
private static void ShowEngineConsole(EngineConsoleMessage message) { try { EngineConsoleWindow window = EngineConsoleWindow.Instance; window.Show(); if (!window.IsActive) { window.Activate(); } } catch (Exception ex) { ExceptionUtils.HandleException(ex); } }
private void EngineConsoleWindow_Closed(object sender, EventArgs e) { _instance = null; }