Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Winform without DOS Console
Message
From
26/12/2007 09:56:08
Mike Cole
Yellow Lab Technologies
Stanley, Iowa, United States
 
 
To
26/12/2007 09:36:45
Irv Adams
MSC Managed Care, Inc.
Florida, United States
General information
Forum:
ASP.NET
Category:
Coding, syntax and commands
Miscellaneous
Thread ID:
01277495
Message ID:
01277500
Views:
13
>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,

I don't know how to solve your problem, but why are you trying to to put all of the code in one file?
Very fitting: http://xkcd.com/386/
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform