public FileOperation(FileOperationProgressSink callbackSink, IWin32Window owner) {
      _callbackSink = callbackSink;
      _fileOperation = (IFileOperation) Activator.CreateInstance(_fileOperationType);

      _fileOperation.SetOperationFlags(FileOperationFlags.FOF_NOCONFIRMMKDIR);
      if (_callbackSink != null) SinkCookie = _fileOperation.Advise(_callbackSink);
      if (owner != null) _fileOperation.SetOwnerWindow((uint) owner.Handle);
    }
        public FileOperation(FileOperationProgressSink callbackSink, IWin32Window owner)
        {
            _callbackSink  = callbackSink;
            _fileOperation = (IFileOperation)Activator.CreateInstance(_fileOperationType);

            _fileOperation.SetOperationFlags(FileOperationFlags.FOF_NOCONFIRMMKDIR);
            if (_callbackSink != null)
            {
                SinkCookie = _fileOperation.Advise(_callbackSink);
            }
            if (owner != null)
            {
                _fileOperation.SetOwnerWindow((uint)owner.Handle);
            }
        }
 public FileOperation(FileOperationProgressSink callbackSink) : this(callbackSink, null)
 {
 }
 public FileOperation(FileOperationProgressSink callbackSink) : this(callbackSink, null) {}