예제 #1
0
		public void FileOperationError(FileSystemOperationErrorEventArgs e)
		{
			if (!browser.IsReady())
			{
				notReadyScriptList.Add(e);
				return;
			}

			browser.InvokeScript("fileOpError", (int)e.OperationType, e.FullPath);
		}
예제 #2
0
		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);
			}
		}