Ejemplo n.º 1
0
 public UserDetailPresenter(IDetailView detailView, IUser user)
 {
     _view = detailView;
     LoadUser(user);
     _view.SomeProperty = _userData; //to populate view with data
     _view.Show();                   // tells the view to show data
 }
 public void Show(IUser user, IDetailView detailView)
 {
     _view = detailView;
     InitializeView(user);
     _view.Show();
 }
Ejemplo n.º 3
0
 public UserDetailPresenter(IDetailView detailView, IUser user)
 {
     _view = detailView;
     LoadUser(user)
     _view.Show();
 }