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

📄 coursedlg.h

📁 使用DAO操作数据库 要运行程序必须将数据库文件course.mdb与可执行文件放在一起
💻 H
字号:
// CourseDlg.h : header file
//

#if !defined(AFX_COURSEDLG_H__FA4104EB_0FCD_4AE4_8596_878FD2461AA7__INCLUDED_)
#define AFX_COURSEDLG_H__FA4104EB_0FCD_4AE4_8596_878FD2461AA7__INCLUDED_

#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
#include "MyCourse.h"

/////////////////////////////////////////////////////////////////////////////
// CCourseDlg dialog

class CCourseDlg : public CDialog
{
// Construction
public:
	void setstate(bool breadstate);
	void displaydata();
	CCourseDlg(CWnd* pParent = NULL);	// standard constructor
	int state;
	int old;	
	MyCourse thecourse;
// Dialog Data
	//{{AFX_DATA(CCourseDlg)
	enum { IDD = IDD_COURSE_DIALOG };
	CButton	m_save;
	CButton	m_NEXT;
	CButton	m_LAST;
	CButton	m_BEFORE;
	CButton	m_FIRST;
	CButton	m_delete;
	CButton	m_edit;
	CEdit	m_TIME;
	CEdit	m_TEACHER;
	CEdit	m_NAME;
	CEdit	m_MARK;
	CEdit	m_ID;
	//}}AFX_DATA

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

// Implementation
protected:
	HICON m_hIcon;

	// Generated message map functions
	//{{AFX_MSG(CCourseDlg)
	virtual BOOL OnInitDialog();
	afx_msg void OnSysCommand(UINT nID, LPARAM lParam);
	afx_msg void OnPaint();
	afx_msg HCURSOR OnQueryDragIcon();
	afx_msg void Onadd();
	afx_msg void Onedit();
	afx_msg void Onsave();
	afx_msg void Ondelete();
	afx_msg void OnFirst();
	afx_msg void OnBefore();
	afx_msg void OnNEXT();
	afx_msg void OnLast();
	//}}AFX_MSG
	DECLARE_MESSAGE_MAP()
};

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

#endif // !defined(AFX_COURSEDLG_H__FA4104EB_0FCD_4AE4_8596_878FD2461AA7__INCLUDED_)

⌨️ 快捷键说明

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