drinksellmachinedlg.h

来自「饮料自动售货机」· C头文件 代码 · 共 68 行

H
68
字号
// DrinkSellMachineDlg.h : header file
//

#if !defined(AFX_DRINKSELLMACHINEDLG_H__6D0478C0_3348_4830_B185_37EC0B7F34CD__INCLUDED_)
#define AFX_DRINKSELLMACHINEDLG_H__6D0478C0_3348_4830_B185_37EC0B7F34CD__INCLUDED_

#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000

/////////////////////////////////////////////////////////////////////////////
// CDrinkSellMachineDlg dialog
#include "DrinkMachine.h"

class CDrinkSellMachineDlg : public CDialog
{
// Construction
public:
	CDrinkSellMachineDlg(CWnd* pParent = NULL);	// standard constructor
    CDrinkMachine m_drinkMachine;
    void DisplayTotalCoin();
    void DisplayLEDInfo();
	void DisplayBlance();
	void DisplauBuyedName();
	void DisSelectLights();
    void DisSellOverLights();
    void DisplayDrinkName();
// Dialog Data
	//{{AFX_DATA(CDrinkSellMachineDlg)
	enum { IDD = IDD_DRINKSELLMACHINE_DIALOG };
	CComboBox	m_cmbCoinValue;
	//}}AFX_DATA

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

// Implementation
protected:
	HICON m_hIcon;

	// Generated message map functions
	//{{AFX_MSG(CDrinkSellMachineDlg)
	virtual BOOL OnInitDialog();
	afx_msg void OnSysCommand(UINT nID, LPARAM lParam);
	afx_msg void OnPaint();
	afx_msg HCURSOR OnQueryDragIcon();
	afx_msg void OnBtnInsertcoin();
	afx_msg void OnBtnEjectcoin();
	afx_msg void OnButtonFirstKey();
	afx_msg void OnButtonSecordKey();
	afx_msg void OnButtonThirdKey();
	afx_msg void OnButtonFourthKey();
	afx_msg void OnButtonFifthKey();
	afx_msg void OnBtnGetBackBlance();
	afx_msg void OnBtnGetBackBuyedDrink();
	afx_msg void OnBtnFillDrink();
	//}}AFX_MSG
	DECLARE_MESSAGE_MAP()
};

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

#endif // !defined(AFX_DRINKSELLMACHINEDLG_H__6D0478C0_3348_4830_B185_37EC0B7F34CD__INCLUDED_)

⌨️ 快捷键说明

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