Load some data before the show
This commit is contained in:
@@ -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(); }
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user