Are you talking about this one? It's because those properties are Shared. A member of the class, not the object itself. Notice the Console.WriteLine()? WriteLine() is a shared member method of Console class. You need no intantiation. Instantiation is for object and we are dealing about the class member.
Hi
The class can be used by frmSummary without creating an instance of the class because the following properties are all declared Shared.
VB Code:
Shared ReadOnly Property NumberProcessed() As Decimal
Shared ReadOnly Property TotalPay() As Decimal
Shared ReadOnly Property OvertimeHours() As Decimal
Acording to MSDN The Shared keyword indicates that one or more declared programming elements are shared. Shared elements are not associated with a specific instance of a class or structure. You can access them by qualifying them either with the class or structure name, or with the variable name of a specific instance of the class or structure.
Regards
Jorge
"The dark side clouds everything. Impossible to see the future is."