欧美bbbwbbbw肥妇,免费乱码人妻系列日韩,一级黄片

一個(gè)ASP.NET中使用的MessageBox類(lèi)

 更新時(shí)間:2006年09月28日 00:00:00   作者:  
 /// <summary>
 /// 自定義信息對(duì)話框
 /// </summary>
 public class MessageBox
 {
  /// <summary>
  /// 定義一個(gè)web頁(yè)面,用來(lái)顯示用戶(hù)自定錯(cuò)誤提示信息
  /// </summary>
  System.Web.UI.Page p;
  /// <summary>
  /// 實(shí)例時(shí),參數(shù)為:this 如:MessageBox MB=new MessageBox(this);
  /// </summary>
  /// <param name="Page">此參數(shù)為:this</param>
  public  MessageBox(System.Web.UI.Page Page)
  {
   p=Page; //創(chuàng)建頁(yè)面
  }
  /// <summary>
  /// 顯示對(duì)話框
  /// </summary>
  /// <param name="message">提示信息</param>
  public void Show(string message)
  {
   string  script="<script> alert('"+ message +"')</script>";
   p.Response.Write(script);
  }
 }

相關(guān)文章

最新評(píng)論