摘要:
引用来自:http://stackoverflow.com/questions/472282/show-console-in-windows-application [DllImport("kernel32.dll", SetLastError = true)] static extern bool AllocConsole(); [DllImport("kernel32.dll", SetLastError = true)] static extern bool FreeConsole(); [DllImport("kernel32" 阅读全文