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

金融证券系统

开发平台:

Visual C++

  1. #if !defined(AFX_SETKDATADLG_H__03465F7B_741C_4358_A2F2_636329DF6D09__INCLUDED_)
  2. #define AFX_SETKDATADLG_H__03465F7B_741C_4358_A2F2_636329DF6D09__INCLUDED_
  3. #if _MSC_VER > 1000
  4. #pragma once
  5. #endif // _MSC_VER > 1000
  6. // SetKDataDlg.h : header file
  7. //
  8. #include "SetGroupDlg.h"
  9. /////////////////////////////////////////////////////////////////////////////
  10. // CSetKDataDlg dialog
  11. /***
  12. 设置除权除息资料的对话框
  13. */
  14. class CSetKDataDlg : public CPropertyPageEx
  15. {
  16. DECLARE_DYNCREATE(CSetKDataDlg)
  17. // Construction
  18. public:
  19. CSetKDataDlg( );   // standard constructor
  20. void OnCompleted( );
  21. // Dialog Data
  22. //{{AFX_DATA(CSetKDataDlg)
  23. enum { IDD = IDD_SETKDATA };
  24. CButton m_btnSave;
  25. CButton m_btnDelete;
  26. CKTypeComboBox m_comboKType;
  27. CEdit m_editAmount;
  28. CEdit m_editVolume;
  29. CEdit m_editClose;
  30. CEdit m_editLow;
  31. CEdit m_editHigh;
  32. CEdit m_editOpen;
  33. CDateTimeCtrl m_dtcDate;
  34. CEdit m_editCode;
  35. CStatic m_staticStock;
  36. CDomainListBox m_listStockSrc;
  37. CDomainComboBox m_comboGroupSrc;
  38. CSPTime m_tmDate;
  39. CString m_strOpen;
  40. CString m_strHigh;
  41. CString m_strLow;
  42. CString m_strClose;
  43. DWORD m_dwVolume;
  44. DWORD m_dwAmount;
  45. //}}AFX_DATA
  46. // Overrides
  47. // ClassWizard generated virtual function overrides
  48. //{{AFX_VIRTUAL(CSetKDataDlg)
  49. public:
  50. virtual BOOL OnKillActive();
  51. virtual BOOL PreTranslateMessage(MSG* pMsg);
  52. virtual void OnCancel();
  53. virtual void OnOK();
  54. protected:
  55. virtual void DoDataExchange(CDataExchange* pDX);    // DDX/DDV support
  56. //}}AFX_VIRTUAL
  57. // Implementation
  58. protected:
  59. CString m_strCurStockCode;
  60. void EnableEdit( BOOL bEnable );
  61. void LoadKData( CString strStockCode );
  62. BOOL StoreKData( CString strStockCode );
  63. BOOL DeleteKData( CString strStockCode );
  64. // Generated message map functions
  65. //{{AFX_MSG(CSetKDataDlg)
  66. virtual BOOL OnInitDialog();
  67. afx_msg void OnChangeEditcode();
  68. afx_msg void OnSelchangeComboGroupsrc();
  69. afx_msg void OnSelchangeListStocksrc();
  70. afx_msg void OnDatetimechangeDate(NMHDR* pNMHDR, LRESULT* pResult);
  71. afx_msg void OnSave();
  72. afx_msg void OnDelete();
  73. //}}AFX_MSG
  74. DECLARE_MESSAGE_MAP()
  75. };
  76. //{{AFX_INSERT_LOCATION}}
  77. // Microsoft Visual C++ will insert additional declarations immediately before the previous line.
  78. #endif // !defined(AFX_SETKDATADLG_H__03465F7B_741C_4358_A2F2_636329DF6D09__INCLUDED_)