this.invalidate()在c#中的网站应用程序中显示错误 [英] this.invalidate() show error in website application in c#

查看:159
本文介绍了this.invalidate()在c#中的网站应用程序中显示错误的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

这是网站的汇编参考

推荐答案

使控件的整个表面无效并导致重绘控件。

命名空间:System.Windows.Forms

汇编:System.Windows.Forms(在System.Windows.Forms.dll中)



调用Invalidate方法不会强制执行同步绘制;要强制执行同步绘制,请在调用Invalidate方法后调用Update方法。如果在没有参数的情况下调用此方法,则会将整个客户区添加到更新区域。
Invalidates the entire surface of the control and causes the control to be redrawn.
Namespace: System.Windows.Forms
Assembly: System.Windows.Forms (in System.Windows.Forms.dll)

Calling the Invalidate method does not force a synchronous paint; to force a synchronous paint, call the Update method after calling the Invalidate method. When this method is called with no parameters, the entire client area is added to the update region.


这篇关于this.invalidate()在c#中的网站应用程序中显示错误的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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