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

📄 bufdlg.h

📁 这是一个比较典型的vc做的智能安防报警系统
💻 H
字号:
#if !defined(AFX_BUFDLG_H__F2E19444_DA57_4F35_B74F_C78D93D7D5F2__INCLUDED_)
#define AFX_BUFDLG_H__F2E19444_DA57_4F35_B74F_C78D93D7D5F2__INCLUDED_

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

#include "SetParaDlg.h"

/////////////////////////////////////////////////////////////////////////////
// CBufDlg dialog

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

// Dialog Data
	//{{AFX_DATA(CBufDlg)
	enum { IDD = IDD_BUFPARA };
	CString	m_bfCode;
	CString	m_bfName;
	CString	m_bfNumber;
	//}}AFX_DATA
	CString m_bfProperty;	//串、并口
	CString	m_bfInUse;		//是否启用

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

// Implementation
protected:
	BOOL DataCheck();
	void AddNew();
	void Editbf();
	void FillRecord(_RecordsetPtr r);

	// Generated message map functions
	//{{AFX_MSG(CBufDlg)
	virtual BOOL OnInitDialog();
	virtual void OnOK();
	afx_msg void OnChangeEditcode();
	afx_msg void OnChangeEditport();
	//}}AFX_MSG
	DECLARE_MESSAGE_MAP()
};

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

#endif // !defined(AFX_BUFDLG_H__F2E19444_DA57_4F35_B74F_C78D93D7D5F2__INCLUDED_)

⌨️ 快捷键说明

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