Opening a .pdf file in windows form through a button click
<p>On the current window that I have, I have a button. I want to be able to click the button and open up a .pdf file which is in the resources folder of this project. Is there an easy want to do this? </p>

<p>The other methods I've looked at uses filepaths but the filepaths may not be the same all the time but the .pdf file will be in the resources folder at all times. Is there a way to access this and open it when the button is clicked?</p>

<p>Anything along the lines of?</p>

<pre><code>string filename = "instructions.pdf";
file.open();
</code></pre>

<p>Problem solved with </p>

<pre><code>private void Button1_Click(object sender, EventArgs e)
{
    string filename = "instructions.pdf";
    System.Diagnostics.Process.Start(filename);
}
</code></pre>

<p>With instructions.pdf in the bin/debug folder where the program.exe is.</p>