📄 lllview.h
字号:
// LLLView.h : interface of the CLLLView class
//
/////////////////////////////////////////////////////////////////////////////
#if !defined(AFX_LLLVIEW_H__F69599E6_5161_4744_ACAB_9FF717320563__INCLUDED_)
#define AFX_LLLVIEW_H__F69599E6_5161_4744_ACAB_9FF717320563__INCLUDED_
#include "MyLibrarySet.h"
#include "BookManage.h"
#include "UserManage.h"
#include "UserSet.h"
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
class CLLLSet;
class CLLLView : public CRecordView
{
protected: // create from serialization only
CLLLView();
DECLARE_DYNCREATE(CLLLView)
public:
CUserManage tmp;//声明用户管理类对象
CBookManage ttt;//声明图书管理类对象
CUserSet UU;//记录登录者信息
//{{AFX_DATA(CLLLView)
enum { IDD = IDD_LLL_FORM };
CListCtrl m_bookList;//图书列表控件的关联对象
CLLLSet* m_pSet;
//}}AFX_DATA
// Attributes
public:
CLLLDoc* GetDocument();
// Operations
public:
// Overrides
// ClassWizard generated virtual function overrides
//{{AFX_VIRTUAL(CLLLView)
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);
virtual void SetFormat();
virtual void ShowItem();
//}}AFX_VIRTUAL
// Implementation
public:
void SetFormat_user();
void ShowItem_user();
virtual ~CLLLView();
#ifdef _DEBUG
virtual void AssertValid() const;
virtual void Dump(CDumpContext& dc) const;
#endif
protected:
// Generated message map functions
protected:
//{{AFX_MSG(CLLLView)
afx_msg bool OnLoad();
afx_msg void OnAddUser();
afx_msg void OnDeleteUser();
afx_msg void OnEditPassword();
afx_msg void OnAddBook();
afx_msg void OnDeleteBook();
afx_msg void OnEditBook();
afx_msg void OnFindBook();
afx_msg void OnFindAsAuthor();
afx_msg void OnFindUser();
afx_msg void OnShowAllBook();
afx_msg void OnShowAllUser();
afx_msg void OnBorrow();
afx_msg void OnBack();
afx_msg void OnUpdateAddBook(CCmdUI* pCmdUI);
afx_msg void OnUpdateAddUser(CCmdUI* pCmdUI);
afx_msg void OnUpdateBack(CCmdUI* pCmdUI);
afx_msg void OnUpdateBorrow(CCmdUI* pCmdUI);
afx_msg void OnUpdateDeleteBook(CCmdUI* pCmdUI);
afx_msg void OnUpdateDeleteUser(CCmdUI* pCmdUI);
afx_msg void OnUpdateEditBook(CCmdUI* pCmdUI);
afx_msg void OnUpdateEditPassword(CCmdUI* pCmdUI);
afx_msg void OnUpdateFindAsAuthor(CCmdUI* pCmdUI);
afx_msg void OnUpdateFindBook(CCmdUI* pCmdUI);
afx_msg void OnUpdateFindUser(CCmdUI* pCmdUI);
afx_msg void OnUpdateGoOut(CCmdUI* pCmdUI);
afx_msg void OnUpdateShowAllBook(CCmdUI* pCmdUI);
afx_msg void OnUpdateShowAllUser(CCmdUI* pCmdUI);
afx_msg void OnGoOut();
afx_msg void OnExit();
//}}AFX_MSG
DECLARE_MESSAGE_MAP()
};
#ifndef _DEBUG // debug version in LLLView.cpp
inline CLLLDoc* CLLLView::GetDocument()
{ return (CLLLDoc*)m_pDocument; }
#endif
/////////////////////////////////////////////////////////////////////////////
//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.
#endif // !defined(AFX_LLLVIEW_H__F69599E6_5161_4744_ACAB_9FF717320563__INCLUDED_)
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -