📄 wastebookview.h
字号:
// WasteBookView.h : interface of the CWasteBookView class
//
/////////////////////////////////////////////////////////////////////////////
#if !defined(AFX_WASTEBOOKVIEW_H__E9E1E1EC_0676_11D5_8AE8_5254AB297845__INCLUDED_)
#define AFX_WASTEBOOKVIEW_H__E9E1E1EC_0676_11D5_8AE8_5254AB297845__INCLUDED_
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
#include "OutgoSet.h"
#include "WasteBookDoc.h"
class CWasteBookSet;
class CWasteBookView : public CRecordView
{
protected: // create from serialization only
CWasteBookView();
DECLARE_DYNCREATE(CWasteBookView)
public:
//{{AFX_DATA(CWasteBookView)
enum { IDD = IDD_WASTEBOOK_FORM };
CListCtrl m_list;
CTabCtrl m_Tab;
CWasteBookSet* m_pSet;
//}}AFX_DATA
// Attributes
public:
CWasteBookDoc* GetDocument();
COutgoSet* m_pSet2;
// Operations
public:
// Overrides
// ClassWizard generated virtual function overrides
//{{AFX_VIRTUAL(CWasteBookView)
public:
virtual CRecordset* OnGetRecordset();
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);
//}}AFX_VIRTUAL
// Implementation
public:
void AddTypeToList(int nSel);
void GetSum();
int sumOut,sumIn;
int* nSum;
int* nSum2;
bool bSort;
void RefreshList();
virtual ~CWasteBookView();
#ifdef _DEBUG
virtual void AssertValid() const;
virtual void Dump(CDumpContext& dc) const;
#endif
protected:
// Generated message map functions
protected:
//{{AFX_MSG(CWasteBookView)
afx_msg void OnSize(UINT nType, int cx, int cy);
afx_msg void OnSelchangeTab(NMHDR* pNMHDR, LRESULT* pResult);
afx_msg void OnBtnAdd();
afx_msg void OnBtnDelete();
afx_msg void OnBtnUpdate();
afx_msg void OnDblclkList(NMHDR* pNMHDR, LRESULT* pResult);
afx_msg void OnBtnSum();
afx_msg void OnBtnSum2();
afx_msg void OnBtnQuery();
afx_msg void OnColumnclickList1(NMHDR* pNMHDR, LRESULT* pResult);
//}}AFX_MSG
DECLARE_MESSAGE_MAP()
};
#ifndef _DEBUG // debug version in WasteBookView.cpp
inline CWasteBookDoc* CWasteBookView::GetDocument()
{ return (CWasteBookDoc*)m_pDocument; }
#endif
/////////////////////////////////////////////////////////////////////////////
//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.
#endif // !defined(AFX_WASTEBOOKVIEW_H__E9E1E1EC_0676_11D5_8AE8_5254AB297845__INCLUDED_)
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -