Example #1
0
        public void OpenConsoleWindow()
        {
            CloseConsoleWindow();

            Activate();
            Show();

            if (consoleWindow == null)
            {
                consoleWindow         = new ConsoleWindow();
                consoleWindow.Closed += consoleWindow_Closed;
                consoleWindow.Show();
                consoleWindow.Activate();
                consoleWindow.Owner = this;
            }
        }
Example #2
0
 void consoleWindow_Closed(object sender, EventArgs e)
 {
     consoleWindow = null;
     Hide();
 }