public void FileOperationError(FileSystemOperationErrorEventArgs e) { if (!browser.IsReady()) { notReadyScriptList.Add(e); return; } browser.InvokeScript("fileOpError", (int)e.OperationType, e.FullPath); }
protected virtual void OnFileSystemOperationError(FileSystemOperationErrorEventArgs e) { if (FileSystemOperationError == null) return; IpmEvents.OnTcpThreadFileSystemOperationError(_client, e); if (!IPMClient.NeedPostMessage) { FileSystemOperationError(this, e); } else { if (scpcFileSystemOperationError == null) scpcFileSystemOperationError = (s) => FileSystemOperationError(this, s as FileSystemOperationErrorEventArgs); IPMClient.SendASynchronizeMessage(scpcFileSystemOperationError, e); } }