91av视频/亚洲h视频/操亚洲美女/外国一级黄色毛片 - 国产三级三级三级三级

資源簡介

這是我自己寫的一個小程序,里面有兩個電梯提供調(diào)度,簡單地實現(xiàn)了電梯調(diào)度的功能,對VC的初學者有一定的幫助!

資源截圖

代碼片段和文件信息

//?Myelevator.cpp?:?Defines?the?class?behaviors?for?the?application.
//

#include?“stdafx.h“
#include?“Myelevator.h“
#include?“MyelevatorDlg.h“

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

/////////////////////////////////////////////////////////////////////////////
//?CMyelevatorApp

BEGIN_MESSAGE_MAP(CMyelevatorApp?CWinApp)
//{{AFX_MSG_MAP(CMyelevatorApp)
//?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()

/////////////////////////////////////////////////////////////////////////////
//?CMyelevatorApp?construction

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

/////////////////////////////////////////////////////////////////////////////
//?The?one?and?only?CMyelevatorApp?object

CMyelevatorApp?theApp;

/////////////////////////////////////////////////////////////////////////////
//?CMyelevatorApp?initialization

BOOL?CMyelevatorApp::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

CMyelevatorDlg?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;
}

?屬性????????????大小?????日期????時間???名稱
-----------?---------??----------?-----??----

?????文件?????114757??2009-11-10?19:29??Myelevator\Debug\Myelevator.exe

?????文件?????239524??2009-11-10?19:29??Myelevator\Debug\Myelevator.ilk

?????文件??????14221??2009-11-10?16:39??Myelevator\Debug\Myelevator.obj

?????文件????5497884??2009-11-06?21:09??Myelevator\Debug\Myelevator.pch

?????文件?????386048??2009-11-10?19:29??Myelevator\Debug\Myelevator.pdb

?????文件???????3004??2009-11-10?19:29??Myelevator\Debug\Myelevator.res

?????文件??????36497??2009-11-10?19:28??Myelevator\Debug\MyelevatorDlg.obj

?????文件?????105605??2009-11-06?21:09??Myelevator\Debug\StdAfx.obj

?????文件?????214016??2009-11-10?19:29??Myelevator\Debug\vc60.idb

?????文件?????380928??2009-11-10?19:28??Myelevator\Debug\vc60.pdb

?????文件??????36284??2009-11-10?19:31??Myelevator\Myelevator.aps

?????文件???????1632??2009-11-10?19:32??Myelevator\Myelevator.clw

?????文件???????2119??2009-11-06?20:37??Myelevator\Myelevator.cpp

?????文件???????4231??2009-11-06?20:37??Myelevator\Myelevator.dsp

?????文件????????545??2009-11-06?20:37??Myelevator\Myelevator.dsw

?????文件???????1368??2009-11-06?20:37??Myelevator\Myelevator.h

?????文件??????66560??2009-11-10?19:32??Myelevator\Myelevator.ncb

?????文件?????209920??2009-11-10?19:32??Myelevator\Myelevator.opt

?????文件????????725??2009-11-10?19:29??Myelevator\Myelevator.plg

?????文件???????5838??2009-11-10?19:31??Myelevator\Myelevator.rc

?????文件??????22821??2009-11-10?19:28??Myelevator\MyelevatorDlg.cpp

?????文件???????2704??2009-11-10?17:29??Myelevator\MyelevatorDlg.h

?????文件???????3651??2009-11-06?20:37??Myelevator\ReadMe.txt

?????文件???????1078??2009-11-06?20:37??Myelevator\res\Myelevator.ico

?????文件????????402??2009-11-06?20:37??Myelevator\res\Myelevator.rc2

?????文件????????964??2009-11-10?11:39??Myelevator\resource.h

?????文件????????212??2009-11-06?20:37??Myelevator\StdAfx.cpp

?????文件???????1054??2009-11-06?20:37??Myelevator\StdAfx.h

?????目錄??????????0??2009-11-10?19:29??Myelevator\Debug

?????目錄??????????0??2009-11-10?16:58??Myelevator\res

............此處省略4個文件信息

評論

共有 條評論