Ok Thanks
I had done a rebuild and that did nothing.
I did a clean and rebuild and hey presto it worked fine.
Not sure why. But in the future if it doesn't work I will try a clean
and rebuild.
I was almost going to bring up VS2008 but thankfully I don't need to now.
Regards Peter
On 7/01/2011 4:42 PM, Winston Pang wrote:
Peter,
I can't see anything wrong with that at all.
Just used the exact code and built the window, everything shows.
Could it be a stale exe you're running? Make sure to Clean Solution
and do a full Rebuild.
--Winston