中航光电的中间件仓库

AgentPage.h 595B

12345678910111213141516171819202122232425262728293031323334
  1. #pragma once
  2. // CAgentPage 对话框
  3. #include "AgentList.h"
  4. #include "../resource.h"
  5. #include "../IMsgObserver.h"
  6. class CAgentPage : public CDialog, public IMsgObserver
  7. {
  8. DECLARE_DYNAMIC(CAgentPage)
  9. public:
  10. CAgentPage(CWnd* pParent = NULL); // 标准构造函数
  11. virtual ~CAgentPage();
  12. // 继承自IMsgObserver
  13. void onMessage(UINT MsgType, const PARAM lpContent);
  14. // 对话框数据
  15. enum { IDD = IDD_PAGE_AGENT };
  16. protected:
  17. virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV 支持
  18. DECLARE_MESSAGE_MAP()
  19. public:
  20. virtual BOOL OnInitDialog();
  21. private:
  22. CAgentlList m_AgentList;
  23. };