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

金融证券系统

开发平台:

Visual C++

  1. #if !defined(AFX_SETDRDATADLG_H__03465F7B_741C_4358_A2F2_636329DF6D09__INCLUDED_)
  2. #define AFX_SETDRDATADLG_H__03465F7B_741C_4358_A2F2_636329DF6D09__INCLUDED_
  3. #if _MSC_VER > 1000
  4. #pragma once
  5. #endif // _MSC_VER > 1000
  6. // SetDrdataDlg.h : header file
  7. //
  8. #include "SetGroupDlg.h"
  9. /////////////////////////////////////////////////////////////////////////////
  10. // CSetDrdataDlg dialog
  11. /***
  12. 设置除权除息资料的对话框
  13. */
  14. class CSetDrdataDlg : public CPropertyPageEx
  15. {
  16. DECLARE_DYNCREATE(CSetDrdataDlg)
  17. // Construction
  18. public:
  19. CSetDrdataDlg( );   // standard constructor
  20. // Dialog Data
  21. //{{AFX_DATA(CSetDrdataDlg)
  22. enum { IDD = IDD_SETDRDATA };
  23. CButton m_btnImportFxj;
  24. CButton m_btnImport;
  25. CButton m_btnDelete;
  26. CButton m_btnInsert;
  27. CStatic m_staticStock;
  28. CDomainListBox m_listStockSrc;
  29. CDomainComboBox m_comboGroupSrc;
  30. CEdit m_editCode;
  31. CSPTime m_tmDrdata;
  32. //}}AFX_DATA
  33. CGridCtrl m_Grid;
  34. // Overrides
  35. // ClassWizard generated virtual function overrides
  36. //{{AFX_VIRTUAL(CSetDrdataDlg)
  37. public:
  38. virtual BOOL OnKillActive();
  39. virtual BOOL PreTranslateMessage(MSG* pMsg);
  40. virtual void OnOK();
  41. virtual void OnCancel();
  42. protected:
  43. virtual void DoDataExchange(CDataExchange* pDX);    // DDX/DDV support
  44. //}}AFX_VIRTUAL
  45. // Implementation
  46. protected:
  47. CString m_strCurStockCode;
  48. BOOL InitializeGrid( );
  49. void LoadDrdata( CString strStockCode );
  50. void StoreDrdata( CString strStockCode );
  51. // Generated message map functions
  52. //{{AFX_MSG(CSetDrdataDlg)
  53. virtual BOOL OnInitDialog();
  54. afx_msg void OnChangeEditcode();
  55. afx_msg void OnSelchangeComboGroupsrc();
  56. afx_msg void OnSelchangeListStocksrc();
  57. afx_msg void OnInsert();
  58. afx_msg void OnDelete();
  59. afx_msg void OnImport();
  60. afx_msg void OnImportfxj();
  61. //}}AFX_MSG
  62. DECLARE_MESSAGE_MAP()
  63. };
  64. //{{AFX_INSERT_LOCATION}}
  65. // Microsoft Visual C++ will insert additional declarations immediately before the previous line.
  66. #endif // !defined(AFX_SETDRDATADLG_H__03465F7B_741C_4358_A2F2_636329DF6D09__INCLUDED_)