Home
Search
 
What's New
Index
Books
Links
Q & A
Newsletter
Banners
 
Feedback
Tip Jar
 
C# Helper...
 
XML RSS Feed
Follow VBHelper on Twitter
 
 
 
MSDN Visual Basic Community
 
 
 
 
 
 
TitleUse the DefaultEvent attribute in VB .NET
DescriptionThis example shows how to use the DefaultEvent attribute in VB .NET.
KeywordsDefaultEvent, DefaultEventAttribute, attribute, VB.NET, property
CategoriesVB.NET
 
The DefaultEvent attribute indicates a class's default event. If the class is a component and you double-click on it in a form, the code editor opens to this event.
 
<DefaultEvent("Reorg")> _
Public Class Organization
    ...
    Public Event Mutiny()
    Public Event Reorg()
    Public Event Closing()
End Class
 
 
Copyright © 1997-2010 Rocky Mountain Computer Consulting, Inc.   All rights reserved.
  Updated