C# How to open a PDF in my project resources?

后端 未结 3 1542
无人共我
无人共我 2020-12-21 02:38

I have a winfrom GUI that has a \'help\' context menu. When clicked, I would like to open the user manual for the application. The manual is a pdf which is stored within the

3条回答
  •  长情又很酷
    2020-12-21 03:16

    Try this (you need just a path to the PDF file, no need to add it to the resource):

    using System.Diagnostics;
    
    Process.Start(“Path_of_PDFFile”)
    

提交回复
热议问题