Replies
Welcome, guest
Join CrazyEngineers to reply, ask questions, and participate in conversations.
CrazyEngineers powered by Jatra Community Platform
-
@thin-master-ixHY5m • May 30, 2007
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.