コード例 #1
0
 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;
 }
コード例 #2
0
 public void ShowStatementForm(IStatementForm statementForm)
 {
     statementForm.Show();
 }
コード例 #3
0
 public IStatementFormPresenter Create(IExtrasParserFactory extrasParserFactory, IStatementForm statementForm, IDialogService dialogService, IReportBuilder reportBuilder)
 {
     return(new StatementFormPresenter(extrasParserFactory, statementForm, dialogService, reportBuilder));
 }