sgmoneydlg.cpp

来自「chuxuxitong 功能很强 大家多多支持呀 哈哈后」· C++ 代码 · 共 63 行

CPP
63
字号
// SGmoneyDlg.cpp : implementation file
//

#include "stdafx.h"
#include "储蓄系统.h"
#include "SGmoneyDlg.h"

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

/////////////////////////////////////////////////////////////////////////////
// CSGmoneyDlg dialog


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


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


BEGIN_MESSAGE_MAP(CSGmoneyDlg, CDialog)
	//{{AFX_MSG_MAP(CSGmoneyDlg)
	ON_BN_CLICKED(IDC_SAVEMONEY, OnSavemoney)
	ON_BN_CLICKED(IDC_withdrawmoney, Onwithdrawmoney)
	//}}AFX_MSG_MAP
END_MESSAGE_MAP()

/////////////////////////////////////////////////////////////////////////////
// CSGmoneyDlg message handlers

void CSGmoneyDlg::QueryMoney()
{

}

void CSGmoneyDlg::OnSavemoney() 
{ 
	flag = 1;
	
}

void CSGmoneyDlg::Onwithdrawmoney() 
{
	flag = 0;
	
	
}

⌨️ 快捷键说明

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