I found where to change the code preference:
To change the form template code language to C#
1. On the Tools menu, click Form Options.
2. In the Category list, click Programming.
3. Under Programming Language, change the value in the Form template code language drop-down list from Visual Basic to C#.
4. Click OK.
That fixed the problem. Built the project and previewed the form and was good to go.
Thanks Matt.
(Now to brush up on my C# and VB programming skills)