public void SetSaldo() { try { ImportoContoPresenter presenter = new ImportoContoPresenter(_view.ImportoFormView, _service, _idConto, this); presenter.InitializeForm(); presenter.StartDialog(); } catch (Exception ex) { _view.GetSimpleMessageNotificator().Show(ex.Message, "Errore", MessageType.Error); } }
private void ShowPreventivoDoDetails(IIerarchicalContainer container) { try { if (container.SelectedNode == null) { return; } ImportoContoPresenter presenter = new ImportoContoPresenter(_view.ImportoFormView, _sericePreventivo, container.SelectedNode.Tag.ToString()); presenter.InitializeForm(); presenter.StartDialog(); RefreshPreventivoInterface(); } catch (Exception ex) { _view.GetSimpleMessageNotificator().Show(ex.Message, "Errore", MessageType.Error); } }