示例#1
0
 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;
     }
 }
示例#2
0
 public void OnWebDataAvailable(Object sender, WebDataArgs e)
 {
     if (WebDataAvailable != null) WebDataAvailable(sender, e);
 }