You are busy adding a WebBrowser control named, Certkiller browser to a form in a Microsoft Windows Form application. To control the navigation of the documents, you add Button controls and a TextBox control to the form, just incase a HTML document needs to e programmatically parse through the content. Which code segment should be used to create an event handler?
A.
browser.Navigated =+ delegate
{
HtmlDocument document = browser.Document;
//Parse the document
}
B.
browser.FileDownload =+ delegate
{
HtmlDocument document = browser.Document;
//Parse the document
}
C.
browser.DocumentCompleted =+ delegate
{
HtmlDocument document = browser.Document;
//Parse the document
}
D.
browser.Navigating =+ delegate
{
HtmlDocument document = browser.Document;
//Parse the document
}