Chapter 6. Event System

A. Problem Background

  1. The components of a CAB application sometimes need to announce asynchronous occurrences to each other. For example, the Smart Part that allows the user to select a customer might need to announce a new selection to any component that may be listening. ("Now hear this: whoever might be out there listening, the user has just selected the customer whose ID is X."). Other components in the CAB program might want to hear about that selection so that they can display their own business data keyed to the selected customer. ("Aha, customer X, eh? OK, let me fetch and display, in my own independent way, his current [mortgage, prescription, or whatever] records.")

    Accomplishing this task would be simple if the ...

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

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.