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

📄 routelistdlg.h

📁 VC++6.0基于CAN协议的车辆控制
💻 H
字号:
#if !defined(AFX_ROUTELISTDLG_H__7E238221_C53C_4262_93A1_81020B3A3E34__INCLUDED_)
#define AFX_ROUTELISTDLG_H__7E238221_C53C_4262_93A1_81020B3A3E34__INCLUDED_

#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
// RouteListDlg.h : header file
//
#include "ado.h"
/////////////////////////////////////////////////////////////////////////////
// CRouteListDlg dialog

class CRouteListDlg : public CDialog
{
// Construction
public:
	CRouteListDlg(CWnd* pParent = NULL);   // standard constructor
    CAdoConnection m_pConnection;
// Dialog Data
	//{{AFX_DATA(CRouteListDlg)
	enum { IDD = IDD_RouteList_DIALOG };
	CListCtrl	m_RouteListList;
	//}}AFX_DATA


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

// Implementation
protected:
    CString m_sTrainCode,m_sOriginalStationEn,m_sOriginalStationCh,m_sLastStationEn,m_sLastStationCh,\
		    m_sPassStationEn,m_sPassStationCh,m_sStartTime,m_sEndTime,m_sRunTime;
	void ReadDataFromDB();
    int IndexInFieldList;
	char mDir_Path[256];  //程序路径
	char mMDB_Path[256];  //数据库路径
	int m_listPosSel; //列表是否有选中 >-1选中 ==-1未选中
	// Generated message map functions
	//{{AFX_MSG(CRouteListDlg)
	virtual BOOL OnInitDialog();
	afx_msg void OnAddButton();
	afx_msg void OnAlterButton();
	afx_msg void OnClickList1(NMHDR* pNMHDR, LRESULT* pResult);
	afx_msg void OnDeleteButton();
	//}}AFX_MSG
	DECLARE_MESSAGE_MAP()
};

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

#endif // !defined(AFX_ROUTELISTDLG_H__7E238221_C53C_4262_93A1_81020B3A3E34__INCLUDED_)

⌨️ 快捷键说明

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