?? busquerydlg.h
字號(hào):
// BusQueryDlg.h : header file
//
#if !defined(AFX_BUSQUERYDLG_H__C62189C4_6D08_4BD2_ABD3_25A61A37591B__INCLUDED_)
#define AFX_BUSQUERYDLG_H__C62189C4_6D08_4BD2_ABD3_25A61A37591B__INCLUDED_
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
/////////////////////////////////////////////////////////////////////////////
// CBusQueryDlg dialog
class CBusQueryDlg : public CDialog
{
// Construction
public:
BOOL QueryStation(char CityName[21],
char StartStation[31],
char EndStation[31],
int terminal_num);
void WriteBusInfo(void);
void InitCombox(void);
void ReadBusInfo(void);
CBusQueryDlg(CWnd* pParent = NULL); // standard constructor
//Bus Infomation Struct
struct BusInfo
{
char CityName[21];
char BusNo[21];
char StationName[150][31];
struct BusInfo *next_BusInfo;
struct BusInfo *pre_BusInfo;
} *pBusInfo,*Head;
//Bus Query Result Struct
char Start_Station[31],End_Station[31];
char BusStation[10000][31];
int station_num;
char result_string[100][500];
int result_number;
char BusNo[21],StartNo[21];
// Dialog Data
//{{AFX_DATA(CBusQueryDlg)
enum { IDD = IDD_BUSQUERY_DIALOG };
CListBox m_ResultList;
CComboBox m_EndStationCombo;
CComboBox m_StartStationCombo;
CComboBox m_CityCombo2;
CComboBox m_CityCombo;
CComboBox m_BusLineCombo;
int m_terminal;
//}}AFX_DATA
// ClassWizard generated virtual function overrides
//{{AFX_VIRTUAL(CBusQueryDlg)
protected:
virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
//}}AFX_VIRTUAL
// Implementation
protected:
HICON m_hIcon;
// Generated message map functions
//{{AFX_MSG(CBusQueryDlg)
virtual BOOL OnInitDialog();
afx_msg void OnSysCommand(UINT nID, LPARAM lParam);
afx_msg void OnPaint();
afx_msg HCURSOR OnQueryDragIcon();
afx_msg void OnAddButton();
afx_msg void OnSelchangeCityCombo();
afx_msg void OnModiButton();
afx_msg void OnSelchangeCityCombo2();
afx_msg void OnStationQueryButton();
afx_msg void OnLineQueryButton();
afx_msg void OnExitButton();
afx_msg void OnEditchangeCityCombo();
afx_msg void OnEditchangeCityCombo2();
//}}AFX_MSG
DECLARE_MESSAGE_MAP()
};
//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.
#endif // !defined(AFX_BUSQUERYDLG_H__C62189C4_6D08_4BD2_ABD3_25A61A37591B__INCLUDED_)
?? 快捷鍵說(shuō)明
復(fù)制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號(hào)
Ctrl + =
減小字號(hào)
Ctrl + -