public TubePresenter(ITubeView tubeView) { this.tubeView = tubeView; this.tubeModel = new TubeModel(); tubeView.LoadForm += LoadAllTubeGrids; tubeView.SearchClick += LoadSearchResultGrid; tubeView.ClearClick += LoadAllTubeGrids; tubeView.SetModel(tubeModel); }
public TubePresenter(ITubeView tubeView) { this.tubeView = tubeView; this.tubeModel = new TubeModel(); tubeView.LoadForm += LoadAllTubeGrids; tubeView.SearchClick += LoadSearchResultGrid; tubeView.ClearClick += LoadAllTubeGrids; tubeView.SetModel(tubeModel); }