MVP and IOC on Windows Forms?

Ive started using the MVP template in a Windows forms application for several of my forms. These forms create a presenter and return to the lead.

I do not use any specific framework, and forms can still open other forms.

Should this setting be changed so that facilitators can open other forms (through presentations)? I believe that this will require the use of the IOC structure?

This can save me if I create logic to open related forms in the user interface and allow me to remove presenter links from the form.

+3
source share
2 answers

, / . Command , . , Command, . , , "", Command.

IOC, . , .

MVP WinForms : ModelViewPresenter. IOC, , .

+3

winforms, .

factory , . , , , .

0

Source: https://habr.com/ru/post/1699433/


All Articles