DialogNavigate.h
上传用户:xiaoke98
上传日期:2014-06-29
资源大小:5718k
文件大小:2k
- #if !defined(AFX_DIALOGNAVIGATE_H__3A67ED98_6557_46E3_8E84_B69FB98E0593__INCLUDED_)
- #define AFX_DIALOGNAVIGATE_H__3A67ED98_6557_46E3_8E84_B69FB98E0593__INCLUDED_
- #if _MSC_VER > 1000
- #pragma once
- #endif // _MSC_VER > 1000
- // DialogNavigate.h : header file
- //
- #include "BMPButton.h"
- /////////////////////////////////////////////////////////////////////////////
- // CDialogNavigate dialog
- class CNavigateView;
- class CDialogNavigate : public CDialog
- {
- // Construction
- public:
- CDialogNavigate(CWnd* pParent = NULL); // standard constructor
- void setCurrUser(CString& strUserName);
- // Dialog Data
- //{{AFX_DATA(CDialogNavigate)
- enum { IDD = IDD_NAVIGATE };
- CBMPButton m_btnExit;
- CBMPButton m_btnUserImg;
- CBMPButton m_btnLogin;
- CBMPButton m_btnFinanceOut;
- CBMPButton m_btnFinance;
- CBMPButton m_btnBalance;
- CString m_strUserName;
- //}}AFX_DATA
- void setParentView(CNavigateView* pView);
- // Overrides
- // ClassWizard generated virtual function overrides
- //{{AFX_VIRTUAL(CDialogNavigate)
- protected:
- virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
- virtual void OnOK( );
- //}}AFX_VIRTUAL
- // Implementation
- protected:
- // Generated message map functions
- //{{AFX_MSG(CDialogNavigate)
- afx_msg void OnPaint();
- afx_msg HBRUSH OnCtlColor( CDC* pDC, CWnd* pWnd, UINT nCtlColor);
- afx_msg BOOL OnEraseBkgnd( CDC* pDC );
- afx_msg void OnBtnLogin();
- afx_msg void OnBtnBalance();
- afx_msg void OnBtnFinancein();
- afx_msg void OnBtnFinanceout();
- afx_msg void OnShowWindow(BOOL bShow, UINT nStatus);
- afx_msg void OnUserimg();
- afx_msg void OnExit();
- //}}AFX_MSG
- DECLARE_MESSAGE_MAP()
- private:
- void DispalyBackBmp(CDC* pDC);
- CNavigateView* m_pParentView;
- };
- //{{AFX_INSERT_LOCATION}}
- // Microsoft Visual C++ will insert additional declarations immediately before the previous line.
- #endif // !defined(AFX_DIALOGNAVIGATE_H__3A67ED98_6557_46E3_8E84_B69FB98E0593__INCLUDED_)