📄 branchmanagerview.h
字号:
// BranchManagerView.h : interface of the CBranchManagerView class
//
/////////////////////////////////////////////////////////////////////////////
#if !defined(AFX_BRANCHMANAGERVIEW_H__4E71D195_B7EA_482B_8D7D_D17EFB686503__INCLUDED_)
#define AFX_BRANCHMANAGERVIEW_H__4E71D195_B7EA_482B_8D7D_D17EFB686503__INCLUDED_
#include "BranchManagerSet.h" // Added by ClassView
#include "TrayIcon.h" // Added by ClassView
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
class CBranchManagerSet;
class CBranchManagerView : public CDaoRecordView
{
protected: // create from serialization only
CBranchManagerView();
DECLARE_DYNCREATE(CBranchManagerView)
public:
//{{AFX_DATA(CBranchManagerView)
enum{ IDD = IDD_BRANCHMANAGER_FORM };
CBranchManagerSet* m_pSet;
// NOTE: the ClassWizard will add data members here
//}}AFX_DATA
// Attributes
public:
CBranchManagerDoc* GetDocument();
// Operations
public:
// Overrides
// ClassWizard generated virtual function overrides
//{{AFX_VIRTUAL(CBranchManagerView)
public:
virtual CDaoRecordset* 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:
BOOL m_bShow;
LRESULT OnTrayNotification(WPARAM wParam,LPARAM lParam);
CTrayIcon m_TrayIcon;
CBranchManagerSet m_pBranchManagerSet;
virtual ~CBranchManagerView();
#ifdef _DEBUG
virtual void AssertValid() const;
virtual void Dump(CDumpContext& dc) const;
#endif
protected:
// Generated message map functions
protected:
//{{AFX_MSG(CBranchManagerView)
afx_msg void OnRButtonDown(UINT nFlags, CPoint point);
afx_msg int OnCreate(LPCREATESTRUCT lpCreateStruct);
afx_msg void OnShowmain();
afx_msg void OnClosemain();
afx_msg void OnHidemain();
afx_msg void OnTimer(UINT nIDEvent);
//}}AFX_MSG
DECLARE_MESSAGE_MAP()
private:
int i;
};
#ifndef _DEBUG // debug version in BranchManagerView.cpp
inline CBranchManagerDoc* CBranchManagerView::GetDocument()
{ return (CBranchManagerDoc*)m_pDocument; }
#endif
/////////////////////////////////////////////////////////////////////////////
//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.
#endif // !defined(AFX_BRANCHMANAGERVIEW_H__4E71D195_B7EA_482B_8D7D_D17EFB686503__INCLUDED_)
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -