Gheorghe Marius
7/17/2003 2:53:00 PM
Because the output type of your exe is Console Application instead of
Windows Application. Set it wo Windows Application and the consolw thingie
won''t appear anymore.
Cheers,
Marius.
"Michel Racicot" <michel.racicot@cognicase.ca> wrote in message
news:OF9$FMHTDHA.2152@TK2MSFTNGP12.phx.gbl...
> Why do I obtain a console Window in addition to my CSharp Form when I do
the
> following code:
>
> using System.Windows.Forms;
>
> class MyWindow: Form
> {
> }
>
> class MyApp
> {
> static void Main ()
> {
> Application.Run (new MyWindow ());
> }
> }
>
> ?
>
>