Change the output type from Console Application to Windows Application. This can be done under Project -> Properties -> Application in Visual Studio:

Change the output type from Console Application to Windows Application. This can be done under Project -> Properties -> Application in Visual Studio:
