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

数据库系统

开发平台:

Visual C++

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