Google Mail Calendar Documents Reader Web more »
Recently Visited Groups | Help | Sign in
Google Groups Home
Message from discussion When use a delegate?
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Follow-up To:
Add Cc | Add Follow-up to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers that you hear
 
Cowboy (Gregory A. Beamer)  
View profile   Translate to Translated (View Original)
 More options 11 Apr 2008, 00:11
Newsgroups: microsoft.public.dotnet.framework.aspnet
From: "Cowboy \(Gregory A. Beamer\)" <NoSpamMgbwo...@comcast.netNoSpamM>
Date: Thu, 10 Apr 2008 18:11:05 -0500
Local: Fri 11 Apr 2008 00:11
Subject: Re: When use a delegate?
One prime example is events.

Another is when you have to run more than one "function" when a specific
action happens.

Another is when you have a library that has to make a callback to the
calling application, but you do not know what the event name is at the time
you create the library.

--
Gregory A. Beamer
MVP, MCP: +I, SE, SD, DBA

Subscribe to my blog
http://gregorybeamer.spaces.live.com/lists/feed.rss

or just read it:
http://gregorybeamer.spaces.live.com/

*************************************************
| Think outside the box!
|
*************************************************

"Cirene" <cir...@nowhere.com> wrote in message

news:eeT9P31mIHA.4208@TK2MSFTNGP02.phx.gbl...
> When would you choose to use a delegate rather than calling a function
> directly?  What's the advantages?  Thanks...


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message, you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.

Create a group - Google Groups - Google Home - Terms of Service - Privacy Policy
©2009 Google