Programming Microsoft® Composite UI Application Block and Smart Client Software Factory
by David S. Platt
C. The Shell Application and Initialization Process
You tend not to do a whole lot in the shell application, just as you tend not to do a whole lot in any program's main file. The shell application contains your program's entry point and performs initialization. Most of the interesting business logic lives elsewhere.
The SCSF Wizard generates a shell application class deriving from the SCSF base class SmartClientApplication, which in turn derives from the FormShellApplication of CAB. The code is shown on the facing page. You can find the former class in your app's Infrastructure.Library project. It adds a number of services to the base application, such as the action catalog service (IActionCatalogService) and the entity translator service (IEntityTranslatorService ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access