【发布时间】:2011-02-12 11:09:10
【问题描述】:
Application.DoEvents() 仅用于表单吗?
我以为这个命令是用来确保之前的所有命令都被处理,但现在看了the documentation之后,我不确定了。
【问题讨论】:
-
你真的不应该使用
Application.DoEvents。你想解决什么问题?也许有人可以提出更好的方法。 -
不仅仅是
DoEvents。这是整个班级。这就是为什么它是System.Windows.Forms.Application...