Files
gjm 164968b62e chore
把非utf8-bom编码的cpp/h文件改为 utf8 bom 编码, msvc识别utf8编码时,如果不是bom格式的,会使用当前cp_oem来解码.
2026-10-04 00:04:20 +08:00

43 lines
926 B
C++

#pragma once
#include "afxcmn.h"
#include "MakeDim.h"
#include "afxwin.h"
class CTJSZDlg : public CDialog
{
DECLARE_DYNAMIC(CTJSZDlg)
public:
CTJSZDlg(const MK_DIM::NodeDim::ENodeType &type
, const std::vector<CString> &tanks
, CWnd* pParent = NULL);
virtual ~CTJSZDlg();
#ifdef AFX_DESIGN_TIME
enum { IDD = IDD_TJSZ_DLG };
#endif
protected:
virtual void DoDataExchange(CDataExchange* pDX);
virtual BOOL OnInitDialog();
DECLARE_MESSAGE_MAP()
protected:
CListCtrl m_lstCtrl;
CEdit m_editLable;
MK_DIM::NodeDim::ENodeType m_type;
std::vector<CString> m_tanks;
std::map<CString, double> m_mapDist;
std::map<CString, int> m_mapVenNum;
CString m_sEditLable;
int m_Idx, m_subIdx;
public:
afx_msg void OnBnClickedOk();
afx_msg void OnBnClickedCancle();
afx_msg void OnNMDblclkList1(NMHDR *pNMHDR, LRESULT *pResult);
afx_msg void OnEnKillfocusEdit1();
virtual BOOL PreTranslateMessage(MSG* pMsg);
};