Statements of which of the following kind should be placed in the form’s code to declare an instance of a class that contains an event?

(A) Public Event UserDefinedEvent(par1 As dataType1,
par2 As dataType2, ...)
(B) RaiseEvent UserDefinedEvent(arg1, arg2, ...)
(C) Dim WithEvents object1 As ClassName
(D) Private Sub object1_UserDefinedEvent(par1, par2, ...) _
Handles object1.UserDefinedEvent

(C) Dim WithEvents object1 As ClassName

Computer Science & Information Technology

You might also like to view...

When using dynamic disks, what is the volume that contains the \Windows folder called?

A. The system volume B. The essential volume C. The boot volume D. The logical volume

Computer Science & Information Technology

Multiple CSS rule properties in style sheets are separated by a ________.

a) dot operator b) CSS operator c) colon d) semicolon

Computer Science & Information Technology