Пример #1
0
        private void RetrieveWebDocumentsHandler(BuddyAction sender, BuddyAction.RetrieveWebDocumentsEventArgs e)
        {
            List<string> queries = e.queries;
            //List<string> documents = new List<string>();
            foreach(string query in queries)
            {
                WebBrowser browser = new WebBrowser();
                browser.Navigate(query);
                //browser.DocumentCompleted += ForwardDocumentToAction;
                //string html = browser.Document.ActiveElement.InnerHtml;
                //documents.Add(html);
            }

            //sender.ReceiveHTMLData(documents);
        }
Пример #2
0
 private void ForwardDocumentToAction(object sender, BuddyAction.RetrieveWebDocumentsEventArgs e)
 {
 }
Пример #3
0
 private void ActionCompletedHandler(BuddyAction sender, BuddyAction.ActionCompletedEventArgs e)
 {
     NotifyListeners(e.message);
 }
Пример #4
0
 private void RetrieveWebDocumentsHandler(BuddyAction sender, BuddyAction.RetrieveWebDocumentsEventArgs e)
 {
     RetrieveWebDocuments(sender, e);
 }
Пример #5
0
 public void RetrieveDocuments(BuddyAction sender, RetrieveWebDocumentsEventArgs args)
 {
     RetrieveWebDocuments(sender, args);
 }
Пример #6
0
 public void NotifyActionCompleted(BuddyAction sender, ActionCompletedEventArgs e)
 {
     ActionCompleted(sender, e);
 }