products.h

来自「一个很好的VC源代码」· C头文件 代码 · 共 63 行

H
63
字号
#if !defined(AFX_PRODUCT_H__2826B8E6_B6D3_11D7_868E_00E04C826851__INCLUDED_)
#define AFX_PRODUCT_H__2826B8E6_B6D3_11D7_868E_00E04C826851__INCLUDED_

#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
// Product.h : header file
//
#include "ParentDlg.h"
/////////////////////////////////////////////////////////////////////////////
// CProductS dialog

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

// Dialog Data
	//{{AFX_DATA(CProductS)
	enum { IDD = IDD_DIALOG23 };
	int		m_nRadio;
	CString	m_strSerial;
	CString	m_strPName;
	CString	m_strPCode;
	CString	m_strUnit;
	CString	m_strDemo;
	//}}AFX_DATA


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

// Implementation
protected:

	// Generated message map functions
	//{{AFX_MSG(CProductS)
	virtual BOOL OnInitDialog();
	afx_msg void OnButton3();
	afx_msg void OnButton4();
	afx_msg void OnClose();
	afx_msg void OnKillfocusEdit1();
	afx_msg void OnRadio1();
	afx_msg void OnRadio2();
	afx_msg void OnButton8();
	//}}AFX_MSG
	DECLARE_MESSAGE_MAP()
public:
	CDaoRecordset *m_pProduct;
	CString m_strCodeOld;
	BOOL m_bAlter;				//是否要删除旧表并建立新表
};

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

#endif // !defined(AFX_PRODUCT_H__2826B8E6_B6D3_11D7_868E_00E04C826851__INCLUDED_)

⌨️ 快捷键说明

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