コード例 #1
0
        protected void Page_Unload(object sender, EventArgs e)
        {
            if (sailsMasterBLL != null)
            {
                sailsMasterBLL.Dispose();
                sailsMasterBLL = null;
            }

            if (permissionUtil != null)
            {
                permissionUtil.Dispose();
                permissionUtil = null;
            }

            if (userUtil != null)
            {
                userUtil.Dispose();
                userUtil = null;
            }

            if (!IsPostBack)
            {
                ClearMessage();
            }
        }
コード例 #2
0
 protected void Page_Unload(object sender, EventArgs e)
 {
     if (bookingViewBLL != null)
     {
         bookingViewBLL.Dispose();
         bookingViewBLL = null;
     }
     if (userUtil != null)
     {
         userUtil.Dispose();
         userUtil = null;
     }
     if (permissionUtil != null)
     {
         permissionUtil.Dispose();
         permissionUtil = null;
     }
 }
コード例 #3
0
        protected void Page_Unload(object sender, EventArgs e)
        {
            if (paymentReportBLL != null)
            {
                paymentReportBLL.Dispose();
                paymentReportBLL = null;
            }

            if (userUtil != null)
            {
                userUtil.Dispose();
                userUtil = null;
            }

            if (permissionUtil != null)
            {
                permissionUtil.Dispose();
                permissionUtil = null;
            }
        }