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

金融证券系统

开发平台:

Visual C++

  1. #if !defined(AFX_SETBASEDATADLG_H__03465F7B_741C_4358_A2F2_636329DF6D09__INCLUDED_)
  2. #define AFX_SETBASEDATADLG_H__03465F7B_741C_4358_A2F2_636329DF6D09__INCLUDED_
  3. #if _MSC_VER > 1000
  4. #pragma once
  5. #endif // _MSC_VER > 1000
  6. // SetBasedataDlg.h : header file
  7. //
  8. #include "SetGroupDlg.h"
  9. /////////////////////////////////////////////////////////////////////////////
  10. // CSetBasedataDlg dialog
  11. /***
  12. 设置除权除息资料的对话框
  13. */
  14. class CSetBasedataDlg : public CPropertyPageEx
  15. {
  16. DECLARE_DYNCREATE(CSetBasedataDlg)
  17. // Construction
  18. public:
  19. CSetBasedataDlg( );   // standard constructor
  20. void OnCompleted( );
  21. // Dialog Data
  22. //{{AFX_DATA(CSetBasedataDlg)
  23. enum { IDD = IDD_SETBASEDATA };
  24. CButton m_btnSave;
  25. CEdit m_editTotal;
  26. CEdit m_editCorp;
  27. CEdit m_editNational;
  28. CEdit m_editH;
  29. CEdit m_editB;
  30. CEdit m_editA;
  31. CStatic m_staticStock;
  32. CDomainListBox m_listStockSrc;
  33. CDomainComboBox m_comboGroupSrc;
  34. CEdit m_editCode;
  35. CString m_strA;
  36. CString m_strB;
  37. CString m_strH;
  38. CString m_strNational;
  39. CString m_strCorp;
  40. CString m_strTotal;
  41. //}}AFX_DATA
  42. // Overrides
  43. // ClassWizard generated virtual function overrides
  44. //{{AFX_VIRTUAL(CSetBasedataDlg)
  45. public:
  46. virtual BOOL OnKillActive();
  47. virtual BOOL PreTranslateMessage(MSG* pMsg);
  48. virtual void OnCancel();
  49. virtual void OnOK();
  50. protected:
  51. virtual void DoDataExchange(CDataExchange* pDX);    // DDX/DDV support
  52. //}}AFX_VIRTUAL
  53. // Implementation
  54. protected:
  55. CString m_strCurStockCode;
  56. void EnableEdit( BOOL bEnable );
  57. void LoadBasedata( CString strStockCode );
  58. BOOL StoreBasedata( CString strStockCode );
  59. // Generated message map functions
  60. //{{AFX_MSG(CSetBasedataDlg)
  61. virtual BOOL OnInitDialog();
  62. afx_msg void OnChangeEditcode();
  63. afx_msg void OnSelchangeComboGroupsrc();
  64. afx_msg void OnSelchangeListStocksrc();
  65. afx_msg void OnSave();
  66. //}}AFX_MSG
  67. DECLARE_MESSAGE_MAP()
  68. };
  69. //{{AFX_INSERT_LOCATION}}
  70. // Microsoft Visual C++ will insert additional declarations immediately before the previous line.
  71. #endif // !defined(AFX_SETBASEDATADLG_H__03465F7B_741C_4358_A2F2_636329DF6D09__INCLUDED_)