Am I doing something wrong?
Hello Dr Purdum,
I come from a web development background and I decided to use your book as my starting point to learn OOP. I have no experience with C#. I think I have located an error in the book starting at page 36:
We are instructed to create a new Project as an Empty Project and not a Windows Application Template. We continue on to add references and type in some basic program code to the Code File frmMain file. Here is where I start to have a problem, though I did not realize it until the bottom of page 41. There it states to Highlight the frmMain.cs file in Solution Explorer and then click on the View Designer icon. If I follow the instruction to the letter, I cannot click the View Designer Icon as it is not available to the Code File file. If I backtrack to page 39: Figure 2-11 appears to display a project started as a Windows Forms Application with the frmMain.cs file as a Windows Form file object and not a Code File. At the top of Page 38 we are instructed to create a form object to hold other objects, but we are then told to use the Code File object in and after Figure 2-10.
Although I have gotten past this section and enjoying the book further on. This section greatly confused me as a OOP and C# beginner. I went through it several times in both C# Express and Visual Studio 2008, always with the same results. Although I do not think I missed anything, perhaps you, or other readers can show me the steps I missed.