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 +}