/* 啟動記事本程序 */
private void 記事本ToolStripMenuItem_Click(object sender, EventArgs e)
{
//開啟一個新process
System.Diagnostics.ProcessStartInfo p = null;
System.Diagnostics.Process proc;
p = new System.Diagnostics.ProcessStartInfo("NOTEPAD.exe");
p.WorkingDirectory = "NOTEPAD.exe";//設置此外部程序所在windows目錄
proc = System.Diagnostics.Process.Start(p);//調用外部程序
}