The C# code listings for the VSTO 2007 book are attached to this post.  I will also get them posted to the book site in the next several days.

 Enjoy!