예제 #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();
 }
예제 #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:");
            }
        }
예제 #3
0
 public override void ShowText()
 {
     Text = HtmlElement.ToString();
 }