The guys behind the All-In-One Code Framework published a sample on using TFS events earlier this month. I'm not sure, but it may have been thier first sample covering TFS. They have more on their backlog. You can suggest sample ideas, and vote on other suggestions, too. To vote on suggestions, search for TFS in the sample request service.