Example #1
0
 public void OnButtonClick()
 {
     Address[] addresses;
     if (this.pluginServer.TryGetSelection(out addresses))
     {
         if (addresses.Length > 0)
         {
             FileOps.FileOperation(FileOpActions.Properties, this.pluginServer.ExplorerHandle, null);
         }
         else
         {
             FileOps.ShowProperties(this.pluginServer);
         }
     }
 }
Example #2
0
        public void OnButtonClick()
        {
            bool fFilesInClipboard = false;

            try {
                fFilesInClipboard = Clipboard.ContainsFileDropList();
            }
            catch {
            }

            if (fFilesInClipboard)
            {
                FileOps.FileOperation(FileOpActions.Paste, this.pluginServer.ExplorerHandle, null);
            }
            else
            {
                System.Media.SystemSounds.Beep.Play();
            }
        }
Example #3
0
 public void OnButtonClick()
 {
     FileOps.FileOperation(FileOpActions.Cut, this.pluginServer.ExplorerHandle, this.shellBrowser);
 }
Example #4
0
 public void OnShortcutKeyPressed(int index)
 {
     FileOps.FileOperation(FileOpActions.Properties, this.pluginServer.ExplorerHandle, null);
 }
Example #5
0
 public void OnButtonClick()
 {
     FileOps.FileOperation(FileOpActions.Undo, this.pluginServer.ExplorerHandle, null);
 }
Example #6
0
 public void OnButtonClick()
 {
     FileOps.FileOperation(FileOpActions.MoveTo, pluginServer.ExplorerHandle, null);
 }
Example #7
0
 public void OnShortcutKeyPressed(int index)
 {
     FileOps.FileOperation(FileOpActions.MoveTo, pluginServer.ExplorerHandle, null);
 }