示例#1
0
		internal void RaiseOnFileDownload(object sender, DWebBrowserEvents2_FileDownloadEvent e) 
		{
			if ((this.FileDownload != null)) 
			{
				this.FileDownload(sender, e);
			}
		}
示例#2
0
		public virtual void FileDownload(ref bool cancel) 
		{
			DWebBrowserEvents2_FileDownloadEvent filedownloadEvent = new DWebBrowserEvents2_FileDownloadEvent(cancel);
			this.parent.RaiseOnFileDownload(this.parent, filedownloadEvent);
			cancel = filedownloadEvent.cancel;
		}