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

📄 editdialog.h

📁 本程序是一个用于管理学生成绩例子.通过利用MFC的DAO类
💻 H
字号:
#if !defined(AFX_EDITDIALOG_H__C7AAFBFF_9920_416F_8019_2B4E230F273A__INCLUDED_)
#define AFX_EDITDIALOG_H__C7AAFBFF_9920_416F_8019_2B4E230F273A__INCLUDED_

#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
// EditDialog.h : header file
#include "LinkButton.h"
/////////////////////////////////////////////////////////////////////////////
// CEditDialog dialog

class CEditDialog : public CDialog
{
// Construction
public:
	CEditDialog(CWnd* pParent = NULL);   // standard constructor
void GetSet(CDaoRecordset *pSet,CDaoDatabase* pDB,long n,CString str);
	void Set();
// Dialog Data
	//{{AFX_DATA(CEditDialog)
	enum { IDD = IDD_EDIT };
	CLinkButton	m_Cancel;
	CLinkButton	m_Edit;
	float	m_f1;
	float	m_f2;
	float	m_f3;
	float	m_f4;
	float	m_f5;
	float	m_f6;
	float	m_f7;
	float	m_f8;
	float	m_f9;
	float	m_f10;
	long	m_xue;
	CString	m_strName;
	//}}AFX_DATA


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

// Implementation
protected:

	// Generated message map functions
	//{{AFX_MSG(CEditDialog)
	virtual BOOL OnInitDialog();
	afx_msg void OnEdit();
	//}}AFX_MSG
	DECLARE_MESSAGE_MAP()
private:
CDaoRecordset *m_pSet;
CDaoDatabase *m_pDB;
long m_nField;
CString m_GetString;
CString str1,str2,str3,str4,str5,str6,str7,str8,str9,str10;
};

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

#endif // !defined(AFX_EDITDIALOG_H__C7AAFBFF_9920_416F_8019_2B4E230F273A__INCLUDED_)

⌨️ 快捷键说明

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