C# File Association: passing double clicked file path to string
===

I recently made a notepad like program for C#, and found a library for using file associations. I am wondering who I would pass the path of the file double clicked in explorer, to a string so the file can read and 'open' the text file (like how notepad does). I have googled for a while, and asked around a few forums, and my friends. Any answers or nudges in the right direction are appreciated. Thank You

(note: I've already tried reading it from the string[] args paramater in Main(), which was suggested by someone else)