資源簡介
MFC 火車售票系統的模擬 簡單的例子學習MFC 源碼下載

代碼片段和文件信息
//?AdimOpreaterDlg.cpp?:?implementation?file
//
#include?“stdafx.h“
#include?“UnderGroundSystem.h“
#include?“AdimOpreaterDlg.h“
#include?“Road_Info_chnage_add.h“
#include?“RoadPoint.h“
#include?“TicketNum.h“
#include?“OpeatorInfo.h“
#ifdef?_DEBUG
#define?new?DEBUG_NEW
#undef?THIS_FILE
static?char?THIS_FILE[]?=?__FILE__;
#endif
/////////////////////////////////////////////////////////////////////////////
//?AdimOpreaterDlg?dialog
AdimOpreaterDlg::AdimOpreaterDlg(CWnd*?pParent?/*=NULL*/)
:?CDialog(AdimOpreaterDlg::IDD?pParent)
{
//{{AFX_DATA_INIT(AdimOpreaterDlg)
m_Change_Ticket_Num?=?0;
//}}AFX_DATA_INIT
}
void?AdimOpreaterDlg::DoDataExchange(CDataExchange*?pDX)
{
CDialog::DoDataExchange(pDX);
//{{AFX_DATA_MAP(AdimOpreaterDlg)
DDX_Control(pDX?IDC_AdimInfo_display?m_Infodisplaylist);
DDX_Text(pDX?IDC_Change_Ticket_Num?m_Change_Ticket_Num);
DDV_MinMaxInt(pDX?m_Change_Ticket_Num?0?50000);
//}}AFX_DATA_MAP
}
BEGIN_MESSAGE_MAP(AdimOpreaterDlg?CDialog)
//{{AFX_MSG_MAP(AdimOpreaterDlg)
ON_BN_CLICKED(IDC_Delete?On_Roadinfo_Delete)
ON_BN_CLICKED(IDC_Change?On_Roadinfo_Change)
ON_BN_CLICKED(IDC_AddInfo?On_Roadinfo_Add)
ON_BN_CLICKED(IDC_Display_ALL_Info?OnDisplay_Allinfo)
ON_LBN_SELCHANGE(IDC_AdimInfo_display?OnSelchangeAdimInfodisplay)
ON_BN_CLICKED(IDC_Cancel_choose?OnCancelchoose)
ON_BN_CLICKED(IDC_Search?OnAdim_RoadSearch)
ON_BN_CLICKED(IDC_Num_Save?OnTicket_NumSave)
ON_BN_CLICKED(IDC_UseInfo?OnOpeatorInfo)
//}}AFX_MSG_MAP
END_MESSAGE_MAP()
/////////////////////////////////////////////////////////////////////////////
//?AdimOpreaterDlg?message?handlers
BOOL?AdimOpreaterDlg::OnInitDialog()?
{
CDialog::OnInitDialog();
//?TODO:?Add?extra?initialization?here
//Init?IDC_COM_SearchStart
????
((CComboBox*)GetDlgItem(IDC_COM_SearchStart))->AddString(“黑龍江大學“);
((CComboBox*)GetDlgItem(IDC_COM_SearchStart))->AddString(“哈爾濱理工“);
((CComboBox*)GetDlgItem(IDC_COM_SearchStart))->AddString(“通達街“);
((CComboBox*)GetDlgItem(IDC_COM_SearchStart))->AddString(“松明街“);
((CComboBox*)GetDlgItem(IDC_COM_SearchStart))->AddString(“漢陽街“);
((CComboBox*)GetDlgItem(IDC_COM_SearchStart))->AddString(“西大直街“);
((CComboBox*)GetDlgItem(IDC_COM_SearchStart))->AddString(“東大直街“);
((CComboBox*)GetDlgItem(IDC_COM_SearchStart))->AddString(“阿什河街“);
((CComboBox*)GetDlgItem(IDC_COM_SearchStart))->AddString(“花園街“);
((CComboBox*)GetDlgItem(IDC_COM_SearchStart))->AddString(“寬成街“);
((CComboBox*)GetDlgItem(IDC_COM_SearchStart))->AddString(“太平大橋“);
((CComboBox*)GetDlgItem(IDC_COM_SearchStart))->AddString(“東直街“);
((CComboBox*)GetDlgItem(IDC_COM_SearchStart))->AddString(“宣化街“);
((CComboBox*)GetDlgItem(IDC_COM_SearchEnd))->AddString(“黑龍江大學“);
????((CComboBox*)GetDlgItem(IDC_COM_SearchEnd))->AddString(“哈爾濱理工“);
((CComboBox*)GetDlgItem(IDC_COM_SearchEnd))->AddString(“通達街“);
((CComboBox*)GetDlgItem(IDC_COM_SearchEnd))->AddString(“漢陽街“);
????((CComboBox*
?屬性????????????大小?????日期????時間???名稱
-----------?---------??----------?-----??----
?????文件??????12564??2011-06-09?16:19??UnderGroundSystem\AdimOpreaterDlg.cpp
?????文件???????1641??2011-06-09?16:13??UnderGroundSystem\AdimOpreaterDlg.h
?????文件???????1859??2011-05-26?22:06??UnderGroundSystem\Adim_Founction.cpp
?????文件???????1338??2011-05-12?20:01??UnderGroundSystem\Adim_Founction.h
?????文件??????48033??2011-06-09?16:19??UnderGroundSystem\Debug\AdimOpreaterDlg.obj
?????文件??????16724??2011-06-09?16:15??UnderGroundSystem\Debug\Adim_Founction.obj
????..A.SHR?????????8??2011-06-09?06:38??UnderGroundSystem\Debug\Desktop_.ini
?????文件??????10341??2011-06-09?16:17??UnderGroundSystem\Debug\OpeatorInfo.obj
?????文件??????30736??2011-06-09?16:19??UnderGroundSystem\Debug\Passenger_Function.obj
?????文件???????4196??2011-06-09?15:53??UnderGroundSystem\Debug\RoadPoint.obj
?????文件??????29539??2011-06-09?16:15??UnderGroundSystem\Debug\Road_Info_chnage_add.obj
?????文件?????105843??2011-06-09?15:53??UnderGroundSystem\Debug\StdAfx.obj
?????文件???????4211??2011-06-09?15:53??UnderGroundSystem\Debug\Ticket_Num.obj
?????文件?????290914??2011-06-09?16:20??UnderGroundSystem\Debug\UnderGroundSystem.exe
?????文件?????324724??2011-06-09?16:20??UnderGroundSystem\Debug\UnderGroundSystem.ilk
?????文件??????13590??2011-06-09?15:53??UnderGroundSystem\Debug\UnderGroundSystem.obj
?????文件????5501520??2011-06-09?15:53??UnderGroundSystem\Debug\UnderGroundSystem.pch
?????文件?????443392??2011-06-09?16:20??UnderGroundSystem\Debug\UnderGroundSystem.pdb
?????文件?????133800??2011-06-09?16:20??UnderGroundSystem\Debug\UnderGroundSystem.res
?????文件??????35300??2011-06-09?15:53??UnderGroundSystem\Debug\UnderGroundSystemDlg.obj
?????文件?????222208??2011-06-09?16:20??UnderGroundSystem\Debug\vc60.idb
?????文件?????364544??2011-06-09?16:19??UnderGroundSystem\Debug\vc60.pdb
????..A.SHR?????????8??2011-06-09?06:38??UnderGroundSystem\Desktop_.ini
?????文件???????1046??2011-06-09?16:05??UnderGroundSystem\OpeatorInfo.cpp
?????文件???????1263??2011-06-09?16:05??UnderGroundSystem\OpeatorInfo.h
?????文件???????8108??2011-06-09?16:19??UnderGroundSystem\Passenger_Function.cpp
?????文件???????1527??2011-05-26?18:13??UnderGroundSystem\Passenger_Function.h
?????文件???????3777??2011-05-12?12:44??UnderGroundSystem\ReadMe.txt
?????文件?????127530??2011-05-12?22:53??UnderGroundSystem\res\201103171721154702.bmp
????..A.SHR?????????8??2011-06-09?06:38??UnderGroundSystem\res\Desktop_.ini
............此處省略32個文件信息
- 上一篇:MFC莫爾斯電碼的編碼發聲
- 下一篇:學校教材訂購系統,C語言版,內容詳細,原創作品
評論
共有 條評論