Reputation: 3
I converted my console application to windows forms application. Now if I need to run this program in both forms and console what do i do? I tried running it as WinForms and console... in both the cases only one of them are opened. Any advice?
Upvotes: 0
Views: 64
Reputation: 44
You can start project in Console application and add windows forms in it. I tried in my projects. :)
Upvotes: 0
Reputation: 3451
You have got two very different outputs which want to share the same code base for logic.
You will need to separate your application logic into a code library, then reference it from a Windows App and a Console App. In each app call the appropriate methods to perform whatever functionality you want.
Upvotes: 1