?? laborageview.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 + -