/// <summary>
/// 自定义信息对话框
/// </summary>
public class MessageBox
{
/// <summary>
/// 定义一个web页面用来显示用户自定错误提示信息
/// </summary>
SystemWebUIPage p;
/// <summary>
/// 实例时参数为this 如MessageBox MB=new MessageBox(this)
/// </summary>
/// <param name=Page>此参数为this</param>
public MessageBox(SystemWebUIPage Page)
{
p=Page; //创建页面
}
/// <summary>
/// 显示对话框
/// </summary>
/// <param name=message>提示信息</param>
public void Show(string message)
{
string script=<script> alert(+ message +)</script>;
pResponseWrite(script)
}