如何在vb.net windows应用程序中刷新windows窗体 [英] how to refresh the windows form in vb.net windows application

查看:82
本文介绍了如何在vb.net windows应用程序中刷新windows窗体的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

如何刷新窗体。

推荐答案

 

 

重绘它。您可以通过调用表单上的Invalidate子例程来完成此操作。但是,如果您尝试更新表单上的控件,则应使该特定控件无效,而不是使整个表单无效。

Repaint it. You can do this by calling the Invalidate subroutine on the form. However, if you are trying to update a control on the form you should invalidate that specific control instead of invalidating the entire form.

http://msdn.microsoft.com/en-us/library/system.windows.forms。 control.invalidate(v = vs.71).aspx

 

 


这篇关于如何在vb.net windows应用程序中刷新windows窗体的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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