Exemple #1
0
        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
        }
Exemple #2
0
 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
 }