SyntaxFix
Write A Post
Hire A Developer
Questions
What you need is a delegate and a callback. Here is a nice MSDN article that will show you how to use this technique in C#.