⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 busquerydlg.h

📁 採用huffman編碼的文件壓縮程序
💻 H
字号:
// 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_)

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -