Ejemplo n.º 1
0
 public void OnSelectHtmlElement(HtmlElement_Base he)
 {
     this.ClassPointer = he;
     OnSetImage();
     base.SetLabelText(string.Format(CultureInfo.InvariantCulture, "current element:{0}", he.ToString()));
     this.Refresh();
 }
Ejemplo n.º 2
0
        public override void SetLabelText(string name)
        {
            HtmlElement_Base heb = this.ClassPointer as HtmlElement_Base;

            if (heb != null)
            {
                base.SetLabelText(string.Format(CultureInfo.InvariantCulture, "current element:{0}", heb.ToString()));
            }
            else
            {
                base.SetLabelText("current element:");
            }
        }
Ejemplo n.º 3
0
 public override void ShowText()
 {
     Text = HtmlElement.ToString();
 }