72 lines
1.8 KiB
C++
72 lines
1.8 KiB
C++
#if !defined(AFX_OPSYNTDDLG_H__A97A5C0E_A6C2_4420_A508_145AB3CB8CDB__INCLUDED_)
|
|
#define AFX_OPSYNTDDLG_H__A97A5C0E_A6C2_4420_A508_145AB3CB8CDB__INCLUDED_
|
|
|
|
#if _MSC_VER > 1000
|
|
#pragma once
|
|
#endif // _MSC_VER > 1000
|
|
// opsyntddlg.h : header file
|
|
//
|
|
|
|
#include "EasySize.h"
|
|
|
|
/////////////////////////////////////////////////////////////////////////////
|
|
// COpSynTDDlg dialog
|
|
class CDevice;
|
|
class COpSynTDDlg : public CDialog
|
|
{
|
|
DECLARE_EASYSIZE
|
|
|
|
// Construction
|
|
public:
|
|
BOOL ClearAll();
|
|
COpSynTDDlg(CWnd* pParent = NULL); // standard constructor
|
|
|
|
// Dialog Data
|
|
//{{AFX_DATA(COpSynTDDlg)
|
|
enum { IDD = IDD_OP_SYN_TD };
|
|
CListCtrl m_tdList; //上面那个框
|
|
CListCtrl m_selTdList;
|
|
CTreeCtrl m_dmsTree;
|
|
//}}AFX_DATA
|
|
|
|
|
|
// Overrides
|
|
// ClassWizard generated virtual function overrides
|
|
//{{AFX_VIRTUAL(COpSynTDDlg)
|
|
public:
|
|
virtual BOOL PreTranslateMessage(MSG* pMsg);
|
|
protected:
|
|
virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
|
|
//}}AFX_VIRTUAL
|
|
|
|
// Implementation
|
|
protected:
|
|
|
|
// Generated message map functions
|
|
//{{AFX_MSG(COpSynTDDlg)
|
|
virtual BOOL OnInitDialog();
|
|
afx_msg void OnSelchangedTreeSynDms(NMHDR* pNMHDR, LRESULT* pResult);
|
|
afx_msg void OnItemchangedListSynTd(NMHDR* pNMHDR, LRESULT* pResult);
|
|
afx_msg void OnTdSel();
|
|
afx_msg void OnTdRemove();
|
|
afx_msg void OnCreate();
|
|
afx_msg void OnDmsDel();
|
|
afx_msg void OnTdDel();
|
|
afx_msg void OnTdUpload();
|
|
afx_msg void OnSize(UINT nType, int cx, int cy);
|
|
afx_msg void OnPaint();
|
|
//}}AFX_MSG
|
|
DECLARE_MESSAGE_MAP()
|
|
public:
|
|
// CString m_szDeSN;
|
|
CDevice* m_pDev;
|
|
protected:
|
|
bool FindSelListItem(int iColumn, CString strText);
|
|
void InitULByLanguage(int iLanguage);
|
|
};
|
|
|
|
//{{AFX_INSERT_LOCATION}}
|
|
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.
|
|
|
|
#endif // !defined(AFX_OPSYNTDDLG_H__A97A5C0E_A6C2_4420_A508_145AB3CB8CDB__INCLUDED_)
|