G
Guest
Hello,
Very simple question but one I need clarified.
Which part of the statement below is considered the 'delegate'?
Is it the 'new System.EventHandler'
or the
btnAccept_Click?
or is it the piece of code which doesn't appear here, but abstracts the
btnAccept_Click method?
this.btnAccept.Click += new System.EventHandler(this.btnAccept_Click);
Many thanks for any answers to this semingly silly question.
Ant
Very simple question but one I need clarified.
Which part of the statement below is considered the 'delegate'?
Is it the 'new System.EventHandler'
or the
btnAccept_Click?
or is it the piece of code which doesn't appear here, but abstracts the
btnAccept_Click method?
this.btnAccept.Click += new System.EventHandler(this.btnAccept_Click);
Many thanks for any answers to this semingly silly question.
Ant