⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 timeset.h

📁 一个网络监视的程序
💻 H
字号:
#if !defined(AFX_TIMESET_H__F4855923_4F4C_43C9_9F6E_E916EA103B2E__INCLUDED_)
#define AFX_TIMESET_H__F4855923_4F4C_43C9_9F6E_E916EA103B2E__INCLUDED_

#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
// TimeSet.h : header file
//

/////////////////////////////////////////////////////////////////////////////
// CTimeSet dialog

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

// Dialog Data
	//{{AFX_DATA(CTimeSet)
	enum { IDD = IDD_DIALOG_SET };
	int		m_nHisTime;
	int		m_nRefTime;
	//}}AFX_DATA


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

// Implementation
protected:

	// Generated message map functions
	//{{AFX_MSG(CTimeSet)
		// NOTE: the ClassWizard will add member functions here
	//}}AFX_MSG
	DECLARE_MESSAGE_MAP()
};

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

/////////////////////////////////////////////////////////////////////////////
// CTimeSet dialog

/*
// TimeSet.cpp : implementation file
#include "stdafx.h"
#include "ccams.h"
#include "TimeSet.h"
#ifdef _DEBUG
#define new DEBUG_NEW
#undef THIS_FILE
static char THIS_FILE[] = __FILE__;
#endif
*/

CTimeSet::CTimeSet(CWnd* pParent /*=NULL*/)
	: CDialog(CTimeSet::IDD, pParent)
{
	//{{AFX_DATA_INIT(CTimeSet)
	m_nHisTime = 0;
	m_nRefTime = 0;
	//}}AFX_DATA_INIT
}

void CTimeSet::DoDataExchange(CDataExchange* pDX)
{
	CDialog::DoDataExchange(pDX);
	//{{AFX_DATA_MAP(CTimeSet)
	DDX_Text(pDX, IDC_EDIT_HISTIME, m_nHisTime);
	DDV_MinMaxInt(pDX, m_nHisTime, 10, 120);
	DDX_Text(pDX, IDC_EDIT_REFRESHTIME, m_nRefTime);
	DDV_MinMaxInt(pDX, m_nRefTime, 0, 30);
	//}}AFX_DATA_MAP
}


BEGIN_MESSAGE_MAP(CTimeSet, CDialog)
	//{{AFX_MSG_MAP(CTimeSet)
		// NOTE: the ClassWizard will add message map macros here
	//}}AFX_MSG_MAP
END_MESSAGE_MAP()

/////////////////////////////////////////////////////////////////////////////
// CTimeSet message handlers



#endif // !defined(AFX_TIMESET_H__F4855923_4F4C_43C9_9F6E_E916EA103B2E__INCLUDED_)

⌨️ 快捷键说明

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