#pragma once #include "common.h" #include "T2Dialog.h" class AFX_EXT_CLASS T2RemoveFavoriteDialog : public T2Dialog { public: T2RemoveFavoriteDialog(); virtual ~T2RemoveFavoriteDialog(); void InitializeForRemovePeople(T2TowerDoc* inDoc); void InitializeForRemoveTenant(T2TowerDoc* inDoc); protected: virtual void OnT2Create(); virtual void CreateDlgItem(CTokenizer& inTokenizer, T2DialogDef& inDef); virtual void OnT2Destroy(); virtual BOOL OnT2DialogCommand(WPARAM inWParam, LPARAM inLParam); int mNameType; CWnd *mCloseButton; CWnd *mDeleteButton; T2NameTable *mNameTable; };