-
大小: 945KB文件類型: .rar金幣: 2下載: 0 次發布日期: 2021-05-29
- 語言: C/C++
- 標簽:
資源簡介
界面很簡潔,功能還好。。。很實用(我做課設用的)

代碼片段和文件信息
//?HomeRes.cpp?:?Defines?the?class?behaviors?for?the?application.
//
#include?“stdafx.h“
#include?“HomeRes.h“
#include?“HomeResDlg.h“
#ifdef?_DEBUG
#define?new?DEBUG_NEW
#undef?THIS_FILE
static?char?THIS_FILE[]?=?__FILE__;
#endif
/////////////////////////////////////////////////////////////////////////////
//?CHomeResApp
BEGIN_MESSAGE_MAP(CHomeResApp?CWinApp)
//{{AFX_MSG_MAP(CHomeResApp)
//?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()
/////////////////////////////////////////////////////////////////////////////
//?CHomeResApp?construction
CHomeResApp::CHomeResApp()
{
//?TODO:?add?construction?code?here
//?Place?all?significant?initialization?in?InitInstance
}
/////////////////////////////////////////////////////////////////////////////
//?The?one?and?only?CHomeResApp?object
CHomeResApp?theApp;
/////////////////////////////////////////////////////////////////////////////
//?CHomeResApp?initialization
BOOL?CHomeResApp::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
CHomeResDlg?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;
}
?屬性????????????大小?????日期????時間???名稱
-----------?---------??----------?-----??----
?????文件?????270336??2010-01-15?18:54??家庭收支管理\HomeRes\Home.mdb
?????文件???????2231??2010-01-15?18:54??家庭收支管理\HomeRes\HomeRes.clw
?????文件???????2077??2008-08-12?10:02??家庭收支管理\HomeRes\HomeRes.cpp
?????文件???????4178??2008-08-12?10:02??家庭收支管理\HomeRes\HomeRes.dsp
?????文件????????537??2008-08-12?10:02??家庭收支管理\HomeRes\HomeRes.dsw
?????文件???????1335??2008-08-12?10:02??家庭收支管理\HomeRes\HomeRes.h
?????文件?????320512??2010-01-15?18:55??家庭收支管理\HomeRes\HomeRes.ncb
?????文件????????697??2010-01-15?18:53??家庭收支管理\HomeRes\HomeRes.plg
?????文件???????3597??2008-08-12?10:02??家庭收支管理\HomeRes\ReadMe.txt
?????文件????????209??2008-08-12?10:02??家庭收支管理\HomeRes\StdAfx.cpp
?????文件???????1161??2008-08-12?10:02??家庭收支管理\HomeRes\StdAfx.h
?????文件??????90619??2007-06-01?08:00??家庭收支管理\HomeRes\msado15.tlh
?????文件??????76614??2007-06-01?08:00??家庭收支管理\HomeRes\msado15.tli
?????文件???????1885??2002-01-26?10:21??家庭收支管理\HomeRes\HomeResDlg.h
?????文件???????1421??2002-01-26?10:22??家庭收支管理\HomeRes\resource.h
?????文件????????128??2010-01-15?18:54??家庭收支管理\HomeRes\Home.ldb
?????文件??????37876??2010-01-15?18:53??家庭收支管理\HomeRes\HomeRes.aps
?????文件???????7379??2010-01-15?18:53??家庭收支管理\HomeRes\HomeRes.rc
?????文件??????15927??2010-01-15?18:54??家庭收支管理\HomeRes\HomeResDlg.cpp
?????文件??????50688??2010-01-15?18:55??家庭收支管理\HomeRes\HomeRes.opt
?????文件???????3616??2010-01-15?18:53??家庭收支管理\HomeRes\Debug\HomeRes.res
?????文件?????552960??2010-01-15?18:52??家庭收支管理\HomeRes\Debug\vc60.pdb
?????文件????1762753??2009-11-29?13:30??家庭收支管理\HomeRes\Debug\StdAfx.sbr
?????文件??????90655??2001-07-13?09:30??家庭收支管理\HomeRes\Debug\msado15.tlh
?????文件??????76653??2001-07-13?09:30??家庭收支管理\HomeRes\Debug\msado15.tli
?????文件?????133336??2009-11-29?13:30??家庭收支管理\HomeRes\Debug\StdAfx.obj
?????文件???????7333??2009-11-29?13:30??家庭收支管理\HomeRes\Debug\HomeRes.sbr
?????文件??????17860??2010-01-15?18:52??家庭收支管理\HomeRes\Debug\HomeResDlg.sbr
?????文件??????17308??2009-11-29?13:30??家庭收支管理\HomeRes\Debug\HomeRes.obj
?????文件?????640000??2010-01-15?18:53??家庭收支管理\HomeRes\Debug\HomeRes.pdb
............此處省略11個文件信息
評論
共有 條評論