Displaying a pdf file from Winform

前端 未结 11 1119
醉梦人生
醉梦人生 2020-12-09 03:03

I\'m just creating a simple calculator in C# (windows form)

I\'ve created a \"User Help\" which is a pdf file, what I want is to display that pdf file if the user cl

11条回答
  •  不思量自难忘°
    2020-12-09 03:34

    You could use the WebBrowser control and let IE load a PDF reader for you if there is one installed on the machine.

    However the last time I tried this, I had to write the PDF file to disk first, so I could point the WebBrowser control at it.

提交回复
热议问题