public FileSearchPresenter(IFileSearchView view, IFileSearchModel model) { _model = model; _view = view; setLogicalDrives(); _view.CancelButtonClick += new EventHandler<EventArgs>(CancelSearch); _view.SearchButtonClick += new EventHandler<EventArgs>(SearchClick); uiContext = SynchronizationContext.Current; }
public FileSearchPresenter(IFileSearchView view, IFileSearchModel model) { _model = model; _view = view; setLogicalDrives(); _view.CancelButtonClick += new EventHandler<EventArgs>(CancelSearch); _view.SearchButtonClick += new EventHandler<EventArgs>(SearchClick); }