event「eventually」
在VB中,怎样通过关键字Event定义用户自己的事件?
Event 语句
定义用户自定义的事件。

语法[Public] Event procedurename [(arglist)]
Event 语句包含下面部分:
部分 描述
Public 可选的。指定该 Event 在整个工程中都是可见的。缺省情况下 Events 类型是 Public。应注意,事件只能在所声明的模块中产生。
procedurename 必需的。事件的名称;遵循标准的变量命名约定。
arglist 参数的语法及语法的各个部分如下:
[ByVal | ByRef] varname[( )] [As type]
部分 描述
ByVal 可选的。表示该参数是按值传递的。
ByRef 可选的。表示该参数是按地址传递的。ByRef 是 Visual Basic 的缺省设置。
varname 必需的。代表要传递给过程的参数变量的名称;遵循标准的变量命名约定。
type 可选的。指传递给过程的参数的数据类型;可以是 Byte、布尔、Integer、Long、Currency、Single、Double、Decimal(目前尚不支持)、Date、String(只支持变长)、Object、Variant、用户定义类型或对象类型。
说明
事件被声明之后,就可以使用 RaiseEvent 语句来产生该事件。如果在标准模块中出现 Event 声明,就会产生语法错误。不能声明带返回值的事件。在下面的代码段中,给出了声明事件和产生事件的典型事件:
'在类模块的模块级中声明一个事件
Event LogonCompleted (UserName as String)
Sub
RaiseEvent LogonCompleted("AntoineJan")
End Sub
注意 可以象声明过程的参数一样来声明事件的参数,但有以下不同:事件不能有带命名参数、Optional 参数、或者 ParamArray 参数。事件没有返回值。
参考MSDN
event是什么意思?
event 的意思是事件,大事;项目;结果
英 [ɪ'vent] 美 [ɪ'vɛnt]
相关词语
Tunguska event 通古斯大爆炸 ; 通古斯事件 ; 通古斯加事件 ; 大爆炸
event study 事件研究法 ; 事件研究 ; 事件分析 ; 事项研究
The Event 惊世 ; 大事件 ; 事件实录 ; 惊世谎言
Impact event 撞击事件
Lau event 劳阶灭绝事件
Mulde event 穆尔德阶灭绝事件
Impossible event [计] 不可能事件 ; 不成能变乱
event sponsorship 事件赞助 ; 活动赞助 ; 变乱赞助
event scheduler 事件调度器 ; 事件调度程序
例句
The publication of the new dictionary is one of the cultural event of the year.
这本新辞典的出版是今年文化界的一件大事。
《新英汉大辞典》
This, in turn, determines whether the event should be propagated to the next handler.
而这又决定了是否应该将事件传送到下一个处理程序。
He managed to recover the contents of both websites, but what lessons are to be learned fromthis event?
他设法恢复了这两个站点的内容,但是从这个事件中我们应该得到什么教训呢?
Practice what you want to say before the event.
在事件之前就要练习你要说的这些话。
article.yeeyan.org
This event happens once for each row on the data set.
这个事件对于数据**的每一行都只发生一次。
Whenever it recognizes something in the document, it generates an event.
每当它识别出文档中的某些内容,就会生成一个事件。
event的用法和短语例句
event有大事;事件;项目等意思,那么你知道event的用法吗?下面跟着我一起来学习一下,希望对大家的学习有所帮助!
event的用法:
event的用法1:event的基本意思是“事件”,可指历史上的、国际的、国家的或社会的重大事件,也可指日常的小事件。event是可数名词,其复数形式有时还可指“事态的发展”“时局”。
event的用法2:event还可作体育运动的“比赛项目”解,是可数名词。
event的用法3:在美式英语中,in the event后接that从句,表示“如果”。而在英式英语中则和but连用,表示“结果”。
event的常用短语:
at all events〔in any event〕
be wise after the event
in either event
in that event
in the end
in the event
in the event of
in the normal course of events
event的用法例句:
1. The birth of a live healthy baby is a truly blessed event.
一个健康活泼的婴儿的出生真是一件可喜的事情。
2. The event will go ahead as planned in Sheffield next summer.
这项活动将按计划于明年夏天在谢菲尔德举行。
3. Olga Korbut single-handedly turned gymnastics into a major event.
奥尔佳·科布特独自一人将体操变成了一项重要赛事。
4. For all its drama, the event was not unexpected.
虽然这件事带有戏剧性,但并不意外。
5. This year's event consisted of readings, lectures and workshops.
今年的活动包括读书会、讲座和研讨会。
6. It did give me a boost to win such a big event.
赢得如此重大的比赛确实使我信心倍增。
7. The cross-country section of the three-day event was held here yesterday.
3日比赛中的越野项目昨天在这里举行。
8. Watch this space for details of our next event.
请继续关注我们对下一事件的详细报道。
9. The Association has put the event off until October.
协会已把这次活动推迟至10月。
10. Hammer-throwing for women is not yet a major event.
女子链球运动还不是主要的赛事。
11. In any event, the bowling alley restaurant proved quite acceptable.
无论如何,那个保龄球场的餐厅证明还是很不错的。
12. Kansas City area churches kicked in $35,000 to support the event.
堪萨斯城地区的教会为此事捐助了35,000美元。
13. A number of problems marred the **ooth running of this event.
许多问题影响了这件事的顺利进行。
14. The meeting has the potential to be a watershed event.
这次会议有可能成为具有转折性的事件。
15. The publishing world had certainly never seen an event quite like this.
出版界以前确实没有遇见过类似这样的事。
event是什么意思
event
n. 事件,大事;项目;结果
网络释义 专业释义 英英释义
事件
活动
通知
事件通知
短语
event study 事件研究法 ; 事件研究 ; 事件分析 ; 研究法
Tunguska event 通古斯大爆炸 ; 通古斯事件 ; 通古斯加事件 ; 爆炸事件
The Event 惊世 ; 事件实录 ; 大事件 ; 第一季
1.N-COUNT An event is something that happens, especially when it is unusual or important. You can use events to describe all the things that are happening in a particular situation. (尤指特殊、重大) 事件
例:
A new inquiry into the events of the day was opened in 2002.
对那天发生的事件的新一轮调查于2002年开始。
2.N-COUNT An event is a planned and organized occasion, for example a social gathering or a sports tournament. (有计划、有组织的) 活动
例:
...major sporting events.
…重大体育赛事。
event是什么意思及用法
event 英[ɪˈvent] 美[ɪˈvɛnt]
n. 事件,大事; 活动,经历; 结果; 运动项目;
[例句]A new book by Grass is always an event.
格拉斯的新书总能引起轰动。
[其他] 复数:events
event和$event的作用是什么,分别在什么情况下用?
event是一个对象,$event是指当前触发的是什么事件(鼠标事件,键盘事件等)
event通常在英语中使用,而$event通常在英文代码中使用