#if !defined(AFX_WATERPANEL_H__3A7BFA2A_6AD0_43EF_B22E_8D11385363F3__INCLUDED_)
#define AFX_WATERPANEL_H__3A7BFA2A_6AD0_43EF_B22E_8D11385363F3__INCLUDED_

#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
// WaterPanel.h : header file
//
namespace Stuff
{
class Page;
};
/////////////////////////////////////////////////////////////////////////////
// CWaterPanel dialog

class CWaterPanel : public CDialog
{
// Construction
public:
	bool ValidateEntries();
	CWaterPanel(CWnd* pParent = NULL);   // standard constructor
	void WriteEntries(Stuff::Page *page,float lowhfval);
	void UpdateControlStates();


	CString m_BasePath;

// Dialog Data
	//{{AFX_DATA(CWaterPanel)
	enum { IDD = IDD_WATER_PANEL };
	CEdit	m_WTRCon;
	CButton	m_WTBCon;
	CEdit	m_WTCon;
	CButton	m_WDTBCon;
	CButton	m_UWTBCon;
	CEdit	m_WDRCon;
	CEdit	m_WLevCon;
	CEdit	m_UWTCon;
	CEdit	m_DTCon;
	float	m_WaterLevel;
	BOOL	m_UseWater;
	CString	m_DTText;
	CString	m_UWText;
	int		m_WDRatio;
	CString	m_WText;
	int		m_WTRatio;
	//}}AFX_DATA


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

// Implementation
protected:

	// Generated message map functions
	//{{AFX_MSG(CWaterPanel)
	virtual void OnOK() {}
	virtual void OnCancel() {}
	afx_msg void OnUwtextbrowse();
	afx_msg void OnWdtbrowse();
	afx_msg void OnWtextbrowse();
	afx_msg void OnUsewater();
	virtual BOOL OnInitDialog();
	//}}AFX_MSG
	DECLARE_MESSAGE_MAP()
};

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

#endif // !defined(AFX_WATERPANEL_H__3A7BFA2A_6AD0_43EF_B22E_8D11385363F3__INCLUDED_)
