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

📄 gusepr.cpp

📁 该系统为花店销售管理系统
💻 CPP
字号:
// gusepr.cpp : implementation file
//

#include "stdafx.h"
#include "flowerSaleSystem.h"
#include "gusepr.h"

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

/////////////////////////////////////////////////////////////////////////////
// gusepr dialog


gusepr::gusepr(CWnd* pParent /*=NULL*/)
	: CDialog(gusepr::IDD, pParent)
{
	//{{AFX_DATA_INIT(gusepr)
	m_max = 15.0;
	m_min = 0.0;
	//}}AFX_DATA_INIT
}


void gusepr::DoDataExchange(CDataExchange* pDX)
{
	CDialog::DoDataExchange(pDX);
	//{{AFX_DATA_MAP(gusepr)
	DDX_Text(pDX, IDC_EDITmax, m_max);
	DDX_Text(pDX, IDC_EDITmin, m_min);
	//}}AFX_DATA_MAP
}


BEGIN_MESSAGE_MAP(gusepr, CDialog)
	//{{AFX_MSG_MAP(gusepr)
	ON_BN_CLICKED(IDC_BUTTONsubmit, OnBUTTONsubmit)
	ON_BN_CLICKED(IDC_BUTTONcancel, OnBUTTONcancel)
	//}}AFX_MSG_MAP
END_MESSAGE_MAP()

/////////////////////////////////////////////////////////////////////////////
// gusepr message handlers

BOOL gusepr::OnInitDialog() 
{
	CDialog::OnInitDialog();
	
	// TODO: Add extra initialization here
	UpdateData(FALSE);
	return TRUE;  // return TRUE unless you set the focus to a control
	              // EXCEPTION: OCX Property Pages should return FALSE
}

void gusepr::OnBUTTONsubmit() 
{
	// TODO: Add your control notification handler code here
	UpdateData(TRUE);
	OnOK();
}

void gusepr::OnBUTTONcancel() 
{
	// TODO: Add your control notification handler code here
	OnCancel();
}

⌨️ 快捷键说明

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