WinForm的lock属性的用途是什么? [英] what is the purpose for lock property of WinForm?

查看:92
本文介绍了WinForm的lock属性的用途是什么?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

大家好,你好,

我正在编写Windows桌面Windows应用程序.
在主窗体中,我找到了一个名为Lock的属性.

谁能告诉我该物业的目的是什么?

在哪种情况下我们应该设置此属性?

谢谢

Hello, Everyone,

I am writing a windows desktop windows application.
in the main form I find a property called Lock.

Can anybody tell me what is the purpose of this property?

In what kind of situation we shall set this property?

Thanks

推荐答案

您可以将控件锁定在表单上,​​以免无意间不调整大小或移动它们.
阅读有关锁定在 http://msdn.microsoft.com/en的更多信息-us/library/80xxxf69%28v = vs.80%29.aspx [
You can lock the controls on a form so that you inadvertently don''t resize or move them.
Read more about locking at http://msdn.microsoft.com/en-us/library/80xxxf69%28v=vs.80%29.aspx[^].


这篇关于WinForm的lock属性的用途是什么?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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