www.pudn.com > JingXiang-Design-Jeff.rar > ForStep.cpp
// ForStep.cpp : implementation file
//
#include "stdafx.h"
#include "Design.h"
#include "ForStep.h"
#ifdef _DEBUG
#define new DEBUG_NEW
#undef THIS_FILE
static char THIS_FILE[] = __FILE__;
#endif
/////////////////////////////////////////////////////////////////////////////
// ForStep dialog
ForStep::ForStep(CWnd* pParent /*=NULL*/)
: CDialog(ForStep::IDD, pParent)
{
//{{AFX_DATA_INIT(ForStep)
m_Step_Text = _T("");
//}}AFX_DATA_INIT
StepTxt[0]="测定体积分数...";
StepTxt[1]="测定晶粒度...";
StepTxt[3]="测定粒子直径...";
StepTxt[2]="测定粒子间距...";
StepTxt[4]="测定不均匀度...";
StepTxt[5]="测定完成";
}
void ForStep::DoDataExchange(CDataExchange* pDX)
{
CDialog::DoDataExchange(pDX);
//{{AFX_DATA_MAP(ForStep)
DDX_Text(pDX, IDC_EDIT1, m_Step_Text);
//}}AFX_DATA_MAP
}
BEGIN_MESSAGE_MAP(ForStep, CDialog)
//{{AFX_MSG_MAP(ForStep)
//}}AFX_MSG_MAP
END_MESSAGE_MAP()
/////////////////////////////////////////////////////////////////////////////
// ForStep message handlers
void ForStep::PostNcDestroy()
{
CDialog::PostNcDestroy();
delete this;
}
BOOL ForStep::OnInitDialog()
{
this->m_Step_Text="";
CDialog::OnInitDialog();
StepTxt[0]="测定体积分数...";
StepTxt[1]="测定晶粒度...";
StepTxt[3]="测定粒子直径...";
StepTxt[2]="测定粒子间距...";
StepTxt[4]="测定不均匀度...";
StepTxt[5]="测定完成";
// TODO: Add extra initialization here
return TRUE; // return TRUE unless you set the focus to a control
// EXCEPTION: OCX Property Pages should return FALSE
}