public void Show() { AcquireTarget(_selection); if (_view.Target != null) { _view.ShowDialog(); } }
public RenameModel Show() { if (_model.Target == null) { return(null); } _view.Target = _model.Target; if (_view.ShowDialog() != DialogResult.OK) { return(null); } _model.NewName = _view.NewName; return(_model); }