2014年4月14日 星期一
C# WinForm 中開啟 Console
調用 kernel32.dll,宣告後,在要輸出 console 之前呼叫該 function 即可,程式碼如下
reference
Console Output from a WinForms Application
onsole redirect output and continue to write also in the console
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[DllImport("kernel32.dll")] | |
public static extern Boolean AllocConsole(); | |
[DllImport("kernel32.dll")] | |
public static extern Boolean FreeConsole(); |
reference
Console Output from a WinForms Application
onsole redirect output and continue to write also in the console
2014年4月9日 星期三
Universal USB Installer - 製作系統安裝 USB 隨身碟
ubuntu、windows 可用
http://www.pendrivelinux.com/universal-usb-installer-easy-as-1-2-3/
訂閱:
文章 (Atom)