// myex35bView.h : interface of the CMyex35bView class
//
/////////////////////////////////////////////////////////////////////////////

#if !defined(AFX_MYEX35BVIEW_H__B2BDC2BB_B56A_46F3_9A45_CE95C1EBF783__INCLUDED_)
#define AFX_MYEX35BVIEW_H__B2BDC2BB_B56A_46F3_9A45_CE95C1EBF783__INCLUDED_

#include "ValForm.h"

#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000

class CMyex35bCntrItem;

class CMyex35bView : public CValidForm
{
protected: // create from serialization only
	CMyex35bView();
	DECLARE_DYNCREATE(CMyex35bView)

public:
	//{{AFX_DATA(CMyex35bView)
	enum { IDD = IDD_MYEX35B_FORM };
	double	m_dHours;
	CString	m_strEmployee;
	int		m_nJob;
	int		m_nPeriod;
	//}}AFX_DATA

// Attributes
public:
	CMyex35bDoc* GetDocument();
	// m_pSelection holds the selection to the current CMyex35bCntrItem.
	// For many applications, such a member variable isn't adequate to
	//  represent a selection, such as a multiple selection or a selection
	//  of objects that are not CMyex35bCntrItem objects.  This selection
	//  mechanism is provided just to help you get started.

	// TODO: replace this selection mechanism with one appropriate to your app.
	CMyex35bCntrItem* m_pSelection;

// Operations
public:

// Overrides
	// ClassWizard generated virtual function overrides
	virtual void ValidateDlgItem(CDataExchange* pDX, UINT ID);
	//{{AFX_VIRTUAL(CMyex35bView)
	public:
	virtual BOOL PreCreateWindow(CREATESTRUCT& cs);
	protected:
	virtual void OnInitialUpdate(); // called first time after construct
	virtual BOOL OnPreparePrinting(CPrintInfo* pInfo);
	virtual void OnBeginPrinting(CDC* pDC, CPrintInfo* pInfo);
	virtual void OnEndPrinting(CDC* pDC, CPrintInfo* pInfo);
	virtual BOOL IsSelected(const CObject* pDocItem) const;// Container support
	virtual void DoDataExchange(CDataExchange* pDX);
	virtual void OnPrint(CDC* pDC, CPrintInfo* pInfo);
	//}}AFX_VIRTUAL

// Implementation
public:
	virtual ~CMyex35bView();
#ifdef _DEBUG
	virtual void AssertValid() const;
	virtual void Dump(CDumpContext& dc) const;
#endif

protected:

// Generated message map functions
protected:
	//{{AFX_MSG(CMyex35bView)
	afx_msg void OnSetFocus(CWnd* pOldWnd);
	afx_msg void OnSize(UINT nType, int cx, int cy);
	afx_msg void OnInsertObject();
	afx_msg void OnCancelEditCntr();
	afx_msg void OnCancelEditSrvr();
	afx_msg void OnServerAddress();
	virtual void OnCancel();
	afx_msg void OnSubmit();
	//}}AFX_MSG
	afx_msg LONG OnPostComplete(UINT wParam, LONG lParam);
	DECLARE_MESSAGE_MAP()
};

#ifndef _DEBUG  // debug version in myex35bView.cpp
inline CMyex35bDoc* CMyex35bView::GetDocument()
   { return (CMyex35bDoc*)m_pDocument; }
#endif

/////////////////////////////////////////////////////////////////////////////

//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.

#endif // !defined(AFX_MYEX35BVIEW_H__B2BDC2BB_B56A_46F3_9A45_CE95C1EBF783__INCLUDED_)

