public void RenderFunction() { H5Button b = new H5Button(); b.InnerText = "提交"; Gcontainer.Controls.Add(b); }
public void RenderFunction() { if (CancleAble) { H5Button b = new H5Button(); b.InnerText = "撤回"; b.CssClass = "cancle"; Gcontainer.Controls.Add(b); } else { if (ApproveAble) { H5ApproveButton b = new H5ApproveButton(); Gcontainer.Controls.Add(b); } } }