Crap a camcorder point at your screen and press record.
Seriously you can't expect an answer to that it's not simply, and you haven't search all over the internet that would take longer than ypou have
This simple google search[
^] gave good results the first two hits is even articles here on The Code Project. And yeah I'm sure they don't cover what you need exactly but write your code and when you run into problems ask a specific question