CE Home
Navigation
Go Back   CrazyEngineers Forum > CE : Technical Discussions > Computer Science & IT Engineering
Notices


Advertisements
Reply
 
LinkBack Thread Tools Display Modes

  #1 (permalink)
Old 23rd May 2007, 04:30 PM
CE - Newbie
 
Join Date: 16th May 2007
Location: Bangalore - India
I'm a Crazy Computer Science Engineer
Posts: 7
Default What is the use of Delegates

Hi all,

Wat will be the use of delegates other than asynchronus execution of a function.........????


- daya
dayanandavt is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote

  #2 (permalink)
Old 31st May 2007, 10:05 AM
CE - Newbie
 
Join Date: 31st May 2007
I'm a Crazy Computer Science Engineer
Posts: 9
Default Re: What is the use of Delegates

The use is in the name itself. A delegate is used to delegate some job.

A scenario.

You want to read serial port data and show it in in a form. You have a function to read the data, but that function has got no access to the form. So you code a delegate that has access to that form and give the painting job to that delegate function.

This is a scenario that I faced.
thin_master is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


All times are GMT +5.5. The time now is 06:22 PM.
Powered by vBulletin® Version 3.7.4
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.2.0
Member comments are owned by the poster. Copyright © 2005-2008 CrazyEngineers.com. All rights reserved.

Advertisements