窗口表单刷新 [英] Window Form refresh
问题描述
全部,
是否有窗体刷新属性?我尝试设置窗口刷新每分钟
。谢谢
All,
is there window form refresh property? I try to set up window form refresh
per minute. Thanks
推荐答案
" martin1" < ma ***** @ discussion.microsoft.comschrieb:
"martin1" <ma*****@discussions.microsoft.comschrieb:
是否有窗体刷新属性?我尝试设置窗口刷新每分钟
。
is there window form refresh property? I try to set up window form refresh
per minute.
我建议更详细地描述你想要什么。
-
MS Herfried K. Wagner
MVP< URL:http://dotnet.mvps.org/>
VB< URL:http:// classicvb .org / petition />
I suggest to describe in more detail what exactly you want to archieve.
--
M S Herfried K. Wagner
M V P <URL:http://dotnet.mvps.org/>
V B <URL:http://classicvb.org/petition/>
我有窗口应用程序,每次运行应用程序,form_load事件开始
运行,我想要做的是每分钟刷新一次表单加载事件。
的目的是每分钟刷新应用程序。
我尝试使用timer来调用form_load,但它失败了。所以有什么建议吗?
谢谢
" Herfried K. Wagner [MVP]"写道:
i had window application, everytime run the app, the form_load event starts
run , what I want to do is to refresh the form-load event every minute. the
whole purpose is to refresh the app every minute.
I try to use timer to call form_load, but it fails. so any advice?
Thanks
"Herfried K. Wagner [MVP]" wrote:
" martin1" < ma ***** @ discussion.microsoft.comschrieb:
"martin1" <ma*****@discussions.microsoft.comschrieb:
是否有窗体刷新属性?我尝试设置窗口刷新每分钟
。
is there window form refresh property? I try to set up window form refresh
per minute.
我建议更详细地描述你想要什么。
-
MS Herfried K. Wagner
MVP< URL:http://dotnet.mvps.org/>
VB< URL:http:// classicvb .org / petition />
I suggest to describe in more detail what exactly you want to archieve.
--
M S Herfried K. Wagner
M V P <URL:http://dotnet.mvps.org/>
V B <URL:http://classicvb.org/petition/>
嗨Martin我担心你根本不清楚你想做什么。无论如何......总的来说......你可以拿出
刷新所需的代码并放入一个sub(而不是在load事件下)
Sub RefreshMyThings
''这里有任何刷新
end sub
你可以得到这个子由计时器调用。只需添加计时器和时间表
刷新
Private Sub Timer1_Tick(ByVal发送者为System.Object,ByVal e As
System.EventArgs)处理Timer1.Tick
me.RefreshMyThings
End Sub
....这会是什么好处因为是一个谜! :)
-Tom
martin1 ha scritto:
Hi Martin I am afraid it''s not clear at all what you want to do.
Anyway... generally talking... you can take the code necessary for the
refresh and put within a sub (instead of under the load event)
Sub RefreshMyThings
''any refresh here
end sub
you can get this sub called by a timer. Just add the timer and schedule
the refresh
Private Sub Timer1_Tick(ByVal sender As System.Object, ByVal e As
System.EventArgs) Handles Timer1.Tick
me.RefreshMyThings
End Sub
.... what this would be good for is a mistery ! :)
-Tom
martin1 ha scritto:
i有窗口应用程序,每次运行应用程序,form_load事件启动
运行,我想做的是每分钟刷新一次表单加载事件。
的目的是每分钟刷新应用程序。
我尝试使用timer来调用form_load,但它失败了。所以有什么建议吗?
谢谢
" Herfried K. Wagner [MVP]"写道:
i had window application, everytime run the app, the form_load event starts
run , what I want to do is to refresh the form-load event every minute. the
whole purpose is to refresh the app every minute.
I try to use timer to call form_load, but it fails. so any advice?
Thanks
"Herfried K. Wagner [MVP]" wrote:
" martin1" < ma ***** @ discussion.microsoft.comschrieb:
"martin1" <ma*****@discussions.microsoft.comschrieb:
是否有窗体刷新属性?我尝试设置窗口刷新每分钟
。
is there window form refresh property? I try to set up window form refresh
per minute.
我建议更详细地描述你想要什么。
-
MS Herfried K. Wagner
MVP< URL:http://dotnet.mvps.org/>
VB< URL:http:// classicvb .org / petition />
I suggest to describe in more detail what exactly you want to archieve.
--
M S Herfried K. Wagner
M V P <URL:http://dotnet.mvps.org/>
V B <URL:http://classicvb.org/petition/>
这篇关于窗口表单刷新的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!