コード例 #1
0
        protected void Page_Load(object sender, EventArgs e)
        {
            if (!this.IsPostBack)
            {
                // Encrypt3 pp = new Encrypt3();

                try
                {
                    zues kt = new zues();
                    kt.CldMigrate(base.Server.MapPath("~/"));

                    //  var kk = Encrypt3.EncryptString("patATTAH3#", "patATTAH3#");
                    //  var kk2 = Encrypt3.DecryptString(kk, "patATTAH3#");
                    //  var pp = kk2;
                }
                catch (Exception ee)
                {
                    var kd = ee.Message;
                }


                //   string script = "document.getElementById('bgMark').style.background = \"url(\" + document.getElementById('"
                // + imgWaterMark.ClientID + "').src + \")  0 20  repeat \";";
                // if (ScriptManager.GetCurrent(this.Page) == null)
                //  Page.ClientScript.RegisterStartupScript(this.Page.GetType(), "block", script, true);
                //else
                //   ScriptManager.RegisterStartupScript(this.Page, this.Page.GetType(), "block", script, true);
                //The watermark picture
                //  string ID = "test";
                // imgWaterMark.Src = ResolveUrl("~") + string.Format("Handlers/WaterMarks.ashx?id={0}", ID);
            }
        }