AutoStart.cpp

SmaugWizard/Src/AutoStart.cpp · 1.1 KB

From the archive SmaugWiz203.zip

Download the archive   « Back to the archive contents

// AutoStart.cpp : implementation file
//

#include	"stdafx.h"
#include	"SmaugWiz.h"
#include	"AutoStart.h"

#ifdef _DEBUG
#define new DEBUG_NEW
#undef THIS_FILE
static char THIS_FILE[] = __FILE__;
#endif

/////////////////////////////////////////////////////////////////////////////
// CAutoStart dialog


CAutoStart::CAutoStart(CWnd* pParent /*=NULL*/)
	: CDialog(CAutoStart::IDD, pParent)
{
	//{{AFX_DATA_INIT(CAutoStart)
	m_Time = 0;
	//}}AFX_DATA_INIT

	m_pParent = pParent;
	m_nID = CAutoStart::IDD;
	m_bCancel = m_bStartNow = FALSE;
}


void CAutoStart::DoDataExchange(CDataExchange* pDX)
{
	CDialog::DoDataExchange(pDX);
	//{{AFX_DATA_MAP(CAutoStart)
	DDX_Text(pDX, IDC_SCOUNT, m_Time);
	//}}AFX_DATA_MAP
}


BEGIN_MESSAGE_MAP(CAutoStart, CDialog)
	//{{AFX_MSG_MAP(CAutoStart)
	ON_BN_CLICKED(IDC_STNOW, OnStartNow)
	//}}AFX_MSG_MAP
END_MESSAGE_MAP()

/////////////////////////////////////////////////////////////////////////////
// CAutoStart message handlers

void CAutoStart::OnCancel () 
{
	m_bCancel = TRUE;
}

void CAutoStart::OnStartNow() 
{
	m_bStartNow = TRUE;
}

Site Stats

Snippets: 1791
Codebases: 571