Just come across this and found it interesting the way everything is done in code instead of in designer.