如何禁用更新的Windows窗体形式? [英] How do I disable updating a form in Windows Forms?

查看:101
本文介绍了如何禁用更新的Windows窗体形式?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

在一个复杂的更新,我可能preFER显示所有修订一次。我知道有一种方法可以让我做到这一点,但它是什么?

During a complicated update I might prefer to display all the changes at once. I know there is a method that allows me to do this, but what is it?

推荐答案

我觉得this.SuspendLayout()及ResumeLayout()应该做的。

I think this.SuspendLayout() & ResumeLayout() should do it

这篇关于如何禁用更新的Windows窗体形式?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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