HRESULT IExplorerBrowserEvents.OnNavigationPending(IntPtr pidlFolder)
        {
            var pendingLocation = ShellFactory.FromShellItem(ShellItem.FromPIDL((PIDL)pidlFolder));
            var args            = new NavigationPendingEventArgs(pendingLocation);

            OnNavigationPending(args);

            return(args.Cancel ? COMErrorCodes.Cancelled : COMErrorCodes.S_OK);
        }
 protected virtual void OnNavigationPending(NavigationPendingEventArgs args)
 {
 }
Exemple #3
0
 protected override void OnNavigationPending(NavigationPendingEventArgs args)
 {
     this.NavigationPending?.Invoke(this, args);
 }