Chapter 6 Lab Exercises Event System

  1. Generate an SCSF project. Add an event publication using the SCSF Wizard, with the name of your choice. Add an event subscription, popping up a message box so that you know that you've hit it.

  2. Add two methods, programmatically adding a handler for an event subscription and programmatically firing it.

  3. Add a list box to the shell form. Read the EventTopics list from the root work item and show the events in the list box.

  4. Write code to enable you to select an event from the list, hook a handler to it, and spy on it.

Get Programming Microsoft® Composite UI Application Block and Smart Client Software Factory now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.