From 7470a9e35a0894d49087056ee4df6a69f8768a93 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mart=20S=C3=B5mermaa?= Date: Tue, 24 Sep 2019 18:00:59 +0300 Subject: [PATCH] Update Program.cs --- WinFormsMVP/WinFormsMVP/Program.cs | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/WinFormsMVP/WinFormsMVP/Program.cs b/WinFormsMVP/WinFormsMVP/Program.cs index 0bcdb23..7a99bf0 100644 --- a/WinFormsMVP/WinFormsMVP/Program.cs +++ b/WinFormsMVP/WinFormsMVP/Program.cs @@ -17,10 +17,11 @@ private static void Main() var repository = new Model.CustomerXmlRepository(Application.StartupPath); var view = new View.CustomerForm(); - // TODO: IOC + // Poor Man's Dependency Injection/Pure Dependency Injection, Main() is the Composition Root. + // See https://github.com/mrts/winforms-mvp/issues/2. var presenter = new Presenter.CustomerPresenter(view, repository); Application.Run(view); } } -} \ No newline at end of file +}