Load some data before the show

This commit is contained in:
2024-04-03 08:58:10 -04:00
parent 0d50c5db83
commit 6577b5ef43

View File

@@ -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(); }
}