#if !defined(AFX_TNPANEL_H__CDE6752A_0FD4_4BDA_912E_8959C54FABDE__INCLUDED_)
#define AFX_TNPANEL_H__CDE6752A_0FD4_4BDA_912E_8959C54FABDE__INCLUDED_

#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
// TNPanel.h : header file
//
#include"PanelDlg.h"
class EdGUIObject;
class CObjProps;
class UndoCommand;

/////////////////////////////////////////////////////////////////////////////
// CTNPanel dialog

class CTNPanel :  public CPanelDlg
{
// Construction
public:
	CTNPanel(EdGUIObject *gobj,UndoCommand **cmd,CWnd* pParent = NULL);   
	CTNPanel(CObjProps *gobj,CWnd* pParent = NULL);  
	CObjProps	*MyMultiProps;
	EdGUIObject *MyObj;
	UndoCommand **CmdLst;


// Dialog Data
	//{{AFX_DATA(CTNPanel)
	enum { IDD = IDD_TNPANEL };
	CString	m_Name;
	CString	m_ObjType;
	BOOL	m_UseInGame;
	//}}AFX_DATA


// Overrides
	// ClassWizard generated virtual function overrides
	//{{AFX_VIRTUAL(CTNPanel)
	protected:
	virtual void DoDataExchange(CDataExchange* pDX);    // DDX/DDV support
	//}}AFX_VIRTUAL

// Implementation
protected:
	bool NameChange;
	bool UIGChange;
	// Generated message map functions
	//{{AFX_MSG(CTNPanel)
	virtual void OnOK();
	virtual void OnCancel() {}
	afx_msg void OnChangeName();
	virtual BOOL OnInitDialog();
	afx_msg void OnUseingame();
	//}}AFX_MSG
	DECLARE_MESSAGE_MAP()
};

//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.

#endif // !defined(AFX_TNPANEL_H__CDE6752A_0FD4_4BDA_912E_8959C54FABDE__INCLUDED_)
