📄 subform1.h
字号:
#if !defined(AFX_SUBFORM1_H__924E2C4E_12CB_4C01_9228_5724DCBC5C3F__INCLUDED_)
#define AFX_SUBFORM1_H__924E2C4E_12CB_4C01_9228_5724DCBC5C3F__INCLUDED_
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
#include "学生成绩管理系统Doc.h"
#include "ClassSet.h"
#include "CourseSet.h"
#include "GradeSet.h"
#include "StudentSet.h"
// SubForm1.h : header file
//
/////////////////////////////////////////////////////////////////////////////
// CSubForm1 form view
#ifndef __AFXEXT_H__
#include <afxext.h>
#endif
class CSubForm1 : public CFormView
{
public:
CSubForm1(); // protected constructor used by dynamic creation
DECLARE_DYNCREATE(CSubForm1)
CBitmap dayin1,dayin2,preview1,preview2;
// Form Data
public:
//{{AFX_DATA(CSubForm1)
enum { IDD = IDD_MY_FORM1 };
CComboBox m_comboyear;
CComboBox m_combozhuanyie;
CComboBox m_combocourse;
CComboBox m_comboclass;
CListCtrl m_listsearch;
CString m_searchname;
CString m_searchno;
//}}AFX_DATA
// Attributes
public:
CMyDoc* GetDocument();
CStudentSet m_studentset;
CClassSet m_classset;
CCourseSet m_courseset;
CGradeSet m_gradeset;
// Operations
public:
void OutputReport(CDC* pDC,CPrintInfo* pInfo);
// Overrides
// ClassWizard generated virtual function overrides
//{{AFX_VIRTUAL(CSubForm1)
public:
virtual BOOL Create(LPCTSTR lpszClassName, LPCTSTR lpszWindowName, DWORD dwStyle, const RECT& rect, CWnd* pParentWnd, UINT nID, CCreateContext* pContext = NULL);
virtual void OnInitialUpdate();
protected:
virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
virtual void OnDraw(CDC* pDC);
virtual void OnBeginPrinting(CDC* pDC, CPrintInfo* pInfo);
virtual void OnEndPrinting(CDC* pDC, CPrintInfo* pInfo);
virtual void OnPrint(CDC* pDC, CPrintInfo* pInfo);
virtual BOOL OnPreparePrinting(CPrintInfo* pInfo);
virtual BOOL PreCreateWindow(CREATESTRUCT& cs);
//}}AFX_VIRTUAL
// Implementation
protected:
virtual ~CSubForm1();
#ifdef _DEBUG
virtual void AssertValid() const;
virtual void Dump(CDumpContext& dc) const;
#endif
// Generated message map functions
//{{AFX_MSG(CSubForm1)
afx_msg void OnSelendokComboclass();
afx_msg void OnSelendokCombocourse();
afx_msg void OnSelendokComboyear();
afx_msg void OnSelendokCombozhuanyie();
afx_msg void OnButtonsearch();
afx_msg void OnButtonrefresh();
//}}AFX_MSG
DECLARE_MESSAGE_MAP()
};
#ifndef _DEBUG // debug version in 学生成绩管理系统View.cpp
inline CMyDoc* CSubForm1::GetDocument()
{ return (CMyDoc*)m_pDocument; }
#endif
/////////////////////////////////////////////////////////////////////////////
//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.
#endif // !defined(AFX_SUBFORM1_H__924E2C4E_12CB_4C01_9228_5724DCBC5C3F__INCLUDED_)
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -