SetRenderMethodDelegate() private method

private SetRenderMethodDelegate ( RenderMethod renderMethod ) : void
renderMethod RenderMethod
return void
示例#1
0
 private void @__BuildControl__control2(System.Web.UI.Control @__ctrl)
 {
     global::System.Web.UI.HtmlControls.HtmlInputText @__ctrl1;
     @__ctrl1 = this.@__BuildControltxtTemplateName();
     System.Web.UI.IParserAccessor @__parser = ((System.Web.UI.IParserAccessor)(@__ctrl));
     @__parser.AddParsedSubObject(@__ctrl1);
     global::System.Web.UI.HtmlControls.HtmlTextArea @__ctrl2;
     @__ctrl2 = this.@__BuildControltxtTemplateDesc();
     @__parser.AddParsedSubObject(@__ctrl2);
     global::System.Web.UI.WebControls.DropDownList @__ctrl3;
     @__ctrl3 = this.@__BuildControlddlCATEGORY();
     @__parser.AddParsedSubObject(@__ctrl3);
     global::System.Web.UI.WebControls.TextBox @__ctrl4;
     @__ctrl4 = this.@__BuildControltxtCATEGORY();
     @__parser.AddParsedSubObject(@__ctrl4);
     global::System.Web.UI.WebControls.DropDownList @__ctrl5;
     @__ctrl5 = this.@__BuildControlddlsmallcategory();
     @__parser.AddParsedSubObject(@__ctrl5);
     global::System.Web.UI.WebControls.TextBox @__ctrl6;
     @__ctrl6 = this.@__BuildControltxtsmallcategory();
     @__parser.AddParsedSubObject(@__ctrl6);
     global::System.Web.UI.HtmlControls.HtmlInputText @__ctrl7;
     @__ctrl7 = this.@__BuildControltxtUnit();
     @__parser.AddParsedSubObject(@__ctrl7);
     global::System.Web.UI.WebControls.DropDownList @__ctrl8;
     @__ctrl8 = this.@__BuildControlddlPageSize();
     @__parser.AddParsedSubObject(@__ctrl8);
     global::System.Web.UI.HtmlControls.HtmlInputText @__ctrl9;
     @__ctrl9 = this.@__BuildControltxtPageSize();
     @__parser.AddParsedSubObject(@__ctrl9);
     global::System.Web.UI.WebControls.Label @__ctrl10;
     @__ctrl10 = this.@__BuildControllblpageinfo();
     @__parser.AddParsedSubObject(@__ctrl10);
     global::System.Web.UI.HtmlControls.HtmlInputText @__ctrl11;
     @__ctrl11 = this.@__BuildControltxtPageInfo();
     @__parser.AddParsedSubObject(@__ctrl11);
     global::System.Web.UI.HtmlControls.HtmlInputCheckBox @__ctrl12;
     @__ctrl12 = this.@__BuildControlchkDisabled();
     @__parser.AddParsedSubObject(@__ctrl12);
     global::System.Web.UI.HtmlControls.HtmlInputHidden @__ctrl13;
     @__ctrl13 = this.@__BuildControlhidDisabled();
     @__parser.AddParsedSubObject(@__ctrl13);
     global::System.Web.UI.WebControls.LinkButton @__ctrl14;
     @__ctrl14 = this.@__BuildControllbtnNext();
     @__parser.AddParsedSubObject(@__ctrl14);
     global::System.Web.UI.WebControls.Button @__ctrl15;
     @__ctrl15 = this.@__BuildControlButton1();
     @__parser.AddParsedSubObject(@__ctrl15);
     @__ctrl.SetRenderMethodDelegate(new System.Web.UI.RenderMethod(this.@__Render__control2));
 }
示例#2
0
 private void @__BuildControl__control2(System.Web.UI.Control @__ctrl)
 {
     global::System.Web.UI.WebControls.DropDownList @__ctrl1;
     @__ctrl1 = this.@__BuildControlddlCATEGORY();
     System.Web.UI.IParserAccessor @__parser = ((System.Web.UI.IParserAccessor)(@__ctrl));
     @__parser.AddParsedSubObject(@__ctrl1);
     global::System.Web.UI.WebControls.TextBox @__ctrl2;
     @__ctrl2 = this.@__BuildControltxtCATEGORY();
     @__parser.AddParsedSubObject(@__ctrl2);
     global::System.Web.UI.WebControls.DropDownList @__ctrl3;
     @__ctrl3 = this.@__BuildControlddlsmallcategory();
     @__parser.AddParsedSubObject(@__ctrl3);
     global::System.Web.UI.WebControls.TextBox @__ctrl4;
     @__ctrl4 = this.@__BuildControltxtsmallcategory();
     @__parser.AddParsedSubObject(@__ctrl4);
     global::System.Web.UI.WebControls.DropDownList @__ctrl5;
     @__ctrl5 = this.@__BuildControlddlSourceName();
     @__parser.AddParsedSubObject(@__ctrl5);
     global::System.Web.UI.WebControls.TextBox @__ctrl6;
     @__ctrl6 = this.@__BuildControltxtSourceName();
     @__parser.AddParsedSubObject(@__ctrl6);
     global::System.Web.UI.WebControls.LinkButton @__ctrl7;
     @__ctrl7 = this.@__BuildControllbtnPrev();
     @__parser.AddParsedSubObject(@__ctrl7);
     global::System.Web.UI.WebControls.LinkButton @__ctrl8;
     @__ctrl8 = this.@__BuildControllbtnSave();
     @__parser.AddParsedSubObject(@__ctrl8);
     global::System.Web.UI.WebControls.Button @__ctrl9;
     @__ctrl9 = this.@__BuildControlButton1();
     @__parser.AddParsedSubObject(@__ctrl9);
     global::System.Web.UI.HtmlControls.HtmlInputHidden @__ctrl10;
     @__ctrl10 = this.@__BuildControlhidOperType();
     @__parser.AddParsedSubObject(@__ctrl10);
     global::System.Web.UI.HtmlControls.HtmlInputHidden @__ctrl11;
     @__ctrl11 = this.@__BuildControlhidsourceid();
     @__parser.AddParsedSubObject(@__ctrl11);
     global::System.Web.UI.HtmlControls.HtmlInputHidden @__ctrl12;
     @__ctrl12 = this.@__BuildControlhidtipcontent();
     @__parser.AddParsedSubObject(@__ctrl12);
     global::System.Web.UI.HtmlControls.HtmlInputHidden @__ctrl13;
     @__ctrl13 = this.@__BuildControlhidtitle();
     @__parser.AddParsedSubObject(@__ctrl13);
     @__ctrl.SetRenderMethodDelegate(new System.Web.UI.RenderMethod(this.@__Render__control2));
 }
示例#3
0
文件: ControlCas.cs 项目: nobled/mono
		public void Methods_Deny_Unrestricted ()
		{
			Control c = new Control ();

			c.DataBind ();
			Assert.IsNull (c.FindControl ("mono"), "FindControl");

			Assert.IsFalse (c.HasControls (), "HasControls");
			c.RenderControl (writer);
			Assert.IsNotNull (c.ResolveUrl (String.Empty), "ResolveUrl");
			c.SetRenderMethodDelegate (new RenderMethod (SetRenderMethodDelegate));
#if NET_2_0
			c.ApplyStyleSheetSkin (page);
			Assert.IsNotNull (c.ResolveClientUrl (String.Empty), "ResolveClientUrl");
#endif
			c.Dispose ();
		}