o从我的C#应用​​程序中打开多个.pdf文件 [英] o open multiple .pdf files from my C# application

查看:64
本文介绍了o从我的C#应用​​程序中打开多个.pdf文件的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想从我的C#应用​​程序中打开多个.pdf文件并向用户显示。



我在客户端的计算机上安装了acrobat reader。 br $> b $ b

怎么做?有什么建议吗?给我一步一步的cose项目。



感谢您的时间。

I want to open multiple .pdf files from my C# application and show to the user.

I have acrobat reader in the client''s computer.

How to do this? Any suggestions please ? give me step by step cose project.

Thanks for your time.

推荐答案

如果是pdf阅读器因为在电脑上安装了acrobat阅读器,所以你可以简单地使用这个代码打开例如2 pdf'':

If a pdf reader as acrobat reader is installed on the pc, then you can simply use this code to open e.g. 2 pdf'':
private void button1_Click(object sender, EventArgs e)
{
  Process.Start("C:\\Temp\\test.pdf");
  Process.Start("C:\\Temp\\test2.pdf");
}



您应该为它添加一些错误处理:)


You should of couse add some error handling to it :)


rtyresterttsertretsre tertetbert
rtyresterttsertretsre tertetbert


这篇关于o从我的C#应用​​程序中打开多个.pdf文件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆