Infrastructure.Module.dll ├── Interfaces (services, views) ├── Constants (topic names, command names) ModuleA.dll ├── Views (IView, View) ├── Presenters (Presenter) ├── Services (concrete) ├── ModuleController.cs └── ModuleA.cs (CAB Module)
Application.EnableVisualStyles(); var builder = new CABApplication<ShellApplication>(); builder.Run(); Infrastructure
[EventPublication("topic/Save")] public event EventHandler SaveClicked; Infrastructure.Module.dll ├── Interfaces (services
:
// fetch customer details
[SmartPart] public partial class OrderView : UserControl, IOrderView views) ├── Constants (topic names
string CustomerName set; event EventHandler SaveClicked;