更改clientrectangle位置以显示世界矩形的其他位置 [英] changing clientrectangle position to show other position of world rectangle

查看:126
本文介绍了更改clientrectangle位置以显示世界矩形的其他位置的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

您好,我们可以更改clientrectangle的形式,以显示世界矩形的其他位置吗?

hello can we change clientrectangle in form, to show other position of world rectangle

推荐答案

您可以通过覆盖System.Windows.Forms.Form.DisplayRectangle对其进行修改.

(我之前的回答是错误的;我只是忘记了我以前实际使用的方法.非常感谢Olivier指出我的回答不正确.)

—SA
You can modify it by overriding System.Windows.Forms.Form.DisplayRectangle.

(My previous answer was incorrect; I simply forgot the method I''ve actually used before. Big thanks to Olivier who pointed out that my answer was not correct.)

—SA


此帮助吗?
http://stackoverflow.com/questions/1725987/set-clientrectangle-in- custom-form-in-c [ ^ ]
Does this help?
http://stackoverflow.com/questions/1725987/set-clientrectangle-in-custom-form-in-c[^]


这篇关于更改clientrectangle位置以显示世界矩形的其他位置的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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