⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 studentinfomation.h

📁 用vc实现的连接sql数据库程序
💻 H
字号:
#if !defined(AFX_STUDENTINFOMATION_H__46ADE852_C306_42F2_B0AA_5AB7A666B696__INCLUDED_)
#define AFX_STUDENTINFOMATION_H__46ADE852_C306_42F2_B0AA_5AB7A666B696__INCLUDED_

#include "数据库作业View.h"	// Added by ClassView
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
// StudentInfomation.h : header file
//

/////////////////////////////////////////////////////////////////////////////
// CStudentInfomation dialog
struct studentinfo 
{
	CString no;
	CString name;
	int age;
	CString sex;
	CString dept;
};
struct classinfo 
{
	int no;
	CString name;
	int prve;
	int cedit;
};
struct scinfo 
{
	CString sno;
	int cno;
	int grade;
};
class CStudentInfomation : public CDialog
{
// Construction
public:
	CString m_sWindowTitle;
	void SetDate(studentinfo data);
	BOOL GetDateStatus() const;
	studentinfo GetDate() const;
	BOOL bIsNew;
	CStudentInfomation(CWnd* pParent = NULL);   // standard constructor

// Dialog Data
	//{{AFX_DATA(CStudentInfomation)
	enum { IDD = IDD_DIALOG1 };
	CString	m_sno;
	CString	m_sname;
	int		m_sage;
	CString	m_ssex;
	CString	m_sdept;
	//}}AFX_DATA


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

// Implementation
protected:
	BOOL m_bDateStatus;
	studentinfo m_date;

	// Generated message map functions
	//{{AFX_MSG(CStudentInfomation)
	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_STUDENTINFOMATION_H__46ADE852_C306_42F2_B0AA_5AB7A666B696__INCLUDED_)

⌨️ 快捷键说明

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