zhuxiao.cpp
来自「MFC写的银行储蓄系统」· C++ 代码 · 共 59 行
CPP
59 行
// ZHUXIAO.cpp : implementation file
//
#include "stdafx.h"
#include "银行储蓄系统.h"
#include "ZHUXIAO.h"
#ifdef _DEBUG
#define new DEBUG_NEW
#undef THIS_FILE
static char THIS_FILE[] = __FILE__;
#endif
/////////////////////////////////////////////////////////////////////////////
// CZHUXIAO dialog
CZHUXIAO::CZHUXIAO(CWnd* pParent /*=NULL*/)
: CDialog(CZHUXIAO::IDD, pParent)
{
//{{AFX_DATA_INIT(CZHUXIAO)
// NOTE: the ClassWizard will add member initialization here
//}}AFX_DATA_INIT
}
void CZHUXIAO::DoDataExchange(CDataExchange* pDX)
{
CDialog::DoDataExchange(pDX);
//{{AFX_DATA_MAP(CZHUXIAO)
// NOTE: the ClassWizard will add DDX and DDV calls here
//}}AFX_DATA_MAP
}
BEGIN_MESSAGE_MAP(CZHUXIAO, CDialog)
//{{AFX_MSG_MAP(CZHUXIAO)
ON_BN_CLICKED(IDC_YES_BUTTON, OnYesButton)
ON_BN_CLICKED(IDC_NO_BUTTON, OnNoButton)
//}}AFX_MSG_MAP
END_MESSAGE_MAP()
/////////////////////////////////////////////////////////////////////////////
// CZHUXIAO message handlers
void CZHUXIAO::OnYesButton()
{
// TODO: Add your control notification handler code here
tag=1;
OnOK();
}
void CZHUXIAO::OnNoButton()
{
// TODO: Add your control notification handler code here
tag=2;
OnOK();
}
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?