public void OnSelectHtmlElement(HtmlElement_Base he) { this.ClassPointer = he; OnSetImage(); base.SetLabelText(string.Format(CultureInfo.InvariantCulture, "current element:{0}", he.ToString())); this.Refresh(); }
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:"); } }
public override void ShowText() { Text = HtmlElement.ToString(); }