简体   繁体   English

Metro Form 移除标题栏

[英]Metro Form remove title bar

I have small project.我有一个小项目。 I would like to use MetroFramework for my project.我想为我的项目使用 MetroFramework。 When I create new form I get new Metro form.当我创建新表单时,我会得到新的 Metro 表单。 In form title is form text.在表单标题中是表单文本。 When I remove title text I have 60px padding in top.当我删除标题文本时,我在顶部有 60px 的填充。 Please help me how can i remove it and put elements top of the form.请帮助我如何删除它并将元素放在表单顶部。

Thanks谢谢

I assume you want to remove the title bar.我假设您想删除标题栏。

This can be done by selecting the None option in FormBorderStyle property under Form properties.这可以通过在 Form 属性下的FormBorderStyle属性中选择None选项来完成。

在此处输入图像描述

You should set false the value of the DisplayHeader in the form properties section您应该在表单属性部分中将 DisplayHeader 的值设置为 false

我是

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

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