protected void OnDocumentComplete(object ppDisp, object url) { EventHandler <DocumentCompleteEventArgs> h = DocumentComplete; DocumentCompleteEventArgs args = new DocumentCompleteEventArgs(ppDisp, url); if (null != h) { h(this, args); } //Pass the ppDisp chosen back out to the events ppDisp = args.PPDisp; //I think url is readonly }
protected void OnDocumentComplete(object ppDisp, object url) { EventHandler<DocumentCompleteEventArgs> h = DocumentComplete; DocumentCompleteEventArgs args = new DocumentCompleteEventArgs( ppDisp, url); if (null != h) { h(this, args); } //Pass the ppDisp chosen back out to the events ppDisp = args.PPDisp; //I think url is readonly }