コード例 #1
0
ファイル: Control.cs プロジェクト: stabbylambda/mono
		protected void RenderControl (HtmlTextWriter writer, ControlAdapter adapter)
		{
			if ((stateMask & VISIBLE) != 0) {
				adapter.BeginRender (writer);
				adapter.Render (writer);
				adapter.EndRender (writer);
			}
		}
コード例 #2
0
        private void RenderControlInternal(HtmlTextWriter writer, ControlAdapter adapter) {
            try {
                BeginRenderTracing(writer, this);

                if (adapter != null) {
                    // 
                    adapter.BeginRender(writer);
                    adapter.Render(writer);
                    adapter.EndRender(writer);
                }
                else {
                    Render(writer);
                }
            }
            finally {
                EndRenderTracing(writer, this);
            }
        }
コード例 #3
0
 private void RenderControlInternal(HtmlTextWriter writer, ControlAdapter adapter)
 {
     if (adapter != null)
     {
         adapter.BeginRender(writer);
         adapter.Render(writer);
         adapter.EndRender(writer);
     }
     else
     {
         this.Render(writer);
     }
 }