[ASP.NET] Loading Production

xiaoxiao2021-03-06  40

The method is simple. Put the code to everyone! I have enabled a piece of control. Download: http: //upserver4.ys168.com/ys168up/D1/YY1.aspx f = 050P1D8E0E3E5D9D5G6ALI7A00A05AKA03D6A00A08A08I5F9G0E0D9E0D8D6E1A24E6E1D9E5D9C3 Here is the source code:? ====================== ============= Using system;

Namespace HDControl {///

/// Summary description for loading. /// public class loading {private system.web.ui.page sender; private string strimagepath;

Public Object Page {Get {returnge;} set {sender = (system.web.ui.page) value;}}

Public string imagemapth {get {strimagePath;} set {strimagePath = value;}}

Public loading () {//}

Public loading (Object sender) {page = sender;

Public loading (Object sender, string imagemapth) {page = sender; this.strimagePath = imagemapth;}

///

/// Load script to page /// public void Load () {if (! This.Sender.IsClientScriptBlockRegistered ( "startScript")) {this.Sender.RegisterClientScriptBlock ( "startScript" , this.Start ()); this.Sender.RegisterStartupScript ("endscript", this.end ());}}

///

/// script start. /// /// private string start () {string strstyle = "border-top-style: none; border-rot -Style: none; border-left-style: none; system.text.stringbuilder strscript = new system.text.stract ("
"); Strscript.append (""); strscript.append ("
"); strscript.append (""); strscript.Append (" "); strscript.append (" "); return strscript.toString () }

转载请注明原文地址:https://www.9cbs.com/read-64598.html

New Post(0)
CopyRight © 2020 All Rights Reserved
Processed: 0.042, SQL: 9