General information
Category:
Coding, syntax and commands
Title:
Winform without DOS Console
I've created an Empty Winform project in C#.NET with just a Windows Form component. I am trying to put all the code in one file instead of having a partial class, etc. Everything works fine and my Form displays as desired, but I also get a Console (DOS) window along with my Winform.
I can go to the Properties tabs and set it for a Windows Application output type, run it and the DOS window is gone; however, I was wondering if there's a way in code to declare the same thing, a switch or something.
Thanks,
Next
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only