Default Event in VB NET

  • Thread starter Thread starter Vinicius Gonzaga
  • Start date Start date
V

Vinicius Gonzaga

Hi,
I have a UserControl with a Button. When I click in this button, The default
event is the "Load".
I'd Like to Change this default event (Load) to Click.

Thanks...
 
Hi,
I have a UserControl with a Button. When I click in this button, The default
event is the "Load".
I'd Like to Change this default event (Load) to Click.

Thanks...

<DefaultEvent("Click")> _
Public Class MyUserControl
....
End Class

HTH
 
Back
Top