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

📄 studyin.h

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

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

/////////////////////////////////////////////////////////////////////////////
// CStudyIn dialog

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

// Dialog Data
	//{{AFX_DATA(CStudyIn)
	enum { IDD = IDD_STUDYIN };
	CEdit	m_ctrlstuinspe;
	CEdit	m_ctrlstuincode;
	CString	m_stuincode;
	CString	m_stuinspecility;
	int		m_stuinclasscify;
	CDataGrid	m_stuingrid;
	//}}AFX_DATA


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

// Implementation
protected:

	// Generated message map functions
	//{{AFX_MSG(CStudyIn)
	virtual BOOL OnInitDialog();
	afx_msg void OnStuinspe();
	afx_msg void OnStuinspesubmit();
	afx_msg void OnStuinspeCode();
	afx_msg void OnStuinspeSpe();
	afx_msg void OnButton1();
	//}}AFX_MSG
	DECLARE_MESSAGE_MAP()
public:
	void RefreshInfo();            //用于刷新显示的信息
//	bool isRepeated(CString str1,CString str2);  //要插入的元组已经存在
	bool notstuExist(CString str);    //不存在要删除的元组
	bool notspeExist(CString str);    //不存在要删除的元组
	bool notExist(CString str1,CString str2);    //不存在要删除的元组

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

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

#endif // !defined(AFX_STUDYIN_H__A62D8777_5C34_437D_88D5_0E0FD3CF2CDF__INCLUDED_)

⌨️ 快捷键说明

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