#pragma once #include "resource.h" #include "singleton.h" class AecDbPoolCell; class CPMSJDlg : public CDialog { DECLARE_DYNAMIC(CPMSJDlg) public: CPMSJDlg(CWnd* pParent = NULL); virtual ~CPMSJDlg(); enum { IDD = IDD_DLG_PMSJ }; protected: virtual void DoDataExchange(CDataExchange* pDX); virtual BOOL OnInitDialog(); DECLARE_MESSAGE_MAP() afx_msg void OnBnClickedButton1(); // 单体模式 afx_msg void OnBnClickedButton2(); // 阵列模式 afx_msg void OnBnClickedButton3(); // 入库 afx_msg LONG_PTR onAcadKeepFocus(UINT_PTR, LONG_PTR); afx_msg void OnBnClickedButton4(); private: int m_iCircle; public: static void generateCellsByString(LPCTSTR psz, std::vector &cells, AcGePoint3d &ptOrg); }; typedef Singleton g_PmsjDlg;