DialogLogin.h
上传用户:xiaoke98
上传日期:2014-06-29
资源大小:5718k
文件大小:2k
源码类别:

家庭/个人应用

开发平台:

Visual C++

  1. #if !defined(AFX_DIALOGLOGIN_H__B083BDC7_73D5_4310_A0BA_A5A0460AFBA9__INCLUDED_)
  2. #define AFX_DIALOGLOGIN_H__B083BDC7_73D5_4310_A0BA_A5A0460AFBA9__INCLUDED_
  3. #if _MSC_VER > 1000
  4. #pragma once
  5. #endif // _MSC_VER > 1000
  6. // DialogLogin.h : header file
  7. //
  8. /////////////////////////////////////////////////////////////////////////////
  9. // CDialogLogin dialog
  10. class CHomeFinanceManagerView;
  11. class CDialogLogin : public CDialog
  12. {
  13. // Construction
  14. public:
  15. CDialogLogin(CWnd* pParent = NULL);   // standard constructor
  16. void  setParentView(CHomeFinanceManagerView* pView);
  17. // Dialog Data
  18. //{{AFX_DATA(CDialogLogin)
  19. enum { IDD = IDD_LOGIN };
  20. CBMPButton m_btnLogin;
  21. CString m_strPasswd;
  22. CString m_strUserName;
  23. //}}AFX_DATA
  24. // Overrides
  25. // ClassWizard generated virtual function overrides
  26. //{{AFX_VIRTUAL(CDialogLogin)
  27. protected:
  28. virtual void DoDataExchange(CDataExchange* pDX);    // DDX/DDV support
  29. virtual BOOL PreTranslateMessage( MSG* pMsg );
  30. virtual void OnOK( );
  31. //}}AFX_VIRTUAL
  32. // Implementation
  33. protected:
  34. // Generated message map functions
  35. //{{AFX_MSG(CDialogLogin)
  36. afx_msg HBRUSH OnCtlColor( CDC* pDC, CWnd* pWnd, UINT nCtlColor);
  37. afx_msg BOOL OnEraseBkgnd( CDC* pDC );
  38. afx_msg void OnLogin();
  39. //}}AFX_MSG
  40. DECLARE_MESSAGE_MAP()
  41. private:
  42. CHomeFinanceManagerView* m_pParentView;
  43. void  DispalyBackBmp(CDC* pDC);
  44. };
  45. //{{AFX_INSERT_LOCATION}}
  46. // Microsoft Visual C++ will insert additional declarations immediately before the previous line.
  47. #endif // !defined(AFX_DIALOGLOGIN_H__B083BDC7_73D5_4310_A0BA_A5A0460AFBA9__INCLUDED_)