c# - 在 winform 中打开 PDF 或 Doc

标签 c# .net winforms pdf documentviewer

在我的 c#.net 应用程序中,我只想以 win 形式打开 pdf 或文档。 是否可以通过 winform 打开 Pdf 阅读器或文字处理器

最佳答案

            Process mydoc= new Process();

            mydoc.StartInfo.FileName   = "path to pdf or word file c:\a.doc";

            mydoc.Start();

关于c# - 在 winform 中打开 PDF 或 Doc,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/9582799/

相关文章:

c# - 带有可选小时数的 TimeSpan FormatString

.net - Arial Unicode MS是WinForms UI的正确字体吗?

c# - 如何阻止 Visual Studio 在我的 UserControl 中生成 Setter 调用?

java - 如何用Java代码重写或转换C#代码?

c# - 使用 stringbuilder 的好处

java - 修复记录: Cell information from worksheet created

java - 将数据从 SQL Server 传输到 Hadoop

.net - SortedList 与 SortedDictionary 与 Sort()

c# - 我什么时候可以处理 IDisposable WPF 控件,例如Windows 窗体主机?

c# - 当应用程序处于焦点状态时,如何捕获 WinForms 应用程序上的键?