Incorporated all code review suggestions for Windows Form sample.