summaryrefslogtreecommitdiff
path: root/src/T2DLL/T2RemoveFavoriteDialog.h
blob: 0688734e62c558b4ba0f0ba319afaa7d83b10ee3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
#pragma once
#include "common.h"
#include "T2Dialog.h"

class AFX_CLASS_EXPORT 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;
};