#if !defined(AFX_CONTRACTSDLG_H__1DCAA4C1_143C_11D4_964F_00C0F02C4B69__INCLUDED_) #define AFX_CONTRACTSDLG_H__1DCAA4C1_143C_11D4_964F_00C0F02C4B69__INCLUDED_ #if _MSC_VER > 1000 #pragma once #endif // _MSC_VER > 1000 // ContractsDlg.h : header file // ///////////////////////////////////////////////////////////////////////////// // CContractsDlg dialog #include "gzcombo.h" #include "gzrset.h" #include "label.h" class CContractsDlg : public CDialog { // Construction public: void EnableFields(bool bEnable); ~CContractsDlg(); CContractsDlg(CWnd* pParent = NULL); // standard constructor CString m_strSelectedContract; bool SaveField(CEdit *edControl,CString fldname,bool AllowEmpty); bool m_bAddMode; bool FillContractsList(); CSpApp* m_pApp; // Dialog Data //{{AFX_DATA(CContractsDlg) enum { IDD = IDD_CONTRACTS }; CStatic m_lblContractList; CButton m_btnContractDelete; CButton m_btnContractAdd; CEdit m_edContractTerms; CEdit m_edContractName; CgzCombo m_cbContracts; //}}AFX_DATA // Overrides // ClassWizard generated virtual function overrides //{{AFX_VIRTUAL(CContractsDlg) protected: virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support //}}AFX_VIRTUAL // Implementation protected: GZRset* rs; // Generated message map functions //{{AFX_MSG(CContractsDlg) afx_msg void OnContractDelete(); afx_msg void OnContractAdd(); afx_msg void OnCloseupContractCombo(); virtual BOOL OnInitDialog(); afx_msg void OnKillfocusContractname(); afx_msg void OnKillfocusContractterms(); //}}AFX_MSG DECLARE_MESSAGE_MAP() }; //{{AFX_INSERT_LOCATION}} // Microsoft Visual C++ will insert additional declarations immediately before the previous line. #endif // !defined(AFX_CONTRACTSDLG_H__1DCAA4C1_143C_11D4_964F_00C0F02C4B69__INCLUDED_)