I just cracked open this book and started reading through. I hit chapter 2 and after scratching my head for about 60 min thinking I'd done something wrong I threw in the towel and skipped the chapter.
It does not tell you to create a new project/windows form and re-create "btnSayHello" before it references code associated with said button. Nor does it instruct you to load chapter 2's code. It does not even mention that the author changed from the "Getting Started" WPF solution at the beginning of the chapter until 12 pages into it
After I finally realized what happened and loaded the VB
code associated with chapter 2 from the website, I noticed that the lines of code telling you how to customize the icon "MyControl" do not actually associate the control with the bitmap that is included with the lesson. How does it work?
Public Class MyControl
The toolbox just displays it as a blueish purple gear.
I've spent about 30 min browsing the web for an explanation to what the book says, which is the reason I bought the book in the first place... to avoid mindlessly browsing various inconsistent resources.
All in all, I'm thoroughly confused with by a large chunk of chapter 2 whenever code is referenced. I've read and re-read the chapter over and over to see if I missed something... Is the reader expected to create a new project and a new user control, or open the example online? If we're expected to open the example online, can someone fix it please?