global.asax.h

来自「MFC程序开发参考大全 【明日科技】宋坤 刘锐宁 李伟明 【丛 书 名】」· C头文件 代码 · 共 48 行

H
48
字号
#include "stdafx.h"

using namespace System;
using namespace System::Web;
using namespace System::Collections;
using namespace System::ComponentModel;
using namespace System::Web::SessionState;

namespace WebServerExample {
 
    /// <summary>
    ///    全局的摘要描述。
    /// </summary>
	public ref class Global : public System::Web::HttpApplication
    {
	protected:
		void Application_Start(Object ^sender, EventArgs ^e)
        {

        }
 
		void Session_Start(Object ^sender, EventArgs ^e)
        {

        }

        void Application_BeginRequest(Object ^sender, EventArgs ^e)
        {

        }

		void Application_EndRequest(Object ^sender, EventArgs ^e)
        {

        }

        void Session_End(Object ^sender, EventArgs ^e)
        {

        }

        void Application_End(Object ^sender, EventArgs ^e)
        {

        }
    };
}

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?