c# - How can I allow my program to open a file when "Open with" is used? -
i have written word processor in c#. allow program open files when user right clicks file , selects "open with" , selects program. how can implement such feature program? currently, way user can open file using openfiledialog.
as of now, if user chooses "open with" , selects program, doesn't open file selected.
what best way implement feature?
"open with" passes file name argument application.
Comments
Post a Comment