The above code compiles and runs fine but generates error in designer (costly loss of time). Suggest you review the comments left on the VS2005 side before spending a lot of time trying to make it work in the designer. http://msdn.microsoft.com/en-us/library/36574bf6(VS.80).aspx. Note: I'm using XP, .NET 3.5 SP1 and Visual Studio 2008.