www.pudn.com > wendu.rar > WenduDlg.h
// WenduDlg.h : header file
//
#if !defined(AFX_WENDUDLG_H__D7C55BC8_6AB8_42E6_99EA_F364C577A3A0__INCLUDED_)
#define AFX_WENDUDLG_H__D7C55BC8_6AB8_42E6_99EA_F364C577A3A0__INCLUDED_
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
#include "Test.h"
//²úÉúËæ»úÊý
#define GetRandom( min, max ) ((rand() % (int)(((max)+1) - (min))) + (min))
/////////////////////////////////////////////////////////////////////////////
// CWenduDlg dialog
class CWenduDlg : public CDialog
{
// Construction
public:
CWenduDlg(CWnd* pParent = NULL); // standard constructor
// Dialog Data
//{{AFX_DATA(CWenduDlg)
enum { IDD = IDD_WENDU_DIALOG };
CTest m_Temp2;
CTest m_Temperature;
//}}AFX_DATA
// ClassWizard generated virtual function overrides
//{{AFX_VIRTUAL(CWenduDlg)
protected:
virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
//}}AFX_VIRTUAL
// Implementation
protected:
HICON m_hIcon;
// Generated message map functions
//{{AFX_MSG(CWenduDlg)
virtual BOOL OnInitDialog();
afx_msg void OnSysCommand(UINT nID, LPARAM lParam);
afx_msg void OnPaint();
afx_msg HCURSOR OnQueryDragIcon();
afx_msg void OnTimer(UINT nIDEvent);
//}}AFX_MSG
DECLARE_MESSAGE_MAP()
};
//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.
#endif // !defined(AFX_WENDUDLG_H__D7C55BC8_6AB8_42E6_99EA_F364C577A3A0__INCLUDED_)