Files
ayanova7/archive/ayanova 1.9.4 CE final release db schema 171/sp/ZonesDlg.h

70 lines
1.8 KiB
C++

#if !defined(AFX_ZONESDLG_H__1BDD3BA1_1126_11D4_964F_00C0F02C4B69__INCLUDED_)
#define AFX_ZONESDLG_H__1BDD3BA1_1126_11D4_964F_00C0F02C4B69__INCLUDED_
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
// ZonesDlg.h : header file
//
/////////////////////////////////////////////////////////////////////////////
// CZonesDlg dialog
#include "gzcombo.h"
#include "gzrset.h"
class CZonesDlg : public CDialog
{
// Construction
public:
bool m_bReadOnly;
void Security();
void DisableAll(bool disable);
~CZonesDlg();
CString m_strSelectedZone;
bool SaveField(CEdit *edControl,CString fldname,bool AllowEmpty);
bool m_bAddMode;
bool FillZoneList();
CZonesDlg(CWnd* pParent = NULL); // standard constructor
CSpApp* m_pApp;
// Dialog Data
//{{AFX_DATA(CZonesDlg)
enum { IDD = IDD_ZONES };
CStatic m_lblZoneList;
CEdit m_edZoneName;
CEdit m_edZoneDescription;
CgzCombo m_cbZoneList;
CButton m_btnZoneDelete;
CButton m_btnZoneAdd;
//}}AFX_DATA
// Overrides
// ClassWizard generated virtual function overrides
//{{AFX_VIRTUAL(CZonesDlg)
protected:
virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
//}}AFX_VIRTUAL
// Implementation
protected:
// Generated message map functions
//{{AFX_MSG(CZonesDlg)
afx_msg void OnZoneDelete();
afx_msg void OnZoneAdd();
virtual BOOL OnInitDialog();
afx_msg void OnCloseupZoneCombo();
afx_msg void OnKillfocusZoneDescription();
afx_msg void OnKillfocusZoneName();
//}}AFX_MSG
DECLARE_MESSAGE_MAP()
private:
GZRset* rs;
//GZRset* rsZonesInUse;
};
//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.
#endif // !defined(AFX_ZONESDLG_H__1BDD3BA1_1126_11D4_964F_00C0F02C4B69__INCLUDED_)