editstationinfodlg.h

来自「VC++6.0基于CAN协议的车辆控制」· C头文件 代码 · 共 65 行

H
65
字号
#if !defined(AFX_EDITSTATIONINFODLG_H__CD57A2BB_8822_42F5_9862_CED823DCFABF__INCLUDED_)
#define AFX_EDITSTATIONINFODLG_H__CD57A2BB_8822_42F5_9862_CED823DCFABF__INCLUDED_

#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
// EditStationInfoDlg.h : header file
//
#include "StationInfoDlg.h"
#include "ado.h"
/////////////////////////////////////////////////////////////////////////////
// CEditStationInfoDlg dialog

class CEditStationInfoDlg : public CDialog
{
// Construction
public:
	CEditStationInfoDlg(CWnd* pParent = NULL);   // standard constructor
    //CStationInfoDlg dlg;
    CString StationNameEn,StationNameCh,Longitude,Latitude,AudioDescriptionEn,\
		    AudioDescriptionCh,EnglishWave,ChineseWave,Active;
    int IndexInFieldList;
	CAdoConnection m_pConnection;
	bool m_bADD; //判断是否是添加数据


// Dialog Data
	//{{AFX_DATA(CEditStationInfoDlg)
	enum { IDD = IDD_EditStationInfo_DIALOG };
	CString	m_stationEn_Edit;
	CString	m_stationCh_Edit;
	CString	m_Longitude_Edit;
	CString	m_Latitude_Edit;
	CString	m_AudioEn_Edit;
	CString	m_AudioCh_Edit;
	CString	m_EnglishWave_Edit;
	CString	m_ChineseWave_Edit;
	CString	m_Active_Edit;
	//}}AFX_DATA


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

// Implementation
protected:
    		char mDir_Path[256];  //程序路径
	char mMDB_Path[256];  //数据库路径
	// Generated message map functions
	//{{AFX_MSG(CEditStationInfoDlg)
	afx_msg void OnSaveButton();
	virtual BOOL OnInitDialog();
	//}}AFX_MSG
	DECLARE_MESSAGE_MAP()
};

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

#endif // !defined(AFX_EDITSTATIONINFODLG_H__CD57A2BB_8822_42F5_9862_CED823DCFABF__INCLUDED_)

⌨️ 快捷键说明

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