Common/MessageBox.cs
(开头部分) 2KB这里只显示每个文件的开头 60 行。登录后可以解锁完整代码。
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Web;
using System.Web.UI;
public class MessageBox:Page
{
//public void WriteReLog(string err)
//{
//}
public static void myScriptMes(Page p, string strNote)
{
p.ClientScript.RegisterStartupScript(p.GetType(), "himy", strNote, true);
}
public static void RefreshPage(Page p, string url)
{
p.ClientScript.RegisterStartupScript(p.GetType(), "hinow", "location.href=\"" + url + "\";", true);
}
public static void RefreshPage(Page p, string tag, string url)
{
p.ClientScript.RegisterStartupScript(p.GetType(), "hinew", tag + ".location.href=\"" + url + "\";", true);
}
public static void ReloadPage(Page p, string tag)
{
p.ClientScript.RegisterStartupScript(p.GetType(), "himy", tag + ".location.reload();", true);
}
public static void Show(Page p, string msg)
{ //\"提示信息\",
p.ClientScript.RegisterStartupScript(p.GetType(), "hi", "alert(\"" + msg + "\");", true);
}
public static void ShowInfo(Page p, string msg)
{ //\"提示信息\",
p.ClientScript.RegisterStartupScript(p.GetType(), "hi", "\"" + msg + "\"", true);
}
public static void Show(Page p, string msg, string url)
{
p.ClientScript.RegisterStartupScript(p.GetType(), "himes", "alert(\"" + msg + "\");location.href=\"" + url + "\";", true);
}
public static void ShowReload(Page p, string msg)
{
p.ClientScript.RegisterStartupScript(p.GetType(), "himes", "alert(\"" + msg + "\");top.location.reload();", true);
}
public static void Show(Page p, string msg, string tag, string url)
{
p.ClientScript.RegisterStartupScript(p.GetType(), "hialert", "alert(\"提示信息\",\"" + msg + "\");" + tag + ".location.href=\"" + url + "\";", true);
}
public static void ShowModalDialog(Page p, string url)
后面还有 5 行代码,购买后查看完整代码
24 小时内免费解锁 3 个项目,之后 1 算力/个。 规则说明
AI 解读 AI
登录后可用,每次 10 算力,解读结果公开显示在下面。
还没有人解读过这个文件。