Reputation: 3177
I have a project with different Win Forms in it. I can open all the forms from one form which is executable of my current project. I am wondering if there chance to create something like a shortcut to open one of the forms not only from my main form but also just from file explorer.
Thanks
Upvotes: 1
Views: 67
Reputation: 415820
You could add a command line argument to a shortcut, and add code to your app that looks at the command line at startup time and opens a different form based on what the code finds.
Upvotes: 3
Reputation: 13338
No, you will need to create an extra project, since the Main form always need to run, in order to keep your application running.
Upvotes: 1