#pragma once #include "../../common.h" #include "../../T2DLL/T2TenantInfoDialog.h" class StdTenantInfoDialog : public T2TenantInfoDialog { public: StdTenantInfoDialog(T2Tenant *inTenant); virtual ~StdTenantInfoDialog(); protected: virtual BOOL OnT2DialogCommand(WPARAM inWParam, LPARAM inLParam); virtual void OnT2Create(); virtual void OnT2Destroy(); virtual void OnT2OK(); virtual void OnT2Cancel(); virtual void AppendLine(const CString &inStr); virtual void AppendComment(unsigned int inID, T2Equip *inEquip = NULL); virtual void GenerateComments(); virtual BOOL GenerateStatusProc(CString &outStr, BOOL &outIsBad); virtual void UpdateViewOfTenant(T2DlgItem *inItem); void GenerateStatus(); void ClearComment(); int mNumCommentLines; CString mTenantName; int mIsFavorited; };