W
wheels619
Hi,
I have a program that has options to run as both a GUI and a console.
The program entry point has a c# file with the "static main...."
It checks some parameters, if no parameters, it launches the GUI by:
if(args.Length == 0)
{
Application.Run(new MainForm());
}
If I double click on the application, a blank console window will open
along with the GUI window.
How can I make the blank console window not open??
Thanks
I have a program that has options to run as both a GUI and a console.
The program entry point has a c# file with the "static main...."
It checks some parameters, if no parameters, it launches the GUI by:
if(args.Length == 0)
{
Application.Run(new MainForm());
}
If I double click on the application, a blank console window will open
along with the GUI window.
How can I make the blank console window not open??
Thanks