mainfrm.h
来自「图书管理系统,主要功能有图书的借还,增加,查询等」· C头文件 代码 · 共 86 行
H
86 行
// MainFrm.h : interface of the CMainFrame class
//
/////////////////////////////////////////////////////////////////////////////
#if !defined(AFX_MAINFRM_H__1D9BB4B3_F5F3_40EC_B6F2_AB8F42039C89__INCLUDED_)
#define AFX_MAINFRM_H__1D9BB4B3_F5F3_40EC_B6F2_AB8F42039C89__INCLUDED_
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
class CMainFrame : public CFrameWnd
{
protected: // create from serialization only
CMainFrame();
DECLARE_DYNCREATE(CMainFrame)
// Attributes
public:
// Operations
public:
// Overrides
// ClassWizard generated virtual function overrides
//{{AFX_VIRTUAL(CMainFrame)
virtual BOOL PreCreateWindow(CREATESTRUCT& cs);
//}}AFX_VIRTUAL
// Implementation
public:
void connect();
bool m_min;
bool m_uin;
bool m_bLogin;
CString exit;
CString sql;
_RecordsetPtr m_pRecordset;
virtual ~CMainFrame();
#ifdef _DEBUG
virtual void AssertValid() const;
virtual void Dump(CDumpContext& dc) const;
#endif
protected: // control bar embedded members
CStatusBar m_wndStatusBar;
CToolBar m_wndToolBar;
// Generated message map functions
protected:
//{{AFX_MSG(CMainFrame)
afx_msg int OnCreate(LPCREATESTRUCT lpCreateStruct);
afx_msg void OnMin();
afx_msg void OnOut();
afx_msg void OnMbook();
afx_msg void OnMuser();
afx_msg void OnBorrow();
afx_msg void OnLend();
afx_msg void OnCheck();
afx_msg void OnChange();
afx_msg void OnUpdateMin(CCmdUI* pCmdUI);
afx_msg void OnUpdateUin(CCmdUI* pCmdUI);
afx_msg void OnUpdateOut(CCmdUI* pCmdUI);
afx_msg void OnUpdateBorrow(CCmdUI* pCmdUI);
afx_msg void OnUpdateChange(CCmdUI* pCmdUI);
afx_msg void OnUpdateCheck(CCmdUI* pCmdUI);
afx_msg void OnUpdateLend(CCmdUI* pCmdUI);
afx_msg void OnUpdateMbook(CCmdUI* pCmdUI);
afx_msg void OnUpdateMuser(CCmdUI* pCmdUI);
afx_msg void OnUin();
afx_msg void OnUb();
afx_msg void OnUpdateUb(CCmdUI* pCmdUI);
afx_msg void OnClose();
//}}AFX_MSG
DECLARE_MESSAGE_MAP()
};
/////////////////////////////////////////////////////////////////////////////
//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.
#endif // !defined(AFX_MAINFRM_H__1D9BB4B3_F5F3_40EC_B6F2_AB8F42039C89__INCLUDED_)
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?