SourceCodeSky QQ客服 SourceCodeSky 400电话 客服电话 暂无

ShutdownComputer.cpp ( 文件浏览 )

  • keepall 发布于 2016-08-23 22:14
  • 浏览次数:499
  • 下载次数: 1
  • 下载需 10 积分
  • 侵权举报
// ShutdownComputer.cpp : Defines the class behaviors for the application.
//

#include "stdafx.h"
#include "ShutdownComputer.h"
#include "ShutdownComputerDlg.h"

#ifdef _DEBUG
#define new DEBUG_NEW
#undef THIS_FILE
static char THIS_FILE[] = __FILE__;
#endif

/////////////////////////////////////////////////////////////////////////////
// CShutdownComputerApp

BEGIN_MESSAGE_MAP(CShutdownComputerApp, CWinApp)
    //{{AFX_MSG_MAP(CShutdownComputerApp)
        // NOTE - the ClassWizard will add and remove mapping macros here.
        //    DO NOT EDIT what you see in these blocks of generated code!
    //}}AFX_MSG
    ON_COMMAND(ID_HELP, CWinApp::OnHelp)
END_MESSAGE_MAP()

/////////////////////////////////////////////////////////////////////////////
// CShutdownComputerApp construction

CShutdownComputerApp::CShutdownComputerApp()
{
    // TODO: add construction code here,
    // Place all significant initialization in InitInstance
}

/////////////////////////////////////////////////////////////////////////////
// The one and only CShutdownComputerApp object

CShutdownComputerApp theApp;

/////////////////////////////////////////////////////////////////////////////
// CShutdownComputerApp initialization

BOOL CShutdownComputerApp::InitInstance()
{
    AfxEnableControlContainer();

    // Standard initialization
    // If you are not using these features and wish to reduce the size
    //  of your final executable, you should remove from the following
    //  the specific initialization routines you do not need.

#ifdef _AFXDLL
    Enable3dControls();            // Call this when using MFC in a shared DLL
#else
    Enable3dControlsStatic();    // Call this when linking to MFC statically
#endif

    CShutdownComputerDlg dlg;
    m_pMainWnd = &dlg;
    int nResponse = dlg.DoModal();
    if (nResponse == IDOK)
    {
        // TODO: Place code here to handle when the dialog is
        //  dismissed with OK
    }
    else if (nResponse == IDCANCEL)
    {
        // TODO: Place code here to handle when the dialog is
        //  dismissed with Cancel
    }

    // Since the dialog has been closed, return FALSE so that we exit the
    //  application, rather than start the application's message pump.
    return FALSE;
}
			
...
展开> <收缩

下载源码到电脑,阅读使用更方便

1 积分

快速下载
还剩0行未阅读,继续阅读
免费下载源码
Sponsored links

源码文件列表

温馨提示: 点击源码文件名可预览文件内容哦 ^_^
...
名称 大小 修改日期
/ShutdownComputer/ 0 Bytes 2009-06-07 23:36:32
/ShutdownComputer/resource.h 969 Bytes 2009-05-08 14:04:44
/ShutdownComputer/Shutdown.cpp 1.52 KB 2009-06-07 23:33:40
/ShutdownComputer/Shutdown.h 203 Bytes 2009-05-08 07:51:02
/ShutdownComputer/ShutdownComputer.cpp 2.15 KB 2009-05-07 20:14:56
/ShutdownComputer/ShutdownComputer.h 1.40 KB 2009-05-07 20:14:56
/ShutdownComputer/ShutdownComputer.rc 5.58 KB 2009-05-08 14:07:34
/ShutdownComputer/ShutdownComputer.sln 897 Bytes 2009-06-07 23:26:14
/ShutdownComputer/ShutdownComputer.suo 10.50 KB 2009-06-07 23:35:26
/ShutdownComputer/ShutdownComputer.vcproj 8.09 KB 2009-06-07 23:26:12
/ShutdownComputer/ShutdownComputerDlg.cpp 5.58 KB 2009-06-07 23:30:38
/ShutdownComputer/ShutdownComputerDlg.h 1.70 KB 2009-06-07 23:29:44
/ShutdownComputer/StdAfx.cpp 218 Bytes 2009-05-07 20:14:56
/ShutdownComputer/StdAfx.h 1.07 KB 2009-05-07 20:57:54
/ShutdownComputer/Debug/ 0 Bytes 2009-06-07 23:35:38
/ShutdownComputer/Release/ 0 Bytes 2009-06-07 23:35:32
/ShutdownComputer/res/ 0 Bytes 2009-05-08 14:04:26
/ShutdownComputer/res/bitmap1.bmp 1.24 KB 2009-05-08 11:19:52
/ShutdownComputer/res/lock.ico 51.44 KB 2009-05-08 14:04:26
/ShutdownComputer/res/me1.bmp 334.74 KB 2009-05-08 11:21:56
/ShutdownComputer/res/ShutdownComputer.ico 1.05 KB 2009-05-07 20:14:56
/ShutdownComputer/res/ShutdownComputer.rc2 408 Bytes 2009-05-07 20:14:56
Sponsored links
正在加载中……

Switch to the English version?

Yes
SourceCodeSky 英文版
No
SourceCodeSky 中文版

完善个人资料,获价值¥30元积分奖励!