-
大小: 422KB文件類型: .rar金幣: 2下載: 0 次發(fā)布日期: 2021-05-09
- 語言: 其他
- 標(biāo)簽:
資源簡介
做航空訂票系統(tǒng)所用到的一切,包括文檔。。。。。。。。。航空訂票系統(tǒng)航空訂票系統(tǒng)航空訂票系統(tǒng)航空訂票系統(tǒng)航空訂票系統(tǒng)航空訂票系統(tǒng)

代碼片段和文件信息
//?MainFrm.cpp?:?implementation?of?the?CMainframe?class
//
#include?“stdafx.h“
#include?“航班與訂票管理系統(tǒng).h“
#include?“MainFrm.h“
#include?“Splash.h“
#ifdef?_DEBUG
#define?new?DEBUG_NEW
#undef?THIS_FILE
static?char?THIS_FILE[]?=?__FILE__;
#endif
/////////////////////////////////////////////////////////////////////////////
//?CMainframe
IMPLEMENT_DYNCREATE(CMainframe?CframeWnd)
BEGIN_MESSAGE_MAP(CMainframe?CframeWnd)
//{{AFX_MSG_MAP(CMainframe)
//?NOTE?-?the?ClassWizard?will?add?and?remove?mapping?macros?here.
//????DO?NOT?EDIT?what?you?see?in?these?blocks?of?generated?code?!
ON_WM_CREATE()
//}}AFX_MSG_MAP
END_MESSAGE_MAP()
static?UINT?indicators[]?=
{
ID_SEPARATOR???????????//?status?line?indicator
ID_INDICATOR_CAPS
ID_INDICATOR_NUM
ID_INDICATOR_SCRL
};
/////////////////////////////////////////////////////////////////////////////
//?CMainframe?construction/destruction
CMainframe::CMainframe()
{
//?TODO:?add?member?initialization?code?here
}
CMainframe::~CMainframe()
{
}
int?CMainframe::OnCreate(LPCREATESTRUCT?lpCreateStruct)
{
if?(CframeWnd::OnCreate(lpCreateStruct)?==?-1)
return?-1;
if?(!m_wndToolBar.CreateEx(this?TBstyle_FLAT?WS_CHILD?|?WS_VISIBLE?|?CBRS_TOP
|?CBRS_GRIPPER?|?CBRS_TOOLTIPS?|?CBRS_FLYBY?|?CBRS_SIZE_DYNAMIC)?||
!m_wndToolBar.LoadToolBar(IDR_MAINframe))
{
TRACE0(“Failed?to?create?toolbar\n“);
return?-1;??????//?fail?to?create
}
if?(!m_wndStatusBar.Create(this)?||
!m_wndStatusBar.SetIndicators(indicators
??sizeof(indicators)/sizeof(UINT)))
{
TRACE0(“Failed?to?create?status?bar\n“);
return?-1;??????//?fail?to?create
}
//?TODO:?Delete?these?three?lines?if?you?don‘t?want?the?toolbar?to
//??be?dockable
m_wndToolBar.EnableDocking(CBRS_ALIGN_ANY);
EnableDocking(CBRS_ALIGN_ANY);
DockControlBar(&m_wndToolBar);
//?CG:?The?following?line?was?added?by?the?Splash?Screen?component.
CSplashWnd::ShowSplashScreen(this);
return?0;
}
BOOL?CMainframe::PreCreateWindow(CREATESTRUCT&?cs)
{
if(?!CframeWnd::PreCreateWindow(cs)?)
return?FALSE;
//?TODO:?Modify?the?Window?class?or?styles?here?by?modifying
//??the?CREATESTRUCT?cs
return?TRUE;
}
/////////////////////////////////////////////////////////////////////////////
//?CMainframe?diagnostics
#ifdef?_DEBUG
void?CMainframe::AssertValid()?const
{
CframeWnd::AssertValid();
}
void?CMainframe::Dump(CDumpContext&?dc)?const
{
CframeWnd::Dump(dc);
}
#endif?//_DEBUG
/////////////////////////////////////////////////////////////////////////////
//?CMainframe?message?handlers
?屬性????????????大小?????日期????時(shí)間???名稱
-----------?---------??----------?-----??----
?????文件??????40960??2007-11-18?09:01??1061301205袁娜\報(bào)告\任務(wù)書?航班與訂票管理系統(tǒng).DOC
?????文件????1120256??2008-01-11?11:28??1061301205袁娜\報(bào)告\航班與訂票管理系統(tǒng).doc
?????文件??????35328??2008-01-11?10:22??1061301205袁娜\報(bào)告\評(píng)語(格式).doc
?????文件??????20127??2008-01-11?20:50??1061301205袁娜\軟件\航班與訂票管理系統(tǒng)\Debug\MainFrm.obj
?????文件??????10165??2008-01-11?20:50??1061301205袁娜\軟件\航班與訂票管理系統(tǒng)\Debug\MyDlg1.obj
?????文件??????10165??2008-01-11?20:50??1061301205袁娜\軟件\航班與訂票管理系統(tǒng)\Debug\MyDlg2.obj
?????文件??????21606??2008-01-11?20:50??1061301205袁娜\軟件\航班與訂票管理系統(tǒng)\Debug\Splash.obj
?????文件?????107382??2008-01-11?20:50??1061301205袁娜\軟件\航班與訂票管理系統(tǒng)\Debug\StdAfx.obj
?????文件?????372736??2008-01-11?21:08??1061301205袁娜\軟件\航班與訂票管理系統(tǒng)\Debug\vc60.pdb
?????文件?????290902??2008-01-11?21:08??1061301205袁娜\軟件\航班與訂票管理系統(tǒng)\Debug\航班與訂票管理系統(tǒng).exe
?????文件??????23925??2008-01-11?20:50??1061301205袁娜\軟件\航班與訂票管理系統(tǒng)\Debug\航班與訂票管理系統(tǒng).obj
?????文件?????484352??2008-01-11?21:08??1061301205袁娜\軟件\航班與訂票管理系統(tǒng)\Debug\航班與訂票管理系統(tǒng).pdb
?????文件?????140436??2008-01-11?21:08??1061301205袁娜\軟件\航班與訂票管理系統(tǒng)\Debug\航班與訂票管理系統(tǒng).res
?????文件??????18860??2008-01-11?20:50??1061301205袁娜\軟件\航班與訂票管理系統(tǒng)\Debug\航班與訂票管理系統(tǒng)Doc.obj
?????文件??????26041??2008-01-11?20:50??1061301205袁娜\軟件\航班與訂票管理系統(tǒng)\Debug\航班與訂票管理系統(tǒng)Set.obj
?????文件??????26526??2008-01-11?21:08??1061301205袁娜\軟件\航班與訂票管理系統(tǒng)\Debug\航班與訂票管理系統(tǒng)View.obj
?????文件???????2647??2008-01-11?20:26??1061301205袁娜\軟件\航班與訂票管理系統(tǒng)\MainFrm.cpp
?????文件???????1581??2008-01-11?20:15??1061301205袁娜\軟件\航班與訂票管理系統(tǒng)\MainFrm.h
?????文件????????997??2008-01-11?20:37??1061301205袁娜\軟件\航班與訂票管理系統(tǒng)\MyDlg1.cpp
?????文件???????1219??2008-01-11?20:37??1061301205袁娜\軟件\航班與訂票管理系統(tǒng)\MyDlg1.h
?????文件????????997??2008-01-11?20:38??1061301205袁娜\軟件\航班與訂票管理系統(tǒng)\MyDlg2.cpp
?????文件???????1219??2008-01-11?20:38??1061301205袁娜\軟件\航班與訂票管理系統(tǒng)\MyDlg2.h
?????文件???????4380??2008-01-11?20:15??1061301205袁娜\軟件\航班與訂票管理系統(tǒng)\ReadMe.txt
?????文件???????1198??2008-01-11?20:15??1061301205袁娜\軟件\航班與訂票管理系統(tǒng)\res\Toolbar.bmp
?????文件???????1078??2008-01-11?20:15??1061301205袁娜\軟件\航班與訂票管理系統(tǒng)\res\航班與訂票管理系統(tǒng).ico
?????文件????????410??2008-01-11?20:15??1061301205袁娜\軟件\航班與訂票管理系統(tǒng)\res\航班與訂票管理系統(tǒng).rc2
?????文件???????1078??2008-01-11?20:15??1061301205袁娜\軟件\航班與訂票管理系統(tǒng)\res\航班與訂票管理系統(tǒng)Doc.ico
?????文件???????1520??2008-01-11?20:50??1061301205袁娜\軟件\航班與訂票管理系統(tǒng)\Resource.h
?????文件???????3201??2008-01-11?20:26??1061301205袁娜\軟件\航班與訂票管理系統(tǒng)\Splash.cpp
?????文件???????1159??2008-01-11?20:26??1061301205袁娜\軟件\航班與訂票管理系統(tǒng)\Splash.h
............此處省略29個(gè)文件信息
評(píng)論
共有 條評(píng)論