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

📄 accountno2.cpp

📁 一个模仿ATM提款机的MFC程序
💻 CPP
字号:
// Accountno2.cpp : implementation file
//

#include "stdafx.h"
#include "ATM.h"
#include "Accountno2.h"

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

/////////////////////////////////////////////////////////////////////////////
// CAccountno2 dialog


CAccountno2::CAccountno2(CWnd* pParent /*=NULL*/)
	: CDialog(CAccountno2::IDD, pParent)
{
	//{{AFX_DATA_INIT(CAccountno2)
	m_accountno2 = _T("");
	//}}AFX_DATA_INIT
}


void CAccountno2::DoDataExchange(CDataExchange* pDX)
{
	CDialog::DoDataExchange(pDX);
	//{{AFX_DATA_MAP(CAccountno2)
	DDX_Control(pDX, IDC_ACCOUNTNO2, m_accountno2edit);
	DDX_Text(pDX, IDC_ACCOUNTNO2, m_accountno2);
	//}}AFX_DATA_MAP
}


BEGIN_MESSAGE_MAP(CAccountno2, CDialog)
	//{{AFX_MSG_MAP(CAccountno2)
	ON_BN_CLICKED(IDC_CORRECT, OnCorrect)
	//}}AFX_MSG_MAP
END_MESSAGE_MAP()

/////////////////////////////////////////////////////////////////////////////
// CAccountno2 message handlers

void CAccountno2::OnCorrect() 
{
	// TODO: Add your control notification handler code here
	m_accountno2edit.SetWindowText("");
	
}

void CAccountno2::OnOK() 
{
	// TODO: Add extra validation here
	
	CDialog::OnOK();
}

⌨️ 快捷键说明

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