#pragma once // CDialogSelDevice 对话框 class CDialogSelDevice : public CDialogEx { DECLARE_DYNAMIC(CDialogSelDevice) public: CDialogSelDevice(CWnd* pParent = nullptr); // 标准构造函数 virtual ~CDialogSelDevice(); // 对话框数据 #ifdef AFX_DESIGN_TIME enum { IDD = IDD_DIALOG_SEL_DEVICE }; #endif protected: virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV 支持 DECLARE_MESSAGE_MAP() public: afx_msg void OnBnClickedOk(); virtual BOOL OnInitDialog(); CListBox m_list_family; CListBox m_list_device; };