You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

64 lines
1.6 KiB

  1. using System;
  2. using System.Collections.Generic;
  3. using System.Linq;
  4. using System.Web;
  5. using System.Web.UI;
  6. using System.Web.UI.WebControls;
  7. #region 程式異動記錄
  8. ///程式代號:Waiting
  9. ///程式名稱:當畫面是維修中時需要跳轉到該畫面
  10. ///程式說明:
  11. ///xx.YYYY/MM/DD VER AUTHOR COMMENTS(說明修改的內容)
  12. ///01.2014/10/29 1.0 Alina CREATE
  13. #endregion
  14. namespace OT.Web
  15. {
  16. public partial class Waiting : System.Web.UI.Page
  17. {
  18. #region 自定義變量區
  19. // 自定義變量區
  20. #endregion
  21. #region 公有方法區
  22. // 公有方法區
  23. #endregion
  24. #region 私有方法區
  25. // 私有方法區
  26. #endregion
  27. #region 頁面事件觸發區
  28. // 頁面事件觸發區
  29. #region Page_Load
  30. /// <summary>
  31. /// 頁面加載事件
  32. /// </summary>
  33. /// <param name="sender"></param>
  34. /// <param name="e"></param>
  35. protected void Page_Load(object sender, EventArgs e)
  36. {
  37. if (!IsPostBack)
  38. {
  39. //頁面第一次加載
  40. string strProgramStatus = Server.UrlDecode(Request.QueryString["PageTile"]);
  41. if (strProgramStatus.Trim() == "W")
  42. {
  43. lblShow.Text = "該頁面正在維修中...";
  44. }
  45. else
  46. {
  47. lblShow.Text = "該頁面已停用!";
  48. }
  49. }
  50. }
  51. #endregion
  52. #endregion
  53. }
  54. }