Anas TINA
asked on
Model View Presenter Pattern (MVP) - View Load Event
I am designed my Windows Forms application using MVP pattern as follows:
View: is a passive windows forms (or user control) which expose its events to the public.
Presenter: accepts in their constructor an instance of the related view (using Dependency Injection DI ) and subscribe to the events in the view for handling.
Everything works fine except view load event; which fire before the presenter subscribes to the event.
View: is a passive windows forms (or user control) which expose its events to the public.
Presenter: accepts in their constructor an instance of the related view (using Dependency Injection DI ) and subscribe to the events in the view for handling.
Everything works fine except view load event; which fire before the presenter subscribes to the event.
This question needs an answer!
Become an EE member today
7 DAY FREE TRIALMembers can start a 7-Day Free trial then enjoy unlimited access to the platform.
View membership options
or
Learn why we charge membership fees
We get it - no one likes a content blocker. Take one extra minute and find out why we block content.
-saige-