#if !defined(AFX_DYNAPANEL_H__43823062_31F6_43D6_99B1_21299313C607__INCLUDED_)
#define AFX_DYNAPANEL_H__43823062_31F6_43D6_99B1_21299313C607__INCLUDED_

#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
// DynaPanel.h : header file
//

class CurveSet;
/////////////////////////////////////////////////////////////////////////////
// CDynaPanel dialog

class CDynaPanel : public CDialog
{
// Construction
public:
	UINT dID;
	bool Initalized;
	
	CurveSet *MyCSet;
	
	CDynaPanel(UINT nIDTemplate,CWnd* pParent = NULL);   // standard constructor
	virtual void UpdateControl() {};
	virtual void UpdateCurve() {};
	virtual void Set(void *pt)   {};
	void Initalize(CWnd *par)   { Create(dID,par); Initalized=true;};
	virtual void OnCancel() {}
	virtual void OnOK() {}
	// Dialog Data
	//{{AFX_DATA(CDynaPanel)
		// NOTE: the ClassWizard will add data members here
	//}}AFX_DATA


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

// Implementation
protected:

	// Generated message map functions
	//{{AFX_MSG(CDynaPanel)
	afx_msg void OnDestroy();
	//}}AFX_MSG
	DECLARE_MESSAGE_MAP()
};

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

#endif // !defined(AFX_DYNAPANEL_H__43823062_31F6_43D6_99B1_21299313C607__INCLUDED_)
