namespace mybill
{
/// <summary>
/// configuration 的摘要说明。
/// </summary>
public class configuration
{
/// <summary>
/// 打开新窗口
/// </summary>
/// <param name="pg">请求的页面</param>
/// <param name="url">要打开的页面的url</param>
/// <param name="windowname">要打开的窗口的名称</param>
public static void openwindowscript(page pg,string url,string windowname)
{
string scriptblock;
scriptblock="<script language='javascript'>/n"+
"window.open("+"'"+url+"','"+"windowname"+"',"+"'toolbar=no,location=no,resizeabel=0,width=400,height=400'"+");"+
"</script>";
pg.registerclientscriptblock("openwindow",scriptblock);
}
public configuration()
{
//
// todo: 在此处添加构造函数逻辑
//
}
}
}
新闻热点
疑难解答
图片精选