deletedialog.cpp

来自「本系统是一个基于Windows平台」· C++ 代码 · 共 56 行

CPP
56
字号
// DeleteDialog.cpp : implementation file
//

#include "stdafx.h"
#include "Cg50.h"
#include "DeleteDialog.h"

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

/////////////////////////////////////////////////////////////////////////////
// CDeleteDialog dialog


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


void CDeleteDialog::DoDataExchange(CDataExchange* pDX)
{
	CDialog::DoDataExchange(pDX);
	//{{AFX_DATA_MAP(CDeleteDialog)
	//}}AFX_DATA_MAP
}


BEGIN_MESSAGE_MAP(CDeleteDialog, CDialog)
	//{{AFX_MSG_MAP(CDeleteDialog)
	ON_BN_CLICKED(IDC_ROUND, OnRound)
	ON_BN_CLICKED(IDC_RECT, OnRect)
	//}}AFX_MSG_MAP
END_MESSAGE_MAP()

/////////////////////////////////////////////////////////////////////////////
// CDeleteDialog message handlers

void CDeleteDialog::OnRound() 
{
	// TODO: Add your control notification handler code here
	m_select = 1;
}

void CDeleteDialog::OnRect() 
{
	// TODO: Add your control notification handler code here
	m_select = 0;
}

⌨️ 快捷键说明

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