SetRate.h
上传用户:zhanglf88
上传日期:2013-11-19
资源大小:6036k
文件大小:2k
源码类别:

金融证券系统

开发平台:

Visual C++

  1. #if !defined(AFX_SETRATE_H__EAD836A1_B915_44E0_BFB2_99B55FE14FBD__INCLUDED_)
  2. #define AFX_SETRATE_H__EAD836A1_B915_44E0_BFB2_99B55FE14FBD__INCLUDED_
  3. #if _MSC_VER > 1000
  4. #pragma once
  5. #endif // _MSC_VER > 1000
  6. // SetRate.h : header file
  7. //
  8. /////////////////////////////////////////////////////////////////////////////
  9. // CSetRate dialog
  10. /***
  11. 设置策略的交易费用的属性页对话框
  12. */
  13. class CSetRate : public CPropertyPageEx
  14. {
  15. DECLARE_DYNCREATE(CSetRate)
  16. // Construction
  17. public:
  18. CSetRate();
  19. CSetRate( UINT nIDCaption, UINT nIDTitle, UINT nIDSubTitle );
  20. ~CSetRate();
  21. DWORD m_dwButtonFlags;
  22. BOOL m_bModified;
  23. // operation
  24. void SetStrategy( CStrategy * pStrategy );
  25. // Dialog Data
  26. //{{AFX_DATA(CSetRate)
  27. enum { IDD = IDD_SETRATE };
  28. CString m_strTaxShaa;
  29. CString m_strTaxShab;
  30. CString m_strTaxShafund;
  31. CString m_strTaxSzna;
  32. CString m_strTaxSznb;
  33. CString m_strTaxSznfund;
  34. //}}AFX_DATA
  35. protected:
  36. CStrategy * m_pStrategy;
  37. BOOL ValidData( );
  38. BOOL LoadFromStrategy( );
  39. BOOL StoreToStrategy( );
  40. // Overrides
  41. // ClassWizard generate virtual function overrides
  42. //{{AFX_VIRTUAL(CSetRate)
  43. public:
  44. virtual BOOL PreTranslateMessage(MSG* pMsg);
  45. virtual BOOL OnSetActive();
  46. protected:
  47. virtual BOOL OnWizardFinish();
  48. virtual BOOL OnKillActive();
  49. virtual LRESULT OnWizardNext();
  50. virtual LRESULT OnWizardBack();
  51. virtual void OnOK();
  52. virtual void DoDataExchange(CDataExchange* pDX);    // DDX/DDV support
  53. //}}AFX_VIRTUAL
  54. // Implementation
  55. protected:
  56. // Generated message map functions
  57. //{{AFX_MSG(CSetRate)
  58. virtual BOOL OnInitDialog();
  59. //}}AFX_MSG
  60. DECLARE_MESSAGE_MAP()
  61. };
  62. //{{AFX_INSERT_LOCATION}}
  63. // Microsoft Visual C++ will insert additional declarations immediately before the previous line.
  64. #endif // !defined(AFX_SETRATE_H__EAD836A1_B915_44E0_BFB2_99B55FE14FBD__INCLUDED_)