Chapter 17 Working with VB .NET


Event Handler

To define a VB .NET event handler you should already have an operation with the <<event>> stereotype in your class. You then have to create another operation, and type the name of the <<event>> operation in the Handles extended attribute Value box.


...
Public Function Operation_2() As Object Handles Print
   End Function
...

 


Copyright (C) 2006. Sybase Inc. All rights reserved.