Click here to Skip to main content
15,890,512 members
Home / Discussions / C#
   

C#

 
GeneralDataGrid Cell being edited Pin
Keith La Force6-Feb-05 9:55
Keith La Force6-Feb-05 9:55 
GeneralRe: DataGrid Cell being edited Pin
Christian Graus6-Feb-05 14:40
protectorChristian Graus6-Feb-05 14:40 
GeneralRe: DataGrid Cell being edited Pin
Luis Alonso Ramos6-Feb-05 17:55
Luis Alonso Ramos6-Feb-05 17:55 
GeneralRe: DataGrid Cell being edited Pin
Keith La Force7-Feb-05 1:16
Keith La Force7-Feb-05 1:16 
GeneralGetOpenFileName in C# Pin
Formato6-Feb-05 9:01
Formato6-Feb-05 9:01 
GeneralRe: GetOpenFileName in C# Pin
Heath Stewart7-Feb-05 6:15
protectorHeath Stewart7-Feb-05 6:15 
GeneralEvents and delegates: help! Pin
Gleb Belov6-Feb-05 4:55
Gleb Belov6-Feb-05 4:55 
GeneralRe: Events and delegates: help! Pin
mav.northwind6-Feb-05 5:12
mav.northwind6-Feb-05 5:12 
Here's a description of delegates and events:
Events and Delegates on MSDN[^]

Basically, by adding an event handler to an event you subscribe your listener to be informed when the particular event occurs.
Your class is informed by the event source by calling your delegate function when the event occurs.
For the event source class to be able to call your function it has to know what parameters an event handler function expects. That's why delegates have to be declared.

Think of delegates as type safe function pointers.

mav
GeneralRe: Events and delegates: help! Pin
Gleb Belov6-Feb-05 5:37
Gleb Belov6-Feb-05 5:37 
GeneralRe: Events and delegates: help! Pin
Skynyrd6-Feb-05 6:17
Skynyrd6-Feb-05 6:17 
GeneralEventHandler question! Pin
QzRz6-Feb-05 1:50
QzRz6-Feb-05 1:50 
GeneralRe: EventHandler question! Pin
mav.northwind6-Feb-05 3:11
mav.northwind6-Feb-05 3:11 
GeneralRe: EventHandler question! Pin
Heath Stewart6-Feb-05 7:24
protectorHeath Stewart6-Feb-05 7:24 
Generalcreate a Byte[] array Pin
Sasuko6-Feb-05 0:19
Sasuko6-Feb-05 0:19 
GeneralRe: create a Byte[] array Pin
Robert Rohde6-Feb-05 0:56
Robert Rohde6-Feb-05 0:56 
GeneralRe: create a Byte[] array Pin
Sasuko6-Feb-05 1:27
Sasuko6-Feb-05 1:27 
Generalremote user name Pin
Opa Knack6-Feb-05 0:12
Opa Knack6-Feb-05 0:12 
GeneralRe: remote user name Pin
Heath Stewart6-Feb-05 7:21
protectorHeath Stewart6-Feb-05 7:21 
QuestionCreating MMC snap-in? Pin
esjq5-Feb-05 23:33
esjq5-Feb-05 23:33 
AnswerRe: Creating MMC snap-in? Pin
Heath Stewart6-Feb-05 7:18
protectorHeath Stewart6-Feb-05 7:18 
GeneralRe: Creating MMC snap-in? Pin
esjq6-Feb-05 20:53
esjq6-Feb-05 20:53 
Generalupdate doesn't update database Pin
xrado5-Feb-05 23:14
xrado5-Feb-05 23:14 
GeneralRe: update doesn't update database Pin
Heath Stewart6-Feb-05 7:10
protectorHeath Stewart6-Feb-05 7:10 
GeneralEditing custom file formats Pin
Gleb Belov5-Feb-05 22:48
Gleb Belov5-Feb-05 22:48 
GeneralRe: Editing custom file formats Pin
Robert Rohde5-Feb-05 23:31
Robert Rohde5-Feb-05 23:31 

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.