Esempio n. 1
0
 public void OpenSelectedAccount()
 {
     _popupPresenter.CatchPossibleException(() =>
     {
         var client = _clientDetailsView.GetSelectedAccount();
         _accountDetailsPresenter.SetAccount(client);
         _accountDetailsPresenter.Display();
     });
 }
Esempio n. 2
0
        public void CloseTheAccount()
        {
            _popupPresenter.CatchPossibleException(() =>
            {
//                if (_accountDetailsReport == null)
//                    return;

                _bus.Publish(new CloseAccountCommand(_accountReport.Id));

                _accountDetailsView.Close();
            });
        }
Esempio n. 3
0
 public void OpenSelectedClient()
 {
     _popupPresenter.CatchPossibleException(() =>
     {
         var client = _clientSearchFormView.GetSelectedClient();
         _clientDetailsPresenter.SetClient(client);
         _clientDetailsPresenter.Display();
     });
 }