customer.h
来自「基于UML的饮料自动售货机系统设计该设计模拟自动售货机的工作原理和方式」· C头文件 代码 · 共 54 行
H
54 行
#if !defined(AFX_CUSTOMER_H__D04D0F58_F574_43FA_B664_BBEEC4F04B7C__INCLUDED_)
#define AFX_CUSTOMER_H__D04D0F58_F574_43FA_B664_BBEEC4F04B7C__INCLUDED_
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
// Customer.h : header file
//
/////////////////////////////////////////////////////////////////////////////
// CCustomer dialog
class CCustomer : public CDialog
{
// Construction
public:
CCustomer(CWnd* pParent = NULL); // standard constructor
// Dialog Data
//{{AFX_DATA(CCustomer)
enum { IDD = IDD_DLG_CUSTOMER };
int m_drink;
CString m_10;
CString m_5;
CString m_1;
CString m_05;
//}}AFX_DATA
// Overrides
// ClassWizard generated virtual function overrides
//{{AFX_VIRTUAL(CCustomer)
protected:
virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
//}}AFX_VIRTUAL
// Implementation
protected:
// Generated message map functions
//{{AFX_MSG(CCustomer)
virtual void OnCancel();
virtual void OnOK();
//}}AFX_MSG
DECLARE_MESSAGE_MAP()
private:
BOOL m_noDrink;
};
//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.
#endif // !defined(AFX_CUSTOMER_H__D04D0F58_F574_43FA_B664_BBEEC4F04B7C__INCLUDED_)
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?