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

📄 laborageview.h

📁 it s a Menagement System of salary,the codes contain the instruction for the design,and it is rutini
💻 H
字号:
// LaborageView.h : interface of the CLaborageView class
//
/////////////////////////////////////////////////////////////////////////////

#if !defined(AFX_LABORAGEVIEW_H__F8848587_F672_4D9F_841F_07A8837596BA__INCLUDED_)
#define AFX_LABORAGEVIEW_H__F8848587_F672_4D9F_841F_07A8837596BA__INCLUDED_

#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000

#include "laborageset.h"
#include "find.h"

class CLaborageView : public CListView
{
protected: // create from serialization only
	CLaborageView();
	DECLARE_DYNCREATE(CLaborageView)

// Attributes
public:
	CLaborageDoc* GetDocument();

public:
	void Show();
    void Sort(BOOL isAsc,int secol);
	BOOL CheckRecord(int num,CString name);
public:
	CLaborageSet m_Set;
    BOOL m_bIsAsc;
	int m_RecordCounts;
    CFind *m_find;
// Operations
public:

// Overrides
	// ClassWizard generated virtual function overrides
	//{{AFX_VIRTUAL(CLaborageView)
	public:
	virtual void OnDraw(CDC* pDC);  // overridden to draw this view
	virtual BOOL PreCreateWindow(CREATESTRUCT& cs);
	virtual BOOL PreTranslateMessage(MSG* pMsg);
	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);
	//}}AFX_VIRTUAL

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

protected:

// Generated message map functions
protected:
	//{{AFX_MSG(CLaborageView)
	afx_msg void OnColumnclick(NMHDR* pNMHDR, LRESULT* pResult);
	afx_msg void OnFind();
	afx_msg void OnDelete();
	afx_msg void OnShow();
	afx_msg void OnAdd();
	afx_msg void OnModify();
	afx_msg void OnManage();
	//}}AFX_MSG
    afx_msg void OnBeginFind(WPARAM wParam,LPARAM lParam);
	DECLARE_MESSAGE_MAP()
};

#ifndef _DEBUG  // debug version in LaborageView.cpp
inline CLaborageDoc* CLaborageView::GetDocument()
   { return (CLaborageDoc*)m_pDocument; }
#endif

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

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

#endif // !defined(AFX_LABORAGEVIEW_H__F8848587_F672_4D9F_841F_07A8837596BA__INCLUDED_)

⌨️ 快捷键说明

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