home *** CD-ROM | disk | FTP | other *** search
- // EmployeeView.h : interface of the CEmployeeView class
- //
- /////////////////////////////////////////////////////////////////////////////
-
- #if !defined(AFX_EMPLOYEEVIEW_H__E708A686_460C_11D0_9C9D_00A0D100E3C8__INCLUDED_)
- #define AFX_EMPLOYEEVIEW_H__E708A686_460C_11D0_9C9D_00A0D100E3C8__INCLUDED_
-
- class CEmployeePaySet;
-
- class CEmployeeView : public CDaoRecordView
- {
- protected: // create from serialization only
- CEmployeeView();
- DECLARE_DYNCREATE(CEmployeeView)
-
- public:
- //{{AFX_DATA(CEmployeeView)
- enum { IDD = IDD_EMPLOYEE_FORM };
- CEmployeePaySet* m_pSet;
- CEmployeePersonalSet* m_pEmplInfoSet;
- //}}AFX_DATA
-
- // Attributes
- public:
- CEmployeeDoc* GetDocument();
-
- // Operations
- public:
-
- // Overrides
- // ClassWizard generated virtual function overrides
- //{{AFX_VIRTUAL(CEmployeeView)
- public:
- virtual CDaoRecordset* OnGetRecordset();
- virtual BOOL PreCreateWindow(CREATESTRUCT& cs);
- virtual BOOL OnMove(UINT nIDMoveCommand);
- virtual void OnInitialUpdate();
- protected:
- virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
- virtual BOOL OnPreparePrinting(CPrintInfo* pInfo);
- virtual void OnBeginPrinting(CDC* pDC, CPrintInfo* pInfo);
- virtual void OnEndPrinting(CDC* pDC, CPrintInfo* pInfo);
- //}}AFX_VIRTUAL
-
- // Implementation
- public:
- virtual ~CEmployeeView();
- #ifdef _DEBUG
- virtual void AssertValid() const;
- virtual void Dump(CDumpContext& dc) const;
- #endif
-
- protected:
-
- // Generated message map functions
- protected:
- //{{AFX_MSG(CEmployeeView)
- // NOTE - the ClassWizard will add and remove member functions here.
- // DO NOT EDIT what you see in these blocks of generated code !
- //}}AFX_MSG
- DECLARE_MESSAGE_MAP()
- };
-
- #ifndef _DEBUG // debug version in EmployeeView.cpp
- inline CEmployeeDoc* CEmployeeView::GetDocument()
- { return (CEmployeeDoc*)m_pDocument; }
- #endif
-
- /////////////////////////////////////////////////////////////////////////////
-
- //{{AFX_INSERT_LOCATION}}
- // Microsoft Developer Studio will insert additional declarations immediately before the previous line.
-
- #endif // !defined(AFX_EMPLOYEEVIEW_H__E708A686_460C_11D0_9C9D_00A0D100E3C8__INCLUDED_)
-