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

📄 movework.cpp

📁 模拟操作系统存储功能的软件可以供教学研究
💻 CPP
字号:
// MoveWork.cpp : implementation file
//

#include "stdafx.h"
#include "opp.h"
#include "MoveWork.h"

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

/////////////////////////////////////////////////////////////////////////////
// CMoveWork dialog


CMoveWork::CMoveWork(CWnd* pParent /*=NULL*/)
	: CDialog(CMoveWork::IDD, pParent)
{
	//{{AFX_DATA_INIT(CMoveWork)
	m_name = 0;
	m_size = 0;
	//}}AFX_DATA_INIT
}


void CMoveWork::DoDataExchange(CDataExchange* pDX)
{
	CDialog::DoDataExchange(pDX);
	//{{AFX_DATA_MAP(CMoveWork)
	DDX_Text(pDX, IDC_EDIT1, m_name);
	DDX_Text(pDX, IDC_EDIT2, m_size);
	//}}AFX_DATA_MAP
}


BEGIN_MESSAGE_MAP(CMoveWork, CDialog)
	//{{AFX_MSG_MAP(CMoveWork)
	ON_BN_CLICKED(IDC_RADIO1, OnRadio1)
	ON_BN_CLICKED(IDC_RADIO2, OnRadio2)
	//}}AFX_MSG_MAP
END_MESSAGE_MAP()

/////////////////////////////////////////////////////////////////////////////
// CMoveWork message handlers

void CMoveWork::OnRadio1() 
{
	// TODO: Add your control notification handler code here
	sign = 1;
}

void CMoveWork::OnRadio2() 
{
	// TODO: Add your control notification handler code here
	sign = 2;
}

BOOL CMoveWork::OnInitDialog() 
{
	CDialog::OnInitDialog();
	CEdit* pEdit=(CEdit*) GetDlgItem(IDC_EDIT1);
	pEdit->GetFocus();
	// TODO: Add extra initialization here
	
	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 + -