Ejemplo n.º 1
0
        public override bool TryCommand(ShellToolsArguments arguments, out int errorCode)
        {
            errorCode = 0;

            if (!arguments.Command.Equals(this.CommandName, StringComparison.OrdinalIgnoreCase))
                return false;

            _relativeForm = new RelativeForm(arguments.Path);
            return true;
        }
Ejemplo n.º 2
0
 public override bool TryCommand(ShellToolsArguments arguments, out int errorCode)
 {
     errorCode = 0;
     
     if (!arguments.Command.Equals(this.CommandName, StringComparison.OrdinalIgnoreCase))
         return false;
     
     string fullPath = Path.GetFullPath(arguments.Path);
     Clipboard.SetText(fullPath);
     return true;
 }
Ejemplo n.º 3
0
 public abstract bool TryCommand(ShellToolsArguments arguments, out int errorCode);