#pragma once #include "common.h" class DbgEquipInfo : public CDialog { DECLARE_MESSAGE_MAP() public: DbgEquipInfo(CWnd *pParentWnd); void SetEquip(T2Equip *inEquip); void SetDocument(T2TowerDoc *inDoc); void SetTowerMainView(T2TowerMainView *inView); virtual BOOL OnInitDialog(); protected: afx_msg void OnListClick(NMHDR *inHdr, LRESULT *outResult); virtual void DoDataExchange(CDataExchange *pDX); CButton mButton; CListCtrl mList1; CStatic mStatic1; CStatic mStatic2; CListCtrl mList2; T2Equip *mEquip; T2TowerDoc *mDocument; T2TowerMainView *mTowerMainView; };