ArcObjects Library Reference  

About the Dynamic display compass Sample

[C#]
[Visual Basic .NET]