创建的WinForms系统托盘风格框(C#) [英] Create a System-tray styled box in Winforms (C#)

查看:142
本文介绍了创建的WinForms系统托盘风格框(C#)的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我一直在狩猎有关这方面的一些资源,我找不到任何,所以我这里带。

I've been hunting about for some resources on this, and I can't find any, so I'll bring in here.

我想打一个窗口风格相似的快速发射箱,当你打开快速启动栏,你还会看到:

I want to make a window similar in style to the quick launch box which you see when you open the quick launch bar:

不幸的是,我无法找到任何这资源;你能帮助我吗?

Sadly, I can't find any resources on this; can you help me out?

推荐答案

这很简单。创建一个新的形式,并设置控制盒 MaximizeBox MinimizeBox 属性。在标题属性设置为空字符串。这将有效地消除非客户标题栏区域,给你这样的:

It's quite simple. Create a new form, and set ControlBox, MaximizeBox, and MinimizeBox properties to false. Set the Title property to an empty string. This will effectively eliminate the the nonclient title bar area, giving you this:

该内部部分(如使用自定义),可以用适当大小的面板和链接进行复制。

The the interior section (like with "Customize") can be duplicated with a properly sized Panel and Link.

这篇关于创建的WinForms系统托盘风格框(C#)的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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