a
This commit is contained in:
@@ -0,0 +1,72 @@
|
||||
#if !defined(AFX_DIALCFGTERRAIN_H__45E3408B_EE93_422A_8CC5_E87DB16509F0__INCLUDED_)
|
||||
#define AFX_DIALCFGTERRAIN_H__45E3408B_EE93_422A_8CC5_E87DB16509F0__INCLUDED_
|
||||
|
||||
#if _MSC_VER > 1000
|
||||
#pragma once
|
||||
#endif // _MSC_VER > 1000
|
||||
// DialCfgTerrain.h : header file
|
||||
//
|
||||
|
||||
/////////////////////////////////////////////////////////////////////////////
|
||||
// CDialCfgTerrain dialog
|
||||
class CFloatEdit;
|
||||
class CDialCfgTerrain : public CDialog
|
||||
{
|
||||
// Construction
|
||||
public:
|
||||
CDialCfgTerrain(CWnd* pParent = NULL); // standard constructor
|
||||
|
||||
// Dialog Data
|
||||
//{{AFX_DATA(CDialCfgTerrain)
|
||||
enum { IDD = IDD_DIALOG_TERRAIN_CFG };
|
||||
CEdit m_edit1stPtIndex;
|
||||
// CFloatEdit m_fEditYData;
|
||||
// CFloatEdit m_fEditXData;
|
||||
CComboBox m_cmbTerrainDataFlag;
|
||||
CListCtrl m_ctrlTerrainData;
|
||||
CListCtrl m_ctrlRemarkHeader;
|
||||
CListCtrl m_ctrlRemarkEnd;
|
||||
CListCtrl m_ctrlRemarkDetail;
|
||||
//}}AFX_DATA
|
||||
|
||||
|
||||
// Overrides
|
||||
// ClassWizard generated virtual function overrides
|
||||
//{{AFX_VIRTUAL(CDialCfgTerrain)
|
||||
protected:
|
||||
virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
|
||||
//}}AFX_VIRTUAL
|
||||
|
||||
// Implementation
|
||||
protected:
|
||||
|
||||
// Generated message map functions
|
||||
//{{AFX_MSG(CDialCfgTerrain)
|
||||
virtual BOOL OnInitDialog();
|
||||
afx_msg void OnClickListTerrainData(NMHDR* pNMHDR, LRESULT* pResult);
|
||||
afx_msg void OnButtonDelete();
|
||||
afx_msg void OnButtonAdd();
|
||||
afx_msg void OnButtonModify();
|
||||
afx_msg void OnSelchangeComboTerrainDataFlag();
|
||||
afx_msg void OnKillfocusEdit1stElectPtNumber();
|
||||
afx_msg void OnButtonImpFile();
|
||||
afx_msg void OnButtonSaveData();
|
||||
//}}AFX_MSG
|
||||
DECLARE_MESSAGE_MAP()
|
||||
|
||||
protected:
|
||||
//methods
|
||||
int GetDevArrayFromText(const CString& strInfo);
|
||||
int GetWriteIndexFromEndTxt(CString strInfo, int &iEndZeroCnt);
|
||||
void InitUIByLanguage(int iLanguage);
|
||||
bool CheckValidBeforSave();
|
||||
//attributes
|
||||
|
||||
int m_iExplainStartIndex;
|
||||
CString m_strDatFilePath;
|
||||
};
|
||||
|
||||
//{{AFX_INSERT_LOCATION}}
|
||||
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.
|
||||
|
||||
#endif // !defined(AFX_DIALCFGTERRAIN_H__45E3408B_EE93_422A_8CC5_E87DB16509F0__INCLUDED_)
|
||||
Reference in New Issue
Block a user