Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Default Event in VB NET

3 views
Skip to first unread message

Vinicius Gonzaga

unread,
Mar 10, 2010, 2:27:42 PM3/10/10
to
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...


Tom Shelton

unread,
Mar 10, 2010, 2:40:29 PM3/10/10
to

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

HTH
--
Tom Shelton

Vinicius Gonzaga

unread,
Mar 12, 2010, 8:55:03 AM3/12/10
to
is done
Thank you


"Tom Shelton" <tom_s...@comcastXXXXXXX.net> escreveu na mensagem
news:uP$BLmIwK...@TK2MSFTNGP06.phx.gbl...

0 new messages