ScoreInputDlg.h
上传用户:rs600066
上传日期:2017-10-16
资源大小:4788k
文件大小:2k
源码类别:

数据库系统

开发平台:

Visual C++

  1. #if !defined(AFX_SCOREINPUTDLG_H__912A41A0_6675_479A_AD15_CF8F0859F0D9__INCLUDED_)
  2. #define AFX_SCOREINPUTDLG_H__912A41A0_6675_479A_AD15_CF8F0859F0D9__INCLUDED_
  3. #if _MSC_VER > 1000
  4. #pragma once
  5. #endif // _MSC_VER > 1000
  6. // ScoreInputDlg.h : header file
  7. //
  8. #include "scoreset.h"
  9. /////////////////////////////////////////////////////////////////////////////
  10. // CScoreInputDlg dialog
  11. class CScoreInputDlg : public CDialog
  12. {
  13. // Construction
  14. public:
  15. CScoreInputDlg(CWnd* pParent = NULL);   // standard constructor
  16. // Dialog Data
  17. //{{AFX_DATA(CScoreInputDlg)
  18. enum { IDD = IDD_DIALOG_SCORE_INPUT };
  19. CComboBox m_ctrType;
  20. CComboBox m_ctrTime;
  21. CComboBox m_ctrSubject;
  22. CComboBox m_ctrClass;
  23. CListCtrl m_ctrList;
  24. CString m_strClass;
  25. CString m_strSubject;
  26. CString m_strTime;
  27. CString m_strType;
  28. //}}AFX_DATA
  29. // Overrides
  30. // ClassWizard generated virtual function overrides
  31. //{{AFX_VIRTUAL(CScoreInputDlg)
  32. protected:
  33. virtual void DoDataExchange(CDataExchange* pDX);    // DDX/DDV support
  34. //}}AFX_VIRTUAL
  35. // Implementation
  36. protected:
  37. // Generated message map functions
  38. //{{AFX_MSG(CScoreInputDlg)
  39. afx_msg void OnButtonInput();
  40. virtual BOOL OnInitDialog();
  41. afx_msg void OnDblclkList2(NMHDR* pNMHDR, LRESULT* pResult);
  42. //}}AFX_MSG
  43. DECLARE_MESSAGE_MAP()
  44. private:
  45. CScoreSet  m_recordset;
  46. void RefreshData(CString str);
  47. void CreateScoreTable();
  48. };
  49. //{{AFX_INSERT_LOCATION}}
  50. // Microsoft Visual C++ will insert additional declarations immediately before the previous line.
  51. #endif // !defined(AFX_SCOREINPUTDLG_H__912A41A0_6675_479A_AD15_CF8F0859F0D9__INCLUDED_)