隐藏控制台窗口的C#控制台应用程序 [英] Hide Console Window in C# Console Application

查看:532
本文介绍了隐藏控制台窗口的C#控制台应用程序的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

的事情是,我真的不希望控制台窗口中显示出来......但该解决方案应该运行。 在这里我想说的是,我希望保持在后台运行的应用程序,没有任何窗口来了。

The thing is, i really dont want the console window to show up...but the solution should be running. My point here is, I want to keep the application running in the background, without any window coming up.

推荐答案

从更改的控制台应用程序的输出类型的 Windows应用程序的。这下完成的项目 - >属性 - >应用程序的Visual Studio中:

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

这篇关于隐藏控制台窗口的C#控制台应用程序的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆