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