public MainFrame() { services = new Services(this); services.EventBus.AddHandler<PageTitleEventArgs>(onTitleChanged); services.EventBus.AddHandler<StatusEventArgs>(onStatusChanged); services.EventBus.AddHandler<CommandEnableEventArgs>(onCommandEnableChanged); services.EventBus.AddHandler<ExitEventArgs>(onExitEvent); services.EventBus.AddHandler<OpenEventArgs>(onOpenEvent); services.EventBus.AddHandler<TestStateEventArgs>(onTestStateChanged); InitializeComponent(); // Go to initial place services.PlaceController.GoTo(new Empty.EmptyPlace()); }
public PresenterMapper(Services services) { this.services = services; }