repo.or.cz
/
mono-project.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
(DISTFILES): Comment out a few missing files.
[mono-project.git]
/
mcs
/
btests
/
EventE.vb
blob
9e270357ea42ea0ff1eab5bd7a2e43df8e1cfd79
1
Imports System
2
3
Public
Class C
4
Public Event
E
()
5
6
Sub
S
()
7
RaiseEvent
E
()
8
End Sub
9
End
Class
10
11
12
Module
M
13
Sub
S1
()
14
Dim
x
As New
C
()
15
AddHandler x
.
E
,
AddressOf EH
16
x
.
S
()
17
End Sub
18
19
Sub
EH
()
20
Console
.
WriteLine
(
"Event fired"
)
21
End Sub
22
23
Sub
Main
()
24
S1
()
25
End Sub
26
27
End Module
28