//------------------------------------------------------------------------------------------- private void RenderItemRow(HtmlTextWriter writer, WeavverGroupBoxItem item) { if (!Enabled) { writer.AddAttribute(HtmlTextWriterAttribute.Disabled, "true"); } writer.RenderBeginTag("tr"); if (Enabled) { writer.AddAttribute("onclick", item.CustomOnClick); writer.AddAttribute("onmouseover", "highlight(this, 'groupboxitemover');"); writer.AddAttribute("onmouseout", "highlight(this, '" + item.NormalCssClass + "');"); } writer.AddAttribute(HtmlTextWriterAttribute.Class, item.NormalCssClass); writer.RenderBeginTag("td"); writer.Write(" " + item.Text); writer.RenderEndTag(); writer.RenderEndTag(); }
//------------------------------------------------------------------------------------------- private void RenderItemRow(HtmlTextWriter writer, WeavverGroupBoxItem item) { if (!Enabled) { writer.AddAttribute(HtmlTextWriterAttribute.Disabled, "true"); } writer.RenderBeginTag("tr"); if (Enabled) { writer.AddAttribute("onclick", item.CustomOnClick); writer.AddAttribute("onmouseover", "highlight(this, 'groupboxitemover');"); writer.AddAttribute("onmouseout", "highlight(this, '" + item.NormalCssClass + "');"); } writer.AddAttribute(HtmlTextWriterAttribute.Class, item.NormalCssClass); writer.RenderBeginTag("td"); writer.Write(" " + item.Text); writer.RenderEndTag(); writer.RenderEndTag(); }
//------------------------------------------------------------------------------------------- public WeavverGroupBoxItem Add() { WeavverGroupBoxItem tsgroupboxitem = new WeavverGroupBoxItem(); return(Add(tsgroupboxitem)); }
//------------------------------------------------------------------------------------------- public int IndexOf(WeavverGroupBoxItem tsgroupboxitem) { return(List.IndexOf(tsgroupboxitem)); }
//------------------------------------------------------------------------------------------- public WeavverGroupBoxItem Add(WeavverGroupBoxItem tsgroupboxitem) { List.Add(tsgroupboxitem); return(tsgroupboxitem); }
//------------------------------------------------------------------------------------------- public int IndexOf(WeavverGroupBoxItem tsgroupboxitem) { return List.IndexOf(tsgroupboxitem); }
//------------------------------------------------------------------------------------------- public WeavverGroupBoxItem Add(WeavverGroupBoxItem tsgroupboxitem) { List.Add(tsgroupboxitem); return tsgroupboxitem; }
//------------------------------------------------------------------------------------------- public WeavverGroupBoxItem Add() { WeavverGroupBoxItem tsgroupboxitem = new WeavverGroupBoxItem(); return Add(tsgroupboxitem); }