Chapter 13: Defining Events
Pages 380 - 385, Defining Events. I can usually follow the code and figure out how things are connected. In the TRY IT OUT on page 381, I do not understand how MessageArrived in CheckForMessage method is null or not. Where in the program is MessageArrived set or not set? I've stepped through the program, used the immediate window to see where the value is but no luck. Again, where in the program is MessageArrived set to null or not, and how does the method determine this.