NavigateView.h
上传用户:xiaoke98
上传日期:2014-06-29
资源大小:5718k
文件大小:2k
- #if !defined(AFX_NAVIGATEVIEW_H__11F622AE_D0B1_4C99_9D55_95DF7A8A3757__INCLUDED_)
- #define AFX_NAVIGATEVIEW_H__11F622AE_D0B1_4C99_9D55_95DF7A8A3757__INCLUDED_
- #if _MSC_VER > 1000
- #pragma once
- #endif // _MSC_VER > 1000
- // NavigateView.h : header file
- //
- #include "DialogNavigate.h"
- /////////////////////////////////////////////////////////////////////////////
- // CNavigateView view
- class CHomeFinanceManagerDoc;
- class CNavigateView : public CView
- {
- protected:
- CNavigateView(); // protected constructor used by dynamic creation
- DECLARE_DYNCREATE(CNavigateView)
- // Attributes
- public:
- // Operations
- CHomeFinanceManagerDoc* GetDocument();
- //切换到登录窗口
- void Login(void);
- //切换到账目现状窗口
- void Balance(void);
- //切换到收入窗口
- void FinanceIn(void);
- //切换到支出窗口
- void FinanceOut(void);
- public:
- // Overrides
- // ClassWizard generated virtual function overrides
- //{{AFX_VIRTUAL(CNavigateView)
- protected:
- virtual void OnDraw(CDC* pDC); // overridden to draw this view
- virtual void OnUpdate( CView* pSender, LPARAM lHint, CObject* pHint );
- //}}AFX_VIRTUAL
- // Implementation
- protected:
- virtual ~CNavigateView();
- CSplitterWnd m_wndSplitter;
- #ifdef _DEBUG
- virtual void AssertValid() const;
- virtual void Dump(CDumpContext& dc) const;
- #endif
- // Generated message map functions
- protected:
- //{{AFX_MSG(CNavigateView)
- afx_msg void OnSize(UINT nType, int cx, int cy);
- //}}AFX_MSG
- DECLARE_MESSAGE_MAP()
- private:
- CDialogNavigate m_DialogNavigate;
- void DisplayNavigate(void);
- };
- #if 0//ndef _DEBUG // debug version in HomeFinanceManagerView.cpp
- inline CHomeFinanceManagerDoc* CHomeFinanceManagerView::GetDocument()
- { return (CHomeFinanceManagerDoc*)m_pDocument; }
- #endif
- /////////////////////////////////////////////////////////////////////////////
- //{{AFX_INSERT_LOCATION}}
- // Microsoft Visual C++ will insert additional declarations immediately before the previous line.
- #endif // !defined(AFX_NAVIGATEVIEW_H__11F622AE_D0B1_4C99_9D55_95DF7A8A3757__INCLUDED_)