从任务栏隐藏WinForms应用程序 [英] Hiding winforms app from taskbar

查看:116
本文介绍了从任务栏隐藏WinForms应用程序的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

如何隐藏一个WinForm,这样才牛逼不会在Windows任务栏上显示,用户看不到它,或者当用户按下<大骨节病>替代 + <大骨节病>标签

How can I hide a winform, so that it t will not show in the Windows taskbar , user do not see it , or when the user presses Alt + Tab ?

推荐答案

在代码中执行以下操作:

In code do the following:

this.ShowInTaskbar = FALSE;

或者在设计模式:

编辑:

您还必须设置FormBorderStyle

You must also set the FormBorderStyle

代码:

this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.SizableToolWindow;

设计:

这绝对不工作 - 这是使用的是Windows Vista中的某些丝网印刷

This definitely does work - these are some screen prints using Windows Vista.

应用程序运行:

在ALT未出现+ TAB

Not appearing in ALT + TAB

这篇关于从任务栏隐藏WinForms应用程序的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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