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

  • 大小: 4.27MB
    文件類型: .rar
    金幣: 2
    下載: 0 次
    發布日期: 2023-10-28
  • 語言: C/C++
  • 標簽:

資源簡介

簡單的基于MFC的圖書管理系統,簡單的連接數據庫,對于MFC初學者來說,是一項寶貴的編程學習資料。

資源截圖

代碼片段和文件信息

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

#include?“stdafx.h“
#include?“Book.h“

#include?“MainFrm.h“
#include?“BookDoc.h“
#include?“BookView.h“

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

/////////////////////////////////////////////////////////////////////////////
//?CBookApp

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

/////////////////////////////////////////////////////////////////////////////
//?CBookApp?construction

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

/////////////////////////////////////////////////////////////////////////////
//?The?one?and?only?CBookApp?object

CBookApp?theApp;

/////////////////////////////////////////////////////////////////////////////
//?CBookApp?initialization

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

//?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(CBookDoc)
RUNTIME_CLASS(CMainframe)???????//?main?SDI?frame?window
RUNTIME_CLASS(CBookView));
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->ShowWindow(SW_SHOW);
m_pMainWnd->UpdateWindow();

return?TRUE;
}


/////////////////////////

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

?????文件??????44368??2012-05-17?23:21??Book\Book.aps

?????文件???????2673??2012-05-19?23:17??Book\Book.clw

?????文件???????4173??2012-05-17?22:57??Book\Book.cpp

?????文件???????4672??2012-05-19?23:21??Book\Book.dsp

?????文件????????531??2012-05-17?22:57??Book\Book.dsw

?????文件???????1334??2012-05-17?22:57??Book\Book.h

?????文件?????140288??2012-05-19?23:21??Book\Book.ncb

?????文件??????50688??2012-05-19?23:21??Book\Book.opt

?????文件???????1653??2012-05-19?23:05??Book\Book.plg

?????文件??????12246??2012-05-17?23:21??Book\Book.rc

?????文件???????1702??2012-05-17?22:57??Book\BookDoc.cpp

?????文件???????1453??2012-05-17?22:57??Book\BookDoc.h

?????文件???????2519??2012-05-17?22:57??Book\BookView.cpp

?????文件???????1859??2012-05-17?22:57??Book\BookView.h

?????文件?????143360??2012-05-18?23:26??Book\book_db.mdb

?????文件????3695616??2012-05-19?23:05??Book\Debug\Book.bsc

?????文件?????131133??2012-05-19?21:29??Book\Debug\Book.exe

?????文件?????357656??2012-05-19?21:29??Book\Debug\Book.ilk

?????文件??????22890??2012-05-19?21:29??Book\Debug\Book.obj

?????文件????9540656??2012-05-19?21:29??Book\Debug\Book.pch

?????文件?????615424??2012-05-19?21:29??Book\Debug\Book.pdb

?????文件???????7512??2012-05-17?23:37??Book\Debug\Book.res

?????文件??????????0??2012-05-19?21:29??Book\Debug\Book.sbr

?????文件??????14669??2012-05-19?21:29??Book\Debug\BookDoc.obj

?????文件??????????0??2012-05-19?21:29??Book\Debug\BookDoc.sbr

?????文件??????19565??2012-05-19?21:29??Book\Debug\BookView.obj

?????文件??????????0??2012-05-19?21:29??Book\Debug\BookView.sbr

?????文件??????????0??2012-05-19?23:05??Book\Debug\Dlg_login.sbr

?????文件??????26165??2012-05-19?21:29??Book\Debug\MainFrm.obj

?????文件??????????0??2012-05-19?21:29??Book\Debug\MainFrm.sbr

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

評論

共有 條評論