private void HandleWebDataEvent(object sender, WebDataArgs e) { SetTitle(e.Message); if (e.NavigateUrl!=null) Navigate(e.NavigateUrl); switch (e.Source) { case "News": justReadButton.Enabled = false; break; case "Web": justReadButton.Enabled = true; break; } }
public void OnWebDataAvailable(Object sender, WebDataArgs e) { if (WebDataAvailable != null) WebDataAvailable(sender, e); }