|
web
newsgroups
|
|||||||||||||||||||||||
|
|||||||||||||||||||||||
how to set a default event on a user controlwhen you have a user control on a form and double click it, it creates code
to handle its default event "Load" how can i change this so if i double click a user control on a form that it will take by default the event I specified as the default one? thanks! "Brian Henry" <nospam@nospam.com> schrieb: \\\> when you have a user control on a form and double click it, it creates > code to handle its default event "Load" how can i change this so if i > double click a user control on a form that it will take by default the > event I specified as the default one? <DefaultEvent("Tick")> _ Public Class... /// -- M S Herfried K. Wagner M V P <URL:http://dotnet.mvps.org/> V B <URL:http://classicvb.org/petition/> "Brian Henry" <nospam@nospam.com> schrieb <System.ComponentModel.DefaultEventAttribute("MyEvent")> _> when you have a user control on a form and double click it, it > creates code to handle its default event "Load" how can i change > this so if i double click a user control on a form that it will > take by default the event I specified as the default one? thanks! Public Class UserControl1 End Class Armin
VB.NET - Issues with VB.NET FTP Class to UNIX FTP Server
what's up? reading xml Best Practices - Coding Convention Question How do you know when all databindings on form are complete? Reading Excel in VB.NET SQL Distinct DoEvents in VB.NET Building VB.NET Interface definitions from a COM interface Committing Byte Array to Disk Process BUG? |
|||||||||||||||||||||||