Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / Windows Forms / WinForm General / July 2004

Tip: Looking for answers? Try searching our database.

Overriding the Click event

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
liam - 19 Jul 2004 15:46 GMT
Hi,

I am using the VbPowerPack that was released recently.  
One of the controls provided is the ImageButton.  On this
control the Click event has no parameters, i.e. there is
no (ByVal sender as Object, ByVal e as EventArgs) that
you would normally expect to see.

I was thinking of inheriting from the ImageButton class
and providing my own implementation of the Click() event
to provide these arguments.

Does anyone know to do this?

Thanks,

liam
Herfried K. Wagner [MVP] - 19 Jul 2004 17:39 GMT
* "liam" <anonymous@discussions.microsoft.com> scripsit:
> I am using the VbPowerPack that was released recently.  
> One of the controls provided is the ImageButton.  On this
[quoted text clipped - 5 lines]
> and providing my own implementation of the Click() event
> to provide these arguments.

The VB Power Pack comes with source code, so you can look at the
implementation and change the event there.

Signature

Herfried K. Wagner [MVP]
<URL:http://dotnet.mvps.org/>
<URL:http://dotnet.mvps.org/dotnet/faqs/


Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.