c# 本地查看文档(word、xls、pdf,甚至于exe)

打开帮助文档

System.Diagnostics.Process.Start(Directory.GetCurrentDirectory() + "\\" + "help.chm");

打开计算机

System.Diagnostics.Process.Start("C:\\windows\\system32\\" + "calc.pdf");

亲测可行。

转载于:https://www.cnblogs.com/huanjun/p/7975792.html

 

發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章