materials.h

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

H
64
字号
#if !defined(AFX_MATERIAL_H__F0CB4182_B3F9_11D7_868E_00E04C826851__INCLUDED_)
#define AFX_MATERIAL_H__F0CB4182_B3F9_11D7_868E_00E04C826851__INCLUDED_

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

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

// Dialog Data
	//{{AFX_DATA(CMaterialS)
	enum { IDD = IDD_DIALOG21 };
	CComboBox	m_ctlCbCClass;
	CComboBox	m_ctlCbSupply;
	CString	m_strSerial;
	CString	m_strPName;
	CString	m_strPCode;
	CString	m_strUnit;
	CString	m_strDemo;
	CString	m_strCClass;
	CString	m_strSupply;
	CString	m_strPType;
	//}}AFX_DATA


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

// Implementation
protected:

	// Generated message map functions
	//{{AFX_MSG(CMaterialS)
	virtual BOOL OnInitDialog();
	afx_msg void OnButton1();
	afx_msg void OnButton2();
	afx_msg void OnClose();
	afx_msg void OnKillfocusCombo1();
	afx_msg void OnButton5();
	//}}AFX_MSG
	DECLARE_MESSAGE_MAP()
public:
	CDaoRecordset *m_pCClass,*m_pMaterial,*m_pSupply;
	int m_nID;
};

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

#endif // !defined(AFX_MATERIAL_H__F0CB4182_B3F9_11D7_868E_00E04C826851__INCLUDED_)

⌨️ 快捷键说明

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