FormRewriterControlAdapter.cs
public class FormRewriterControlAdapter:System.Web.UI.Adapters.ControlAdapter
{
public FormRewriterControlAdapter()
{
//
//TODO: 在此處添加構造函數邏輯
//
}
protected override void Render(HtmlTextWriter writer)
{
base.Render(new RewriteFormHtmlTextWriter(writer));
}
}
public class RewriteFormHtmlTextWriter:HtmlTextWriter
{
/// <summary>
/// 調用基類的構造方法