コード例 #1
0
 public MainPresenter(IMainForm view, IMessageService messageService, IFileManager mannager)
 {
     _view = view;
     _messageService = messageService;
     _mannager = mannager;
     _view.setAlgotithm(_mannager.Algorithm());
     _view.ScanClick += _view_ScanClick;
     _view.ClearResult += _view_ClearResult;
     _view.DeleteFile += _view_DeleteFile;
     _view.OpenProperties += _view_OpenProperties;
     _view.OpenFolder += _view_OpenFolder;
     _view.DeleteDublicateFile += _view_DeleteDublicateFile;
 }