Example #1
0
 public void Show()
 {
     AcquireTarget(_selection);
     if (_view.Target != null)
     {
         _view.ShowDialog();
     }
 }
Example #2
0
        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);
        }