E. CAB Example Based on Boogaart's WPF CAB DLLs and My WPF SCSF

  1. The startup sequence of a CAB/SCSF application in WPF is different from Windows Forms. A WPF application contains an actual object deriving from class System.Windows.Application. In Windows Forms, the application is a collection of static methods that you never instantiate. Creating the WPF application object and the main window that it contains so that they're available at the times that CAB code is expecting to see them is the reason for the startup tap-dancing I'm about to show you. All this code is generated for you by my SCSF.

    The CAB program contains its own CAB-based application class. The two uses of the "A" word have no relation to each other; this collision is an unfortunate ...

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.