_tuichu.cpp

来自「计算器源代码」· C++ 代码 · 共 58 行

CPP
58
字号
// _tuichu.cpp : implementation file
//

#include "stdafx.h"
#include "jisuanqi.h"
#include "_tuichu.h"

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

/////////////////////////////////////////////////////////////////////////////
// C_tuichu dialog


C_tuichu::C_tuichu(CWnd* pParent /*=NULL*/)
	: CDialog(C_tuichu::IDD, pParent)
{
	//{{AFX_DATA_INIT(C_tuichu)
		// NOTE: the ClassWizard will add member initialization here
	//}}AFX_DATA_INIT
}


void C_tuichu::DoDataExchange(CDataExchange* pDX)
{
	CDialog::DoDataExchange(pDX);
	//{{AFX_DATA_MAP(C_tuichu)
		// NOTE: the ClassWizard will add DDX and DDV calls here
	//}}AFX_DATA_MAP
}


BEGIN_MESSAGE_MAP(C_tuichu, CDialog)
	//{{AFX_MSG_MAP(C_tuichu)
	//}}AFX_MSG_MAP
END_MESSAGE_MAP()

/////////////////////////////////////////////////////////////////////////////
// C_tuichu message handlers

void C_tuichu::OnCancel() 
{
	// TODO: Add extra cleanup here
	
	CDialog::OnCancel();
}

void C_tuichu::OnOK() 
{
	// TODO: Add extra validation here
	AfxMessageBox("感谢您使用",MB_OK);
	exit(0);
	CDialog::OnOK();
}

⌨️ 快捷键说明

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