📄 editrouteinfodlg.h
字号:
#if !defined(AFX_EDITROUTEINFODLG_H__C89872B6_33FF_49BD_BFE5_FCE5DE5A54A1__INCLUDED_)
#define AFX_EDITROUTEINFODLG_H__C89872B6_33FF_49BD_BFE5_FCE5DE5A54A1__INCLUDED_
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
// EditRouteInfoDlg.h : header file
//
#include "ado.h"
/////////////////////////////////////////////////////////////////////////////
// CEditRouteInfoDlg dialog
class CEditRouteInfoDlg : public CDialog
{
// Construction
public:
CEditRouteInfoDlg(CWnd* pParent = NULL); // standard constructor
CAdoConnection m_pConnection;
CString TrainCode,CurrentStationEn,CurrentStationCh,NextStationEn,NextStationCh,ArrivalTime,\
DepartTime,StayTime,DistanceNextStation,ETA,Announcement;
bool m_bADD; //判断是否是添加数据
void AddAlterData();
CString sTrainCode,sCurrentStationEn,sCurrentStationCh,sNextStationEn,sNextStationCh,\
sArrivalTime,sDepartTime, sStayTime,sDistanceNextStation,sETA,\
sAnnouncement,sqlupdate,sqladd;
int nStayTime,nDistanceNextStation,nETA,nAnnouncement;
// Dialog Data
//{{AFX_DATA(CEditRouteInfoDlg)
enum { IDD = IDD_EditRouteInfo_DIALOG };
CString m_CurrentStationEn_Edit;
CString m_CurrentStationCh_Edit;
CString m_NextStationEn_Edit;
CString m_NextStationCh_Edit;
CString m_ArrivalTime_Edit;
CString m_DepartTime_Edit;
CString m_StayTime_Edit;
CString m_DistanceNextStation_Edit;
CString m_ETA_Edit;
CString m_Announcement_Edit;
CString m_TrainCode_Edit;
//}}AFX_DATA
// Overrides
// ClassWizard generated virtual function overrides
//{{AFX_VIRTUAL(CEditRouteInfoDlg)
protected:
virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
//}}AFX_VIRTUAL
// Implementation
protected:
char mDir_Path[256]; //程序路径
char mMDB_Path[256]; //数据库路径
CString m_str1,m_str2;
// Generated message map functions
//{{AFX_MSG(CEditRouteInfoDlg)
virtual BOOL OnInitDialog();
afx_msg void OnSaveButton();
afx_msg void OnChangeEdit1();
afx_msg void OnButton2();
//}}AFX_MSG
DECLARE_MESSAGE_MAP()
};
//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.
#endif // !defined(AFX_EDITROUTEINFODLG_H__C89872B6_33FF_49BD_BFE5_FCE5DE5A54A1__INCLUDED_)
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -