⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 ex36bview.h

📁 vcpp32_5.rar
💻 H
字号:
// ex36bView.h : interface of the CEx36bView class
//
/////////////////////////////////////////////////////////////////////////////

#include "valform.h"

class CEx36bCntrItem;

class CEx36bView : public CValidForm
{
protected: // create from serialization only
	CEx36bView();
	DECLARE_DYNCREATE(CEx36bView)

public:
	//{{AFX_DATA(CEx36bView)
	enum { IDD = IDD_EX36B_FORM };
	double	m_dHours;
	CString	m_strEmployee;
	int		m_nJob;
	int		m_nPeriod;
	//}}AFX_DATA

// Attributes
public:
	CEx36bDoc* GetDocument();
	// m_pSelection holds the selection to the current CEx36bCntrItem.
	// 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 CEx36bCntrItem objects.  This selection
	//  mechanism is provided just to help you get started.

	// TODO: replace this selection mechanism with one appropriate to your app.
	CEx36bCntrItem* m_pSelection;

// Operations
public:

// Overrides
	// ClassWizard generated virtual function overrides
    virtual void ValidateDlgItem(CDataExchange* pDX, UINT ID);
	//{{AFX_VIRTUAL(CEx36bView)
	public:
	virtual BOOL PreCreateWindow(CREATESTRUCT& cs);
	protected:
	virtual void DoDataExchange(CDataExchange* pDX);    // DDX/DDV support
	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 void OnPrint(CDC* pDC, CPrintInfo*);
	virtual BOOL IsSelected(const CObject* pDocItem) const;// Container support
	//}}AFX_VIRTUAL

// Implementation
public:
	virtual ~CEx36bView();
#ifdef _DEBUG
	virtual void AssertValid() const;
	virtual void Dump(CDumpContext& dc) const;
#endif

protected:

// Generated message map functions
protected:
	//{{AFX_MSG(CEx36bView)
	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 OnCancel();
	afx_msg void OnSubmit();
	afx_msg void OnServerAddress();
	afx_msg LONG OnPostComplete(UINT wParam, LONG lParam);
	//}}AFX_MSG
	DECLARE_MESSAGE_MAP()
};

#ifndef _DEBUG  // debug version in ex36bView.cpp
inline CEx36bDoc* CEx36bView::GetDocument()
   { return (CEx36bDoc*)m_pDocument; }
#endif

/////////////////////////////////////////////////////////////////////////////

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -