public void BindTo(SnapshotFolderListDTO snapshotFolderListDTO) { _snapshotFolderListDTO = snapshotFolderListDTO; _screenBinder.BindToSource(snapshotFolderListDTO); _gridViewBinder.BindToSource(snapshotFolderListDTO.Folders); radioGroupExportMode.EditValue = snapshotFolderListDTO.ExportMode; }
public FolderListSnapshotPresenter(IFolderListSnapshotView view, IDialogCreator dialogCreator) : base(view) { _dialogCreator = dialogCreator; _snapshotFolderListDTO = new SnapshotFolderListDTO(); _view.BindTo(_snapshotFolderListDTO); }