开发者

linking pdf to menu item in windows application in C#

开发者 https://www.devze.com 2023-02-27 00:21 出处:网络
I am creating windows application in C# using Visual Studio 2010. I want to link PDF file to menu item in my menu strip.

I am creating windows application in C# using Visual Studio 2010. I want to link PDF file to menu item in my menu strip.

I know how to link menu item with pdf file in we开发者_开发问答b application but not in windows application, particularly with sub menu item.

Can anyone help me.

Thanks.


Handle the item's Click event and call Process.Start(pdfPath).
This will open the PDF in the user's default viewer.

0

精彩评论

暂无评论...
验证码 换一张
取 消