예제 #1
0
 public PresenterSender(ISenderView view)
 {
     _view = view;
     _view.SendMessageChanged += View_SendMessageChanged;
     _view.UpdateRecipientList(RecipientManager.Recipients);
     RecipientManager.RecipientsChanged += Repository_RecipientsChanged;
 }
예제 #2
0
 private void Repository_RecipientsChanged(object sender, RecipientsEventArgs e)
 {
     _view.UpdateRecipientList(e.Recipients);
 }