workerview.h

来自「用C++语言编写得职工信息管理系统」· C头文件 代码 · 共 84 行

H
84
字号
// WorkerView.h : interface of the CWorkerView class
//
/////////////////////////////////////////////////////////////////////////////

#if !defined(AFX_WORKERVIEW_H__1FB5B771_B274_4F5D_8BC2_DBD13D4034CD__INCLUDED_)
#define AFX_WORKERVIEW_H__1FB5B771_B274_4F5D_8BC2_DBD13D4034CD__INCLUDED_

#include "ShowDialog.h"	// Added by ClassView
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
#include "ShowPersonCtrl.h"
#include "LinkButton.h"
#include "FindDialog.h"
#include "MyDataBase.h"
#include "UdeleteDlg.h"

class CWorkerView : public CFormView
{
protected: // create from serialization only
	CWorkerView();
	DECLARE_DYNCREATE(CWorkerView)

public:
	//{{AFX_DATA(CWorkerView)
	enum { IDD = IDD_WORKER_FORM };
	//}}AFX_DATA

// Attributes
public:
	CWorkerDoc* GetDocument();

// Operations
public:

// Overrides
	// ClassWizard generated virtual function overrides
	//{{AFX_VIRTUAL(CWorkerView)
	public:
	virtual BOOL PreCreateWindow(CREATESTRUCT& cs);
	protected:
	virtual void DoDataExchange(CDataExchange* pDX);    // DDX/DDV support
	virtual void OnInitialUpdate(); // called first time after construct
	//}}AFX_VIRTUAL

// Implementation
public:
	CFindDialog m_finddlg;
	CShowDialog m_showdlg;
	virtual ~CWorkerView();
#ifdef _DEBUG
	virtual void AssertValid() const;
	virtual void Dump(CDumpContext& dc) const;
#endif

protected:

// Generated message map functions
protected:
	//{{AFX_MSG(CWorkerView)
	afx_msg void OnCleanDatabase();
	afx_msg void OnAdd();
	afx_msg void OnChang();
	afx_msg void OnDelete();
	afx_msg void OnShow();
	afx_msg void OnFind();
	afx_msg void OnUndelete();
	afx_msg void OnPaint();
	//}}AFX_MSG
	DECLARE_MESSAGE_MAP()
};

#ifndef _DEBUG  // debug version in WorkerView.cpp
inline CWorkerDoc* CWorkerView::GetDocument()
   { return (CWorkerDoc*)m_pDocument; }
#endif

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

//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.

#endif // !defined(AFX_WORKERVIEW_H__1FB5B771_B274_4F5D_8BC2_DBD13D4034CD__INCLUDED_)

⌨️ 快捷键说明

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