Ureader.com  
Microsoft software help and Community
   home   |   control panel login   |   archive   |  
 
DotNet
acad.assignment.mngr
academic
adonet
aspnet
aspnet.announcements
aspnet.build.controls
aspnet.caching
aspnet.datagridcontrol
aspnet.mobile
aspnet.security
aspnet.webcontrols
aspnet.webservices
clr
compactframework
component_services
datatools
distributed_apps
drawing
faqs
framework
framework.wmi
general
internationalization
interop
languages.csharp
languages.jscript
languages.vb
languages.vb.controls
languages.vb.data
languages.vb.upgrade
languages.vc
languages.vc.libraries
myservices
odbcnet
performance
remoting
scripting
sdk
security
setup
vjsharp
vsa
webservi.enhancements
webservices
windowsforms
windowsforms.controls
winforms.databinding
winforms.designtime
xml
  
 
date: Thu, 30 Aug 2007 19:54:01 -0700,    group: microsoft.public.dotnet.academic        back       


Use delegate or control click event?   
Hello
Since it seems you can do just about anything by clicking a control and 
executing that click event, under what conditions do you need to create a 
delegate?
date: Thu, 30 Aug 2007 19:54:01 -0700   author:   winlin

Re: Use delegate or control click event?   
>Since it seems you can do just about anything by clicking a control and 
>executing that click event, under what conditions do you need to create a 
>delegate?

Events are built on delegates. Whenever you add an event handler a
delegate is being used.


Mattias

-- 
Mattias Sjögren [C# MVP]  mattias @ mvps.org
http://www.msjogren.net/dotnet/ | http://www.dotnetinterop.com
Please reply only to the newsgroup.
date: Fri, 31 Aug 2007 05:49:12 +0200   author:   Mattias Sj?gren

Google
 
Web ureader.com


    COPYRIGHT 2007, YARDI TECHNOLOGY LIMITED, ALL RIGHT RESERVE  |   contact us