// EmpDlg.h : header file
//
#include "EmpBiz.h"
/////////////////////////////////////////////////////////////////////////////
// CEmpDlg dialog
class CEmpDlg : public CDialog
{
// Construction
public:
CEmpDlg(CWnd* pParent = NULL);// standard constructor
~CEmpDlg();
// Dialog Data
//{{AFX_DATA(CEmpDlg)
enum { IDD = IDD_EMP_DIALOG };
longm_nEmpNum;
CStringm_strFirstName;
CStringm_strHomePhone;
CStringm_strLastName;
CStringm_strTitle;
//}}AFX_DATA
// ClassWizard generated virtual function overrides
//{{AFX_VIRTUAL(CEmpDlg)
protected:
virtual void DoDataExchange(CDataExchange* pDX);
//}}AFX_VIRTUAL
// Operations
public:
BOOL CommitAlteredEmpRec();
void SetFieldStates() ;
CString PrepareCriteria();
// Implementation
protected:
HICONm_hIcon;
CEmpBiz*m_pBiz;
// Generated message map functions
//{{AFX_MSG(CEmpDlg)
virtual BOOL OnInitDialog();
afx_msg void OnSysCommand(UINT nID, LPARAM lParam);
afx_msg void OnPaint();
afx_msg HCURSOR OnQueryDragIcon();
afx_msg void OnEditAdd();
afx_msg void OnEditDelete();
afx_msg void OnEditNext();
afx_msg void OnEditPrevious();
afx_msg void OnEditFirst();
afx_msg void OnEditLast();
afx_msg void OnEditFindF();
afx_msg void OnAppOpenRecord();
//}}AFX_MSG
DECLARE_MESSAGE_MAP()
};
#define EMP_EMPLOYEE_IDL"EmployeeID"
#defineEMP_LAST_NAMEL"LastName"
#defineEMP_FIRST_NAMEL"FirstName"
#define EMP_TITLEL"Title"
#define EMP_HOME_PHONEL"HomePhone"