資源簡介
MFC銀行管理系統 c++
吾輩也是從網上找來的

代碼片段和文件信息
//?bank.cpp?:?Defines?the?class?behaviors?for?the?application.
//
#include?“stdafx.h“
#include?“bank.h“
#include?“MainFrm.h“
#include?“bankDoc.h“
#include?“bankView.h“
#include?“Oplogin.h“
#include?“Toplistview.h“
#ifdef?_DEBUG
#define?new?DEBUG_NEW
#undef?THIS_FILE
static?char?THIS_FILE[]?=?__FILE__;
#endif
extern?CBankApp?theApp;
/////////////////////////////////////////////////////////////////////////////
//?CBankApp
BEGIN_MESSAGE_MAP(CBankApp?CWinApp)
//{{AFX_MSG_MAP(CBankApp)
ON_COMMAND(ID_APP_ABOUT?OnAppAbout)
//?NOTE?-?the?ClassWizard?will?add?and?remove?mapping?macros?here.
//????DO?NOT?EDIT?what?you?see?in?these?blocks?of?generated?code!
//}}AFX_MSG_MAP
//?Standard?file?based?document?commands
ON_COMMAND(ID_FILE_NEW?CWinApp::OnFileNew)
ON_COMMAND(ID_FILE_OPEN?CWinApp::OnFileOpen)
//?Standard?print?setup?command
ON_COMMAND(ID_FILE_PRINT_SETUP?CWinApp::OnFilePrintSetup)
END_MESSAGE_MAP()
/////////////////////////////////////////////////////////////////////////////
//?CBankApp?construction
CBankApp::CBankApp()
{
//?TODO:?add?construction?code?here
//?Place?all?significant?initialization?in?InitInstance
counter=0;
}
/////////////////////////////////////////////////////////////////////////////
//?The?one?and?only?CBankApp?object
CBankApp?theApp;
/////////////////////////////////////////////////////////////////////////////
//?CBankApp?initialization
BOOL?CBankApp::InitInstance()
{
AfxEnableControlContainer();
AfxOleInit();
//?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
//?Change?the?registry?key?under?which?our?settings?are?stored.
//?TODO:?You?should?modify?this?string?to?be?something?appropriate
//?such?as?the?name?of?your?company?or?organization.
SetRegistryKey(_T(“Local?AppWizard-Generated?Applications“));
LoadStdProfileSettings();??//?Load?standard?INI?file?options?(including?MRU)
//?Register?the?application‘s?document?templates.??Document?templates
//??serve?as?the?connection?between?documents?frame?windows?and?views.
CSingleDocTemplate*?pDocTemplate;
pDocTemplate?=?new?CSingleDocTemplate(
IDR_MAINframe
RUNTIME_CLASS(CBankDoc)
RUNTIME_CLASS(CMainframe)???????//?main?SDI?frame?window
RUNTIME_CLASS(CBankView));
AddDocTemplate(pDocTemplate);
//?Parse?command?line?for?standard?shell?commands?DDE?file?open
CCommandLineInfo?cmdInfo;
ParseCommandLine(cmdInfo);
//?Dispatch?commands?specified?on?the?command?line
if?(!ProcessShellCommand(cmdInfo))
return?FALSE;
//?The?one?and?only?window?has?been?initialized?so?show?and?update?it.
m_pMainWnd->
?屬性????????????大小?????日期????時間???名稱
-----------?---------??----------?-----??----
?????文件??????33500??2009-03-15?19:16??bank12\bank.aps
?????文件???????6046??2009-03-15?19:21??bank12\bank.clw
?????文件???????4966??2008-09-07?15:24??bank12\bank.cpp
?????文件???????5610??2008-09-07?19:17??bank12\bank.dsp
?????文件????????531??2008-09-03?14:44??bank12\bank.dsw
?????文件???????1629??2008-09-07?15:23??bank12\bank.h
?????文件????1328128??2009-03-15?19:21??bank12\bank.ncb
?????文件??????57856??2009-03-15?19:21??bank12\bank.opt
?????文件???????1325??2009-03-15?19:17??bank12\bank.plg
?????文件??????16442??2008-09-07?19:05??bank12\bank.rc
?????文件???????1702??2008-09-03?14:44??bank12\bankDoc.cpp
?????文件???????1453??2008-09-03?14:44??bank12\bankDoc.h
?????文件???????2746??2008-09-07?12:53??bank12\bankView.cpp
?????文件???????1864??2008-09-07?12:53??bank12\bankView.h
?????文件?????168033??2009-03-15?19:17??bank12\Debug\bank.exe
?????文件?????689992??2009-03-15?19:17??bank12\Debug\bank.ilk
?????文件??????57926??2008-09-07?15:24??bank12\Debug\bank.obj
?????文件????7767152??2008-09-04?13:38??bank12\Debug\bank.pch
?????文件?????803840??2009-03-15?19:17??bank12\Debug\bank.pdb
?????文件???????9712??2008-09-07?19:05??bank12\Debug\bank.res
?????文件??????14632??2008-09-04?16:19??bank12\Debug\bankDoc.obj
?????文件??????21066??2008-09-07?14:22??bank12\Debug\bankView.obj
?????文件??????17136??2008-09-07?12:31??bank12\Debug\Bottom.obj
?????文件??????38324??2008-09-04?19:44??bank12\Debug\ldialog.obj
?????文件??????34634??2008-09-07?19:09??bank12\Debug\Lefdlg.obj
?????文件??????22143??2008-09-07?14:22??bank12\Debug\MainFrm.obj
?????文件???????7257??2008-09-04?16:19??bank12\Debug\MasterData.obj
?????文件??????90723??2008-01-21?10:22??bank12\Debug\msado15.tlh
?????文件??????76666??2008-01-21?10:22??bank12\Debug\msado15.tli
?????文件??????38700??2008-09-07?18:28??bank12\Debug\Oplogin.obj
............此處省略46個文件信息
- 上一篇:C++寫的模擬ATM機程序
- 下一篇:醫院管理系統 C++
評論
共有 條評論