protected override void ManagerThreadMethod()
        {
            FormToGetMessages = new HiddenMAMEOutputWindow(this);
            FormToGetMessages.RegisterMAMEMessages();
            // Enter message pump, until Application.ExitThread() will be called on same execution context
            Application.Run();

            Log("Windows terminated", LogLevels.INFORMATIVE);
        }
Beispiel #2
0
        protected void HiddenWindowMessagePump()
        {
            Log("Entering HiddenWindow Thread", LogLevels.INFORMATIVE);
            if (FormToGetMessages == null)
            {
                FormToGetMessages = new HiddenMAMEOutputWindow(this);
                FormToGetMessages.RegisterMAMEMessages();
            }
            // Enter message pump, until Application.ExitThread() will be
            // called on same execution context or when exiting the application
            Application.Run();

            Log("HiddenWindow Thread done", LogLevels.INFORMATIVE);
        }