Click here to Skip to main content
15,908,455 members
Home / Discussions / C#
   

C#

 
Generalcalling events from a derived class Pin
Marc Clifton21-Jan-05 6:49
mvaMarc Clifton21-Jan-05 6:49 
GeneralRe: calling events from a derived class Pin
Nick Parker21-Jan-05 7:15
protectorNick Parker21-Jan-05 7:15 
GeneralRe: calling events from a derived class Pin
Corinna John21-Jan-05 7:19
Corinna John21-Jan-05 7:19 
GeneralRe: calling events from a derived class Pin
Heath Stewart21-Jan-05 7:24
protectorHeath Stewart21-Jan-05 7:24 
GeneralRe: calling events from a derived class Pin
Heath Stewart21-Jan-05 7:20
protectorHeath Stewart21-Jan-05 7:20 
GeneralRe: calling events from a derived class Pin
Marc Clifton21-Jan-05 7:27
mvaMarc Clifton21-Jan-05 7:27 
GeneralRe: calling events from a derived class Pin
Heath Stewart21-Jan-05 7:44
protectorHeath Stewart21-Jan-05 7:44 
GeneralAlternative view Pin
leppie21-Jan-05 9:10
leppie21-Jan-05 9:10 
Hi Marc

Remember an event is just a limited delegate. Now if u dont mind losing the pretty event icons, you can just expose delegate fields in your class directly. The usage will be exactly the same (both are 'multicast'), except that delegates allows to be nulled and assigned directly, where events cant.

Smile | :)

top secret
Download xacc-ide 0.0.3 now!
See some screenshots

GeneralOleDbDataReader Pin
Newbie_Toy21-Jan-05 6:19
Newbie_Toy21-Jan-05 6:19 
GeneralRe: OleDbDataReader Pin
Colin Angus Mackay21-Jan-05 6:54
Colin Angus Mackay21-Jan-05 6:54 
GeneralRe: OleDbDataReader Pin
Newbie_Toy21-Jan-05 6:58
Newbie_Toy21-Jan-05 6:58 
GeneralRe: OleDbDataReader Pin
Heath Stewart21-Jan-05 7:30
protectorHeath Stewart21-Jan-05 7:30 
GeneralUsing P/Invoke SendInput Pin
realmontanakid21-Jan-05 4:58
realmontanakid21-Jan-05 4:58 
GeneralRe: Using P/Invoke SendInput Pin
Nick Parker21-Jan-05 6:30
protectorNick Parker21-Jan-05 6:30 
GeneralRe: Using P/Invoke SendInput Pin
Dave Kreskowiak21-Jan-05 7:03
mveDave Kreskowiak21-Jan-05 7:03 
GeneralRead from .dbx-file Pin
larbo20421-Jan-05 4:36
larbo20421-Jan-05 4:36 
GeneralRe: Read from .dbx-file Pin
Heath Stewart21-Jan-05 7:26
protectorHeath Stewart21-Jan-05 7:26 
GeneralWinforms hierarchical datagrid Pin
rc7921-Jan-05 4:34
rc7921-Jan-05 4:34 
GeneralRe: Winforms hierarchical datagrid Pin
Heath Stewart21-Jan-05 7:46
protectorHeath Stewart21-Jan-05 7:46 
GeneralRe: Winforms hierarchical datagrid Pin
Bahadir Cambel21-Jan-05 14:54
Bahadir Cambel21-Jan-05 14:54 
GeneralRe: Winforms hierarchical datagrid Pin
Heath Stewart21-Jan-05 15:55
protectorHeath Stewart21-Jan-05 15:55 
GeneralWebservice and client problem Pin
WDI21-Jan-05 4:34
WDI21-Jan-05 4:34 
GeneralRe: Webservice and client problem Pin
leppie21-Jan-05 5:54
leppie21-Jan-05 5:54 
GeneralRe: Webservice and client problem Pin
WDI21-Jan-05 8:34
WDI21-Jan-05 8:34 
GeneralRe: Webservice and client problem Pin
Bahadir Cambel21-Jan-05 14:56
Bahadir Cambel21-Jan-05 14:56 

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.