抓取 WinForm 應用程式所在的目錄可使用下面方法,此方法會回傳應用程式設定輸出目錄完整路徑。

System.Windows.Forms.Application.StartupPath

 

文章標籤

mitblog 發表在 痞客邦 留言(0) 人氣()