資源簡介
記賬本小程序 代碼有點亂 請見諒 菜鳥作品

代碼片段和文件信息
//?AccountBook.cpp?:?Defines?the?class?behaviors?for?the?application.
//
#include?“stdafx.h“
#include?“AccountBook.h“
#include?“AccountBookDlg.h“
#include?“LoginDlg.h“
#include?“FindUserDlg.h“
#ifdef?_DEBUG
#define?new?DEBUG_NEW
#undef?THIS_FILE
static?char?THIS_FILE[]?=?__FILE__;
#endif
/////////////////////////////////////////////////////////////////////////////
//?CAccountBookApp
BEGIN_MESSAGE_MAP(CAccountBookApp?CWinApp)
//{{AFX_MSG_MAP(CAccountBookApp)
ON_COMMAND(IDM_EXIT?OnExit)
ON_COMMAND(IDM_CANCEL?OnCancel)
ON_COMMAND(IDM_ALTERPASS?OnAlterpass)
//}}AFX_MSG_MAP
ON_COMMAND(ID_HELP?CWinApp::onhelp)
END_MESSAGE_MAP()
/////////////////////////////////////////////////////////////////////////////
//?CAccountBookApp?construction
CAccountBookApp::CAccountBookApp()
{
//?TODO:?add?construction?code?here
//?Place?all?significant?initialization?in?InitInstance
}
/////////////////////////////////////////////////////////////////////////////
//?The?one?and?only?CAccountBookApp?object
CAccountBookApp?theApp;
/////////////////////////////////////////////////////////////////////////////
//?CAccountBookApp?initialization
BOOL?CAccountBookApp::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
CLoginDlg?dlg_Login;
if?(dlg_Login.DoModal()?!=?IDOK)
return?false;
CAccountBookDlg?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;
}
void?CAccountBookApp::OnExit()?//?退出
{
//?TODO:?Add?your?command?handler?code?here
PostQuitMessage(0);
}
void?CAccountBookApp::OnCancel()?//?注銷
{
//?TODO:?Add?your?command?handler?code?here
AfxMessageBox(“正在建設!“);
}
void?CAccountBookApp::OnAlterpass()?//?修改密碼
{
//?TODO:?Add?your?command?handler?code?here
AfxMessageBox(“正在建設!“);
}
?屬性????????????大小?????日期????時間???名稱
-----------?---------??----------?-----??----
?????文件?????499712??2012-07-25?14:11??AccountBook【記賬本】\AccountBook【記賬本】\Account.mdb
?????文件??????29496??2012-07-25?14:09??AccountBook【記賬本】\AccountBook【記賬本】\AccountBook.aps
?????文件???????7377??2012-07-25?14:11??AccountBook【記賬本】\AccountBook【記賬本】\AccountBook.clw
?????文件???????2606??2012-07-24?13:33??AccountBook【記賬本】\AccountBook【記賬本】\AccountBook.cpp
?????文件???????5615??2012-07-24?11:44??AccountBook【記賬本】\AccountBook【記賬本】\AccountBook.dsp
?????文件????????547??2012-05-17?18:25??AccountBook【記賬本】\AccountBook【記賬本】\AccountBook.dsw
?????文件???????1319??2012-07-24?11:46??AccountBook【記賬本】\AccountBook【記賬本】\AccountBook.h
?????文件????????198??2012-07-24?13:19??AccountBook【記賬本】\AccountBook【記賬本】\AccountBook.ini
?????文件?????410624??2012-07-25?14:11??AccountBook【記賬本】\AccountBook【記賬本】\AccountBook.ncb
?????文件??????56832??2012-07-25?14:11??AccountBook【記賬本】\AccountBook【記賬本】\AccountBook.opt
?????文件????????256??2012-07-25?14:09??AccountBook【記賬本】\AccountBook【記賬本】\AccountBook.plg
?????文件??????14962??2012-07-24?18:11??AccountBook【記賬本】\AccountBook【記賬本】\AccountBook.rc
?????文件??????21324??2012-07-25?09:54??AccountBook【記賬本】\AccountBook【記賬本】\AccountBookDlg.cpp
?????文件???????2838??2012-07-24?13:32??AccountBook【記賬本】\AccountBook【記賬本】\AccountBookDlg.h
?????文件???????1550??2012-05-24?09:57??AccountBook【記賬本】\AccountBook【記賬本】\AccountBookSet.cpp
?????文件???????1418??2012-05-24?09:54??AccountBook【記賬本】\AccountBook【記賬本】\AccountBookSet.h
?????文件???????5631??2012-07-19?15:08??AccountBook【記賬本】\AccountBook【記賬本】\AddType.cpp
?????文件???????1490??2012-07-19?13:21??AccountBook【記賬本】\AccountBook【記賬本】\AddType.h
?????文件????3351552??2012-07-25?10:15??AccountBook【記賬本】\AccountBook【記賬本】\Debug\AccountBook.bsc
?????文件?????172127??2012-07-25?10:15??AccountBook【記賬本】\AccountBook【記賬本】\Debug\AccountBook.exe
?????文件?????442376??2012-07-25?10:15??AccountBook【記賬本】\AccountBook【記賬本】\Debug\AccountBook.ilk
?????文件??????22536??2012-07-25?10:15??AccountBook【記賬本】\AccountBook【記賬本】\Debug\AccountBook.obj
?????文件????6890004??2012-07-25?10:15??AccountBook【記賬本】\AccountBook【記賬本】\Debug\AccountBook.pch
?????文件?????451584??2012-07-25?10:15??AccountBook【記賬本】\AccountBook【記賬本】\Debug\AccountBook.pdb
?????文件???????6408??2012-07-25?10:14??AccountBook【記賬本】\AccountBook【記賬本】\Debug\AccountBook.res
?????文件??????????0??2012-07-25?10:15??AccountBook【記賬本】\AccountBook【記賬本】\Debug\AccountBook.sbr
?????文件??????99949??2012-07-25?10:15??AccountBook【記賬本】\AccountBook【記賬本】\Debug\AccountBookDlg.obj
?????文件??????????0??2012-07-25?10:15??AccountBook【記賬本】\AccountBook【記賬本】\Debug\AccountBookDlg.sbr
?????文件??????28434??2012-07-25?10:15??AccountBook【記賬本】\AccountBook【記賬本】\Debug\AddType.obj
?????文件??????????0??2012-07-25?10:15??AccountBook【記賬本】\AccountBook【記賬本】\Debug\AddType.sbr
............此處省略67個文件信息
評論
共有 條評論