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

数据库系统

开发平台:

Visual C++

  1. #if !defined(AFX_EXAMSUBJECTDLG_H__109D1D75_8896_481E_B352_2E89A941C331__INCLUDED_)
  2. #define AFX_EXAMSUBJECTDLG_H__109D1D75_8896_481E_B352_2E89A941C331__INCLUDED_
  3. #if _MSC_VER > 1000
  4. #pragma once
  5. #endif // _MSC_VER > 1000
  6. // ExamSubjectDlg.h : header file
  7. //
  8. #include "ExamSubjectSet.h"
  9. /////////////////////////////////////////////////////////////////////////////
  10. // CExamSubjectDlg dialog
  11. class CExamSubjectDlg : public CDialog
  12. {
  13. // Construction
  14. public:
  15. CExamSubjectDlg(CWnd* pParent = NULL);   // standard constructor
  16. // Dialog Data
  17. //{{AFX_DATA(CExamSubjectDlg)
  18. enum { IDD = IDD_DIALOG_EXAM_SUBJECT };
  19. CListCtrl m_ctrList;
  20. CButton m_bntSave;
  21. CButton m_bntNew;
  22. CButton m_bntModify;
  23. CButton m_bntDelete;
  24. CString m_strCode;
  25. CString m_strName;
  26. //}}AFX_DATA
  27. // Overrides
  28. // ClassWizard generated virtual function overrides
  29. //{{AFX_VIRTUAL(CExamSubjectDlg)
  30. protected:
  31. virtual void DoDataExchange(CDataExchange* pDX);    // DDX/DDV support
  32. //}}AFX_VIRTUAL
  33. // Implementation
  34. protected:
  35. // Generated message map functions
  36. //{{AFX_MSG(CExamSubjectDlg)
  37. virtual BOOL OnInitDialog();
  38. afx_msg void OnClickList1(NMHDR* pNMHDR, LRESULT* pResult);
  39. afx_msg void OnButtonNew();
  40. afx_msg void OnButtonSave();
  41. afx_msg void OnButtonModify();
  42. afx_msg void OnButtonDelete();
  43. //}}AFX_MSG
  44. DECLARE_MESSAGE_MAP()
  45. private:
  46. CExamSubjectSet  m_recordset;
  47. public:
  48. void RefreshData();
  49. };
  50. //{{AFX_INSERT_LOCATION}}
  51. // Microsoft Visual C++ will insert additional declarations immediately before the previous line.
  52. #endif // !defined(AFX_EXAMSUBJECTDLG_H__109D1D75_8896_481E_B352_2E89A941C331__INCLUDED_)