MajorDlg.h
资源名称:school.rar [点击查看]
上传用户:rs600066
上传日期:2017-10-16
资源大小:4788k
文件大小:2k
源码类别:
数据库系统
开发平台:
Visual C++
- #if !defined(AFX_MAJORDLG_H__AF561F9F_DFB8_4D5F_8A55_8797BE14F464__INCLUDED_)
- #define AFX_MAJORDLG_H__AF561F9F_DFB8_4D5F_8A55_8797BE14F464__INCLUDED_
- #if _MSC_VER > 1000
- #pragma once
- #endif // _MSC_VER > 1000
- // MajorDlg.h : header file
- //
- #include "MajorSet.h"
- /////////////////////////////////////////////////////////////////////////////
- // CMajorDlg dialog
- class CMajorDlg : public CDialog
- {
- // Construction
- public:
- CMajorDlg(CWnd* pParent = NULL); // standard constructor
- // Dialog Data
- //{{AFX_DATA(CMajorDlg)
- enum { IDD = IDD_DIALOG_MAJOR };
- CComboBox m_ctrDepartment;
- CListCtrl m_ctrList;
- CButton m_bntSave;
- CButton m_bntNew;
- CButton m_bntModify;
- CButton m_bntDelete;
- CString m_strDepartment;
- CString m_strCode;
- CString m_strInfo;
- CString m_strName;
- //}}AFX_DATA
- // Overrides
- // ClassWizard generated virtual function overrides
- //{{AFX_VIRTUAL(CMajorDlg)
- protected:
- virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
- //}}AFX_VIRTUAL
- // Implementation
- protected:
- // Generated message map functions
- //{{AFX_MSG(CMajorDlg)
- virtual BOOL OnInitDialog();
- afx_msg void OnButtonNew();
- afx_msg void OnButtonSave();
- afx_msg void OnButtonDelete();
- afx_msg void OnButtonModify();
- afx_msg void OnClickList1(NMHDR* pNMHDR, LRESULT* pResult);
- //}}AFX_MSG
- DECLARE_MESSAGE_MAP()
- private:
- CMajorSet m_recordset;
- public:
- void RefreshData();
- };
- //{{AFX_INSERT_LOCATION}}
- // Microsoft Visual C++ will insert additional declarations immediately before the previous line.
- #endif // !defined(AFX_MAJORDLG_H__AF561F9F_DFB8_4D5F_8A55_8797BE14F464__INCLUDED_)