changeinfodialog.h

来自「全国交通咨询系统源代码」· C头文件 代码 · 共 73 行

H
73
字号
#if !defined(AFX_CHANGEINFODIALOG_H__C6F98364_DFE6_11D4_9823_5254AB1C303A__INCLUDED_)
#define AFX_CHANGEINFODIALOG_H__C6F98364_DFE6_11D4_9823_5254AB1C303A__INCLUDED_

#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
// ChangeinfoDialog.h : header file
//
#include "ALGraph.h"
#include "InfoNode.h"
#include "Info.h"
/////////////////////////////////////////////////////////////////////////////
// CChangeinfoDialog dialog

class CChangeinfoDialog : public CDialog
{
// Construction
public:
	BOOL OnInitDialog( );
	void SetGraph(ALGraph *);
	CChangeinfoDialog(CWnd* pParent = NULL);   // standard constructor

// Dialog Data
	//{{AFX_DATA(CChangeinfoDialog)
	enum { IDD = IDD_EDITINFO_DIALOG };
	int		m_distance;
	int		m_carhour;
	int		m_carminute;
	int		m_carfee;
	int		m_carcon;
	CString	m_cityfirst;
	int		m_plaincon;
	int		m_plainfee;
	int		m_plainminute;
	int		m_traincon;
	int		m_trainfee;
	int		m_trainhour;
	int		m_trainminute;
	CString	m_citysecond;
	int		m_plainhour;
	//}}AFX_DATA


// Overrides
	// ClassWizard generated virtual function overrides
	//{{AFX_VIRTUAL(CChangeinfoDialog)
	protected:
	virtual void DoDataExchange(CDataExchange* pDX);    // DDX/DDV support
	//}}AFX_VIRTUAL

// Implementation
protected:
	BOOL SetData(CString,CString);

	// Generated message map functions
	//{{AFX_MSG(CChangeinfoDialog)
	virtual void OnOK();
	afx_msg void OnYes();
	afx_msg void OnCitynamefirNext();
	afx_msg void OnCitynaemsenPrev();
	afx_msg void OnCitynamefirPrev();
	afx_msg void OnCitynamesenNext();
	//}}AFX_MSG
	DECLARE_MESSAGE_MAP()
private:
	ALGraph * m_graph;
};

//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.

#endif // !defined(AFX_CHANGEINFODIALOG_H__C6F98364_DFE6_11D4_9823_5254AB1C303A__INCLUDED_)

⌨️ 快捷键说明

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