Windows磁带以C#形式 [英] windows tape in c# form

查看:83
本文介绍了Windows磁带以C#形式的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

所有开发人员
我想完全删除Windows窗体胶带(窗体顶部的胶带,其中包括关闭按钮,图标,....)
如何以及哪个属性可以帮助我做到这一点???????
请帮助我
谢谢.

hi all developers
i want to completely remove my windows form tape(the tape in the top of the form that include close button,icon,.... )
how and which property can help me to do that????????
please help me
thank you.

推荐答案

您只需要在Windows窗体设计器中将FormBorderStyle设置为"None"即可.它是形式的属性.您可能还想使用此代码,而不是在设计器中设置属性:
You simply need to set the FormBorderStyle to "None" in the Windows forms designer. It is a property of the form. You may also want to use this code instead of setting the property in the designer:
private void Form1_Load(object sender, EventArgs e)
{
  this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.None;
}


这篇关于Windows磁带以C#形式的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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