trainexpeinfodlg.h

来自「VC++和ACCESS使用ADO连接」· C头文件 代码 · 共 92 行

H
92
字号
#if !defined(AFX_TRAINEXPEINFODLG_H__0E53A2DB_9C00_4E3D_902A_4D7D8183E32F__INCLUDED_)
#define AFX_TRAINEXPEINFODLG_H__0E53A2DB_9C00_4E3D_902A_4D7D8183E32F__INCLUDED_

#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
// TrainExpeInfoDlg.h : header file
//

/////////////////////////////////////////////////////////////////////////////
// TrainExpeInfoDlg dialog

class TrainExpeInfoDlg : public CDialog
{
// Construction
public:
	TrainExpeInfoDlg(CWnd* pParent = NULL);

// Dialog Data
	//{{AFX_DATA(TrainExpeInfoDlg)
	enum { IDD = IDD_TRAINEXPEINFO };
		// NOTE - ClassWizard will add data members here.
		//    DO NOT EDIT what you see in these blocks of generated code !
	//}}AFX_DATA


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

// Implementation
protected:

	CString	Train_StuBegTime1;
	CString	Train_StuBegTime2;
	CString	Train_StuBegTime3;
	
	CString	Train_StuEndTime1;
	CString	Train_StuEndTime2;
	CString	Train_StuEndTime3;
	
	CString	Train_TrainSchool1;
	CString	Train_TrainSchool2;
	CString	Train_TrainSchool3;
	
	CString	Train_Speciality1;
	CString	Train_Speciality2;
	CString	Train_Speciality3;
	
	CString	Train_TrainAddress1;
	CString	Train_TrainAddress2;
	CString	Train_TrainAddress3;
	
	CString	Train_StudyMode1;
	CString	Train_StudyMode2;
	CString	Train_StudyMode3;
	
	CString	Train_Diploma1;
	CString	Train_Diploma2;
	CString	Train_Diploma3;
	
	CString	Train_Remark;

	BOOL CheckAllInfo_TrainE(void);
	BOOL TrSave(int nKeyID, CString strKeyIDCard);
	BOOL TrModify(int nKeyID, CString strKeyIDCard);


	void GetTrainEInfoFromDB(void);
	void CtrlStatus_TrainE(BOOL bStatus);
	void IniAllTimePicker();
	// Generated message map functions
	//{{AFX_MSG(TrainExpeInfoDlg)
	afx_msg void OnButtonTrSave();
	afx_msg void OnButtonTrModify();
	afx_msg void OnButtonTrMore();
	virtual BOOL OnInitDialog();
	//}}AFX_MSG
	DECLARE_MESSAGE_MAP()

private:
	BOOL m_bSaveNotModify_TE;
};

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

#endif // !defined(AFX_TRAINEXPEINFODLG_H__0E53A2DB_9C00_4E3D_902A_4D7D8183E32F__INCLUDED_)

⌨️ 快捷键说明

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