简体   繁体   English

这是一个控件吗? (C#Winforms)

[英]Is this a control? (C# Winforms)

Is there a <hr></hr> like in winforms? 在winforms中有<hr></hr>吗? I just saw this line in a property window of an icon, is it a control or what? 我刚刚在一个图标的属性窗口中看到这一行,它是一个控件还是什么? How can I add it into my form? 如何将其添加到我的表单中? Please see image: 请看图片:

替代文字

This is not a standard windows controls. 这不是标准的Windows控件。 This is simply a panel of height 1 and dark background. 这只是一个高度为1和深色背景的面板。

No, no, it's just label or panel control with gray background and height=1. 不,不,它只是带有灰色背景和高度= 1的标签或面板控件。 If you need to have 3D line, use apropriate border style and height=2. 如果需要3D线,请使用适当的边框样式和height = 2。

在C#中,您可以通过Visual Basic PowerPack使用LineShape。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM