亚洲乱码中文字幕综合,中国熟女仑乱hd,亚洲精品乱拍国产一区二区三区,一本大道卡一卡二卡三乱码全集资源,又粗又黄又硬又爽的免费视频

一個ASP.NET中使用的MessageBox類

 更新時間:2006年09月28日 00:00:00   作者:  
 /// <summary>
 /// 自定義信息對話框
 /// </summary>
 public class MessageBox
 {
  /// <summary>
  /// 定義一個web頁面,用來顯示用戶自定錯誤提示信息
  /// </summary>
  System.Web.UI.Page p;
  /// <summary>
  /// 實例時,參數(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)建頁面
  }
  /// <summary>
  /// 顯示對話框
  /// </summary>
  /// <param name="message">提示信息</param>
  public void Show(string message)
  {
   string  script="<script> alert('"+ message +"')</script>";
   p.Response.Write(script);
  }
 }

相關(guān)文章

最新評論