-
大小: 1.79M文件類型: .rar金幣: 1下載: 0 次發(fā)布日期: 2024-04-17
- 語言: C/C++
- 標(biāo)簽: 管理系統(tǒng)??MFC??系統(tǒng)??初學(xué)??
資源簡(jiǎn)介
簡(jiǎn)單員工管理系統(tǒng)(適合初學(xué)MFC)
代碼片段和文件信息
//?First32.cpp?:?Defines?the?class?behaviors?for?the?application.
//
#include?“stdafx.h“
#include?“First32.h“
#include?“First32Dlg.h“
#ifdef?_DEBUG
#define?new?DEBUG_NEW
#undef?THIS_FILE
static?char?THIS_FILE[]?=?__FILE__;
#endif
/////////////////////////////////////////////////////////////////////////////
//?CFirst32App
BEGIN_MESSAGE_MAP(CFirst32App?CWinApp)
//{{AFX_MSG_MAP(CFirst32App)
//?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()
/////////////////////////////////////////////////////////////////////////////
//?CFirst32App?construction
CFirst32App::CFirst32App()
{
//?TODO:?add?construction?code?here
//?Place?all?significant?initialization?in?InitInstance
}
/////////////////////////////////////////////////////////////////////////////
//?The?one?and?only?CFirst32App?object
CFirst32App?theApp;
/////////////////////////////////////////////////////////////////////////////
//?CFirst32App?initialization
BOOL?CFirst32App::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
CFirst32Dlg?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;
}
?屬性????????????大小?????日期????時(shí)間???名稱
-----------?---------??----------?-----??----
?????文件?????110659??2021-01-07?23:02??First32\Debug\First32.exe
?????文件?????192168??2021-01-07?23:02??First32\Debug\First32.ilk
?????文件??????13090??2021-01-07?23:02??First32\Debug\First32.obj
?????文件????5638816??2021-01-07?22:34??First32\Debug\First32.pch
?????文件?????353280??2021-01-07?23:02??First32\Debug\First32.pdb
?????文件???????2796??2021-01-07?22:41??First32\Debug\First32.res
?????文件??????32021??2021-01-07?23:02??First32\Debug\First32Dlg.obj
?????文件?????106055??2021-01-07?22:34??First32\Debug\StdAfx.obj
?????文件?????205824??2021-01-09?15:26??First32\Debug\vc60.idb
?????文件?????364544??2021-01-07?23:02??First32\Debug\vc60.pdb
?????文件??????35880??2021-01-07?22:41??First32\First32.aps
?????文件???????1388??2021-01-11?22:39??First32\First32.clw
?????文件???????2077??2021-01-07?22:15??First32\First32.cpp
?????文件???????4177??2021-01-07?22:15??First32\First32.dsp
?????文件????????522??2021-01-07?22:15??First32\First32.dsw
?????文件???????1335??2021-01-07?22:15??First32\First32.h
?????文件??????58368??2021-01-11?22:39??First32\First32.ncb
?????文件??????53760??2021-01-11?22:39??First32\First32.opt
?????文件????????248??2021-01-09?15:25??First32\First32.plg
?????文件???????5704??2021-01-07?22:41??First32\First32.rc
?????文件???????7130??2021-01-07?22:54??First32\First32Dlg.cpp
?????文件???????1579??2021-01-07?22:54??First32\First32Dlg.h
?????文件???????3597??2021-01-07?22:15??First32\ReadMe.txt
?????文件???????1078??2021-01-07?22:15??First32\res\First32.ico
?????文件????????399??2021-01-07?22:15??First32\res\First32.rc2
?????文件????????961??2021-01-07?22:41??First32\resource.h
?????文件????????209??2021-01-07?22:15??First32\StdAfx.cpp
?????文件???????1054??2021-01-07?22:15??First32\StdAfx.h
?????目錄??????????0??2021-01-11?22:40??First32\Debug
?????目錄??????????0??2021-01-11?22:40??First32\res
............此處省略4個(gè)文件信息
評(píng)論
共有 條評(píng)論