コード例 #1
0
ファイル: MessageHandlers.cs プロジェクト: Khaleesh/Mzinga
        private static void ShowEngineConsole(EngineConsoleMessage message)
        {
            EngineConsoleWindow window = EngineConsoleWindow.Instance;

            window.Show();

            if (!window.IsActive)
            {
                window.Activate();
            }
        }
コード例 #2
0
ファイル: MessageHandlers.cs プロジェクト: tswaugh/Mzinga
        private static void ShowEngineConsole(EngineConsoleMessage message)
        {
            try
            {
                EngineConsoleWindow window = EngineConsoleWindow.Instance;

                window.Show();

                if (!window.IsActive)
                {
                    window.Activate();
                }
            }
            catch (Exception ex)
            {
                ExceptionUtils.HandleException(ex);
            }
        }
コード例 #3
0
 private void EngineConsoleWindow_Closed(object sender, EventArgs e)
 {
     _instance = null;
 }