vb.net的doevent请告诉我
it1352
帮助1人
问题说明
亲爱的人可以告诉我doevent在vb.net中做什么.
doevent是否与"window
"有关 发送邮件和翻译邮件"
[edit]删除了伪代码块-OriginalGriff [/edit]
hi dear can anybody tell me what doevent does in vb.net.
Is there any concern of doevent with "window
despatch message and translate message"
[edit]Spurious code block removed - OriginalGriff[/edit]
正确答案
#1
DoEvents是一种权宜之计,可使其更容易从UI线程中产生,以便进行绘制可能发生.基本上,由于线程是一个复杂的主题(在引入它的经典VB版本中实际上是不可能的),因此DoEvents允许UI在执行其他语言要求您委派给其他线程以保持UI的处理时保持响应性响应.
DoEvents is provided as a stopgap measure to make it easier to yield from the UI thread so that painting can occur. Basically, as threading is a complicated topic (and was effectively impossible in the version of classic VB it was introduced in), DoEvents allows the UI to remain responsive while performing processing that other languages would require you to delegate to other threads to keep the UI responsive.
这篇好文章是转载于:学新通技术网
- 版权申明: 本站部分内容来自互联网,仅供学习及演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,请提供相关证据及您的身份证明,我们将在收到邮件后48小时内删除。
- 本站站名: 学新通技术网
- 本文地址: /reply/detail/tanhcfggbc
系列文章
更多
同类精品
更多
-
YouTube API 不能在 iOS (iPhone/iPad) 工作,但在桌面浏览器工作正常?
it1352 07-30 -
iPhone,一张图像叠加到另一张图像上以创建要保存的新图像?(水印)
it1352 07-17 -
保持在后台运行的 iPhone 应用程序完全可操作
it1352 07-25 -
使用 iPhone 进行移动设备管理
it1352 07-23 -
在android同时打开手电筒和前置摄像头
it1352 09-28 -
扫描 NFC 标签时是否可以启动应用程序?
it1352 08-02 -
检查邮件是否发送成功
it1352 07-25 -
Android微调工具-删除当前选择
it1352 06-20 -
希伯来语的空格句子标记化错误
it1352 06-22 -
Android App 和三星 Galaxy S4 不兼容
it1352 07-20