studentView.h
资源名称:一个学生管理系统.rar [点击查看]
上传用户:hzzhuce
上传日期:2013-04-01
资源大小:1289k
文件大小:2k
源码类别:
SQL Server
开发平台:
Visual C++
- // studentView.h : interface of the CStudentView class
- //
- /////////////////////////////////////////////////////////////////////////////
- #if !defined(AFX_STUDENTVIEW_H__ED34AEDF_3FBA_4D05_8EC2_EAF489C28288__INCLUDED_)
- #define AFX_STUDENTVIEW_H__ED34AEDF_3FBA_4D05_8EC2_EAF489C28288__INCLUDED_
- #if _MSC_VER > 1000
- #pragma once
- #endif // _MSC_VER > 1000
- #include"Adddlg.h"
- #include"Deletedlg.h"
- #include"Modifydlg.h"
- #include"Querydlg.h"
- #include"Sort.h"
- class CStudentSet;
- class CStudentView : public CRecordView
- {
- protected: // create from serialization only
- CStudentView();
- DECLARE_DYNCREATE(CStudentView)
- public:
- //{{AFX_DATA(CStudentView)
- enum { IDD = IDD_STUDENT_FORM };
- CListCtrl m_Record_List;
- CStudentSet* m_pSet;
- //}}AFX_DATA
- // Attributes
- public:
- CStudentDoc* GetDocument();
- // Operations
- public:
- // Overrides
- // ClassWizard generated virtual function overrides
- //{{AFX_VIRTUAL(CStudentView)
- public:
- virtual CRecordset* OnGetRecordset();
- virtual BOOL PreCreateWindow(CREATESTRUCT& cs);
- protected:
- virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
- virtual void OnInitialUpdate(); // called first time after construct
- virtual BOOL OnPreparePrinting(CPrintInfo* pInfo);
- virtual void OnBeginPrinting(CDC* pDC, CPrintInfo* pInfo);
- virtual void OnEndPrinting(CDC* pDC, CPrintInfo* pInfo);
- virtual void OnDraw(CDC* pDC);
- //}}AFX_VIRTUAL
- // Implementation
- public:
- virtual ~CStudentView();
- #ifdef _DEBUG
- virtual void AssertValid() const;
- virtual void Dump(CDumpContext& dc) const;
- #endif
- protected:
- int i;
- // Generated message map functions
- protected:
- //{{AFX_MSG(CStudentView)
- afx_msg void OnShowButton();
- afx_msg void OnAddButton2();
- afx_msg void OnDeleteButton();
- afx_msg void OnModifyButton();
- afx_msg void OnQueryButton();
- afx_msg void OnSortButton();
- //}}AFX_MSG
- DECLARE_MESSAGE_MAP()
- };
- #ifndef _DEBUG // debug version in studentView.cpp
- inline CStudentDoc* CStudentView::GetDocument()
- { return (CStudentDoc*)m_pDocument; }
- #endif
- /////////////////////////////////////////////////////////////////////////////
- //{{AFX_INSERT_LOCATION}}
- // Microsoft Visual C++ will insert additional declarations immediately before the previous line.
- #endif // !defined(AFX_STUDENTVIEW_H__ED34AEDF_3FBA_4D05_8EC2_EAF489C28288__INCLUDED_)