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

📄 depatels.h

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

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

/////////////////////////////////////////////////////////////////////////////
// CDepaTels dialog

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

	void RefreshInfo();            //用于刷新显示的信息
	bool isRepeated(CString str1,CString str2);  //要插入的元组已经存在
	bool notExist(CString str1,CString str2);    //不存在要删除的元组
	bool notExist(CString str1);    //不存在要删除的元组

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


// Dialog Data
	//{{AFX_DATA(CDepaTels)
	enum { IDD = IDD_DEPATELS };
	CEdit	m_ctrlnewtel;
	CEdit	m_ctrltels;
	CEdit	m_ctrldeptels;
	CString	m_deptels;
	CString	m_tels;
	CDataGrid	m_grid;
	CString	m_newtel;
	//}}AFX_DATA


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

// Implementation
protected:

	// Generated message map functions
	//{{AFX_MSG(CDepaTels)
	afx_msg void OnTELenqu();
	virtual BOOL OnInitDialog();
	afx_msg void OnTELchg();
	afx_msg void OnTELins();
	afx_msg void OnTELdele();
	afx_msg void OnTsubmit();
	afx_msg void OnDeptelnew();
	//}}AFX_MSG
	DECLARE_MESSAGE_MAP()
};

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

#endif // !defined(AFX_DEPATELS_H__8F0E8F83_1E1C_49FF_A106_AE60917ED08E__INCLUDED_)

⌨️ 快捷键说明

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