Click here to Skip to main content
15,915,508 members
Home / Discussions / .NET (Core and Framework)
   

.NET (Core and Framework)

 
GeneralRe: question regarding deploying the .NET DLL Pin
mcarbenay29-Aug-04 23:51
mcarbenay29-Aug-04 23:51 
GeneralRe: question regarding deploying the .NET DLL Pin
Pradeep Shamarao3-Sep-04 1:52
Pradeep Shamarao3-Sep-04 1:52 
GeneralSOAP Deserialize Pin
Robin Day25-Aug-04 1:47
Robin Day25-Aug-04 1:47 
GeneralOutlook won't close!!! Pin
User 46247824-Aug-04 23:46
User 46247824-Aug-04 23:46 
GeneralRe: Outlook won't close!!! Pin
Anonymous25-Aug-04 12:59
Anonymous25-Aug-04 12:59 
GeneralRe: Outlook won't close!!! Pin
User 46247825-Aug-04 23:15
User 46247825-Aug-04 23:15 
QuestionHow to enumerate user-defined event handlers? Pin
peraita24-Aug-04 5:57
peraita24-Aug-04 5:57 
AnswerRe: How to enumerate user-defined event handlers? Pin
Charlie Williams24-Aug-04 12:37
Charlie Williams24-Aug-04 12:37 
You can do it from inside the class that declared the event, but not from other classes.

The reason is that inside the declaring class, the event is simply a delegate, so you just call its GetInvocationList method to get a list of "subscribers".

However, the event keyword exists partly so you can't do this. Otherwise, any code could get a list of delegates for a certain event and invoke them (whether or not the event in question actually occurred), thereby taking control from the class that delcared the event in the first place.

In your case, you could derive from Button and expose a property that returns all the subscribers to the click event.

Charlie

if(!curlies){ return; }
GeneralMS Office Interop Disaster! Need help urgently please... Pin
User 46247824-Aug-04 5:25
User 46247824-Aug-04 5:25 
GeneralRe: MS Office Interop Disaster! Need help urgently please... Pin
User 46247824-Aug-04 5:26
User 46247824-Aug-04 5:26 
GeneralI need Explaination for... Pin
mtone24-Aug-04 3:28
mtone24-Aug-04 3:28 
GeneralRe: I need Explaination for... Pin
Colin Angus Mackay24-Aug-04 5:49
Colin Angus Mackay24-Aug-04 5:49 
GeneralHosting Managed Controls in MFC Pin
Amir Harel23-Aug-04 23:12
Amir Harel23-Aug-04 23:12 
QuestionHow do I run SQL Script from .msi installer?? Pin
IrishSonic23-Aug-04 22:21
IrishSonic23-Aug-04 22:21 
GeneralASp.net Mobile Forms authentication on Nokia Mobile Browser 4.0 Pin
rmalone23-Aug-04 3:18
rmalone23-Aug-04 3:18 
General.NET equivilent of CATID's Pin
James Hughes23-Aug-04 0:56
James Hughes23-Aug-04 0:56 
GeneralProblem veryfing a XML signed document Pin
Escroto22-Aug-04 8:23
Escroto22-Aug-04 8:23 
QuestionA mistake within the MSDN .NET 1.1 docs? Pin
Member 131295721-Aug-04 9:48
Member 131295721-Aug-04 9:48 
AnswerRe: A mistake within the MSDN .NET 1.1 docs? Pin
Colin Angus Mackay21-Aug-04 11:23
Colin Angus Mackay21-Aug-04 11:23 
GeneralDrawing to the screen DC with GDI+ Pin
Jon Rista20-Aug-04 17:23
Jon Rista20-Aug-04 17:23 
GeneralRe: Drawing to the screen DC with GDI+ Pin
Shafqat Ahmed (Shiplu)21-Aug-04 12:11
Shafqat Ahmed (Shiplu)21-Aug-04 12:11 
GeneralRe: Drawing to the screen DC with GDI+ Pin
Jon Rista24-Aug-04 12:02
Jon Rista24-Aug-04 12:02 
Generalcrystal reporots login faild Pin
kings_120-Aug-04 14:21
kings_120-Aug-04 14:21 
GeneralLNK 2019: Build Debug Win32 DLL from Dot NEt Pin
sankar20-Aug-04 3:33
sankar20-Aug-04 3:33 
GeneralHelp trapping Sync event with .NET CF Pin
Andre Oschadlin20-Aug-04 0:11
Andre Oschadlin20-Aug-04 0:11 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.