mohammad reza
mohammad reza

Reputation: 3432

Open my application's files in C#?

My application creates files with the .mhm file extension.

When one of these files are opened I want my application to start and open the file.

Right now the application starts up but the files are not opened.

What do I do?

Upvotes: 0

Views: 196

Answers (1)

idstam
idstam

Reputation: 2878

The name of the file you want to execute is the in the args parameter of your main method.

Upvotes: 2

Related Questions