public StatementFormPresenter(IExtrasParserFactory extrasParserFactory, IStatementForm statementForm, IDialogService dialogService, IReportBuilder reportBuilder) { _statementForm = statementForm; _extrasParserFactory = extrasParserFactory; _dialogService = dialogService; _reportBuilder = reportBuilder; _statementForm.OnStatementShown += WhenStatementFormShown; _statementForm.OnStatementGridRowClick += StatementGridRowClick; _statementForm.OnStatementFormClosing += AfterStatementFormClosed; _statementForm.OnStatementFormActivating += ActiveStatments; }
public void ShowStatementForm(IStatementForm statementForm) { statementForm.Show(); }
public IStatementFormPresenter Create(IExtrasParserFactory extrasParserFactory, IStatementForm statementForm, IDialogService dialogService, IReportBuilder reportBuilder) { return(new StatementFormPresenter(extrasParserFactory, statementForm, dialogService, reportBuilder)); }