Exemplo n.º 1
0
 private void OnClickText(HyperText arg0, HyperText.LinkInfo arg1)
 {
     if (this.onClickKeyward != null)
     {
         onClickKeyward.Invoke(DocUtil.UnWarpText(arg1.Name));
     }
 }
Exemplo n.º 2
0
 private void SetTextItemClickEvent(HyperText text, List <Keyward> keywards)
 {
     if (keywards == null)
     {
         return;
     }
     foreach (var keyward in keywards)
     {
         SetClickAbleText(text, DocUtil.WarpText(keyward.regex), keyward.style);
     }
 }