开发者

Looking for beginner examples / tutorials about C# delegates and (custom) events [closed]

As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, visit the help center for guidance. Closed 10 years ago.

I am looking for simple exampels and tutorials about C# delegates and custom events. Especially I want to use custom respectively own events for the communicat开发者_运维技巧ion between user controls in Winforms, but the examples I have found with Google are not easy for a "event"-beginner like me ;-) ! Many thanks in advance for your help and suggestions.


These links should help you get the gist of it:

  1. Working with Delegates in C#;
  2. Working with Delegates in C#;
  3. C# Delegates Explained;
  4. Working with Delegates Made Easier with C# 2.0;
  5. Delegates in C#.

Well, after having visited Elmex's link to the CodeProject article about simple delegate, I guess you have your example.


mybe this is the simplest event example: http://www.codeproject.com/KB/cs/simplesteventexample.aspx


If you want to understand Delegates and Events you MUST watch "Delegates and Events" created in 02/19/2007 by William Steele

It truly helped me. Good Luck.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜