EventMap in C#