studentclassr.h

来自「用vc实现的连接sql数据库程序」· C头文件 代码 · 共 62 行

H
62
字号
#if !defined(AFX_STUDENTCLASSR_H__345F447A_5F4E_491F_A505_012CEC7DD549__INCLUDED_)
#define AFX_STUDENTCLASSR_H__345F447A_5F4E_491F_A505_012CEC7DD549__INCLUDED_

#include "StudentInfomation.h"	// Added by ClassView
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
// StudentClassR.h : header file
//

/////////////////////////////////////////////////////////////////////////////
// CStudentClassR dialog

class CStudentClassR : public CDialog
{
// Construction
public:
	void SetDate(scinfo date);
	BOOL GetDateStatus() const;
	scinfo GetDate() const;
	CStudentClassR(CWnd* pParent = NULL);   // standard constructor
	CStudentClassR(scinfo date,CWnd* pParent /*=NULL*/);

// Dialog Data
	//{{AFX_DATA(CStudentClassR)
	enum { IDD = IDD_DIALOG2 };
	CString	m_sno;
	int		m_cno;
	int		m_grade;
	//}}AFX_DATA


// Overrides
	// ClassWizard generated virtual function overrides
	//{{AFX_VIRTUAL(CStudentClassR)
	protected:
	virtual void DoDataExchange(CDataExchange* pDX);    // DDX/DDV support
	//}}AFX_VIRTUAL

// Implementation
public:
	CString m_sWindowTitle;

protected:
	BOOL m_bDateStatus;
	scinfo m_date;

	// Generated message map functions
	//{{AFX_MSG(CStudentClassR)
	virtual void OnOK();
	virtual BOOL OnInitDialog();
	//}}AFX_MSG
	DECLARE_MESSAGE_MAP()
private:
	BOOL CheckDate();
};

//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.

#endif // !defined(AFX_STUDENTCLASSR_H__345F447A_5F4E_491F_A505_012CEC7DD549__INCLUDED_)

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?