From 6577b5ef430b2b62a6f015c58bcfe70df8455e9a Mon Sep 17 00:00:00 2001 From: Tracy Pearson Date: Wed, 3 Apr 2024 08:58:10 -0400 Subject: [PATCH] Load some data before the show --- .../TestingArea/ModelProperties/ModelPropertiesPresenter.cs | 1 + 1 file changed, 1 insertion(+) diff --git a/MVPLearning/TestingArea/ModelProperties/ModelPropertiesPresenter.cs b/MVPLearning/TestingArea/ModelProperties/ModelPropertiesPresenter.cs index 68e10e2..e21e3e8 100644 --- a/MVPLearning/TestingArea/ModelProperties/ModelPropertiesPresenter.cs +++ b/MVPLearning/TestingArea/ModelProperties/ModelPropertiesPresenter.cs @@ -14,6 +14,7 @@ namespace MVPLearning.TestingArea.ModelProperties { _view = view; _view.ButtonClick += ButtonClick; + _view.LoadData(new() { FirstName = "Mary" }); if (_view is Form form) { form.Show(); } }