Thread View: borland.public.delphi.language.delphi.dotnet
2 messages
2 total messages
Started by VT Venkatesh
Sun, 27 Jul 2008 18:45
Converting multicast C# event to Delphi
Author: VT Venkatesh
Date: Sun, 27 Jul 2008 18:45
Date: Sun, 27 Jul 2008 18:45
11 lines
1386 bytes
1386 bytes
How does one convert the following c# code to delphi
I know it is multicast .How ever i don't know the delphi syntax
Venkatesh
*************************************************
protected Catalog m_catalog;
// Build the catalog!
Spider cat = new Spider();
cat.SpiderProgressEvent += new SpiderProgressEventHandler
(OnProgressEvent);
m_catalog = cat.BuildCatalog (new Uri(Preferences.StartPage));
**************************************************
Re: Converting multicast C# event to Delphi
Author: Robert Giesecke
Date: Sun, 27 Jul 2008 19:22
Date: Sun, 27 Jul 2008 19:22
11 lines
1393 bytes
1393 bytes
VT Venkatesh wrote: > How does one convert the following c# code to delphi > I know it is multicast .How ever i don't know the delphi syntax > Venkatesh They are using the set syntax for this in D.Net Include(someDelegate, anotherDelegate); This is basically doing this: someDelegate := YourDelegateType(Delegate.Combine(someDelegate, anotherDelegate));
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads