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

📄 speciality.h

📁 自己弄得一个学生管理系统
💻 H
字号:
//{{AFX_INCLUDES()
#include "datagrid.h"
//}}AFX_INCLUDES
#if !defined(AFX_SPECIALITY_H__80E77B22_2F41_4A4A_88E0_FFB2EABE5E94__INCLUDED_)
#define AFX_SPECIALITY_H__80E77B22_2F41_4A4A_88E0_FFB2EABE5E94__INCLUDED_

#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
// Speciality.h : header file
//

/////////////////////////////////////////////////////////////////////////////
// CSpeciality dialog

class CSpeciality : public CDialog
{
// Construction
public:
	CSpeciality(CWnd* pParent = NULL);   // standard constructor

// Dialog Data
	//{{AFX_DATA(CSpeciality)
	enum { IDD = IDD_SPECIALITY };
	CEdit	m_ctrlspename;
	CEdit	m_ctrlspecribes;
	CEdit	m_ctrlspedepa;
	CEdit	m_ctrlspecode;
	CString	m_specode;
	CString	m_spedepa;
	CString	m_spedescribes;
	CString	m_spename;
	CDataGrid	m_spegrid;
	//}}AFX_DATA


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

// Implementation
protected:

	// Generated message map functions
	//{{AFX_MSG(CSpeciality)
	afx_msg void OnSpequire();
	afx_msg void OnSpemodify();
	afx_msg void OnSpeinsert();
	afx_msg void OnSpedelete();
	afx_msg void OnSpesubmit();
	virtual BOOL OnInitDialog();
	afx_msg void OnSpecialitynew();
	//}}AFX_MSG
	DECLARE_MESSAGE_MAP()
public:
	void RefreshInfo();            //用于刷新显示的信息
	bool isRepeated(CString str);  //要插入的元组已经存在
	bool notExist(CString str);    //不存在要删除的元组

	bool insertItem;               //判断是否是插入信息(true为是)
	bool deleteItem;
	bool modifyItem;
	bool queryItem;
};

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

#endif // !defined(AFX_SPECIALITY_H__80E77B22_2F41_4A4A_88E0_FFB2EABE5E94__INCLUDED_)

⌨️ 快捷键说明

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