问题描述
我是.NET开发的新手,有一个简单的问题,我坚持了一段时间,并首先搜索了很多没有解决方案的论坛,所以我发布了自己的信息.在VB for excel中,我使用Screenupdating = false来禁用屏幕更新,但是现在我正在创建Visual Studio 2010 Windows窗体应用程序,并且该应用程序未显示为属性.这是我尝试过的代码.
Hi i''m a noob to .NET developing and have a simple question, i''ve been stuck on this for a while and searched many forums first with no solution so i''m posting myself. In VB for excel i''ve used Screenupdating=false to disable the screen updating however now i''m creating a visual studio 2010 windows forms application and its not showing up as a property. Here is the code i''ve tried.
Public Class
Public Sub Welcome_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load
Application.screenupdating = False
End Sub
End Class
而且我收到错误"screenupdating"不是"system.windows.forms.application"的成员.
And i get the error ''screenupdating'' is not a member of ''system.windows.forms.application''.
Thanks.
推荐答案
这篇关于Visual Studio 2010 Windows窗体应用程序screenupdating属性的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!