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

📄 movesetdlg.cpp

📁 毕业设计程序
💻 CPP
字号:
// MoveSetDlg.cpp : implementation file
//

#include "stdafx.h"
#include "毕业设计.h"
#include "MoveSetDlg.h"

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

/////////////////////////////////////////////////////////////////////////////
// CMoveSetDlg dialog


CMoveSetDlg::CMoveSetDlg(CWnd* pParent /*=NULL*/)
	: CDialog(CMoveSetDlg::IDD, pParent)
{
	//{{AFX_DATA_INIT(CMoveSetDlg)
	m_r = 0;
	m_d = 0;
	//}}AFX_DATA_INIT
}


void CMoveSetDlg::DoDataExchange(CDataExchange* pDX)
{
	CDialog::DoDataExchange(pDX);
	//{{AFX_DATA_MAP(CMoveSetDlg)
	DDX_Text(pDX, IDC_EDIT1, m_r);
	DDX_Text(pDX, IDC_EDIT2, m_d);
	//}}AFX_DATA_MAP
}


BEGIN_MESSAGE_MAP(CMoveSetDlg, CDialog)
	//{{AFX_MSG_MAP(CMoveSetDlg)
	ON_BN_CLICKED(IDC_BUTTON2, OnButton2)
	ON_BN_CLICKED(IDC_BUTTON1, OnButton1)
	//}}AFX_MSG_MAP
END_MESSAGE_MAP()

/////////////////////////////////////////////////////////////////////////////
// CMoveSetDlg message handlers

void CMoveSetDlg::OnButton2() 
{
	// TODO: Add your control notification handler code here
	OnCancel();
}

void CMoveSetDlg::OnButton1() 
{
	// TODO: Add your control notification handler code here
	OnOK();
}

BOOL CMoveSetDlg::OnInitDialog() 
{
	CDialog::OnInitDialog();
	
	// TODO: Add extra initialization here
	CWnd * w = GetDlgItem(IDC_EDIT1);
	w->SetFocus();
	
	return TRUE;  // return TRUE unless you set the focus to a control
	              // EXCEPTION: OCX Property Pages should return FALSE
}

⌨️ 快捷键说明

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