📄 su_set_p.cpp
字号:
// su_set_p.cpp : implementation file
//
#include "stdafx.h"
#include "flowerSaleSystem.h"
#include "su_set_p.h"
#ifdef _DEBUG
#define new DEBUG_NEW
#undef THIS_FILE
static char THIS_FILE[] = __FILE__;
#endif
/////////////////////////////////////////////////////////////////////////////
// su_set_p dialog
su_set_p::su_set_p(CWnd* pParent /*=NULL*/)
: CDialog(su_set_p::IDD, pParent)
{
//{{AFX_DATA_INIT(su_set_p)
m_retail = 0.0;
m_whole = 0.0;
//}}AFX_DATA_INIT
}
void su_set_p::DoDataExchange(CDataExchange* pDX)
{
CDialog::DoDataExchange(pDX);
//{{AFX_DATA_MAP(su_set_p)
DDX_Text(pDX, IDC_EDITretail, m_retail);
DDX_Text(pDX, IDC_EDITwhole, m_whole);
//}}AFX_DATA_MAP
}
BEGIN_MESSAGE_MAP(su_set_p, CDialog)
//{{AFX_MSG_MAP(su_set_p)
ON_BN_CLICKED(IDC_BUTTONsubmit, OnBUTTONsubmit)
ON_BN_CLICKED(IDC_BUTTONcancel, OnBUTTONcancel)
//}}AFX_MSG_MAP
END_MESSAGE_MAP()
/////////////////////////////////////////////////////////////////////////////
// su_set_p message handlers
void su_set_p::OnBUTTONsubmit()
{
// TODO: Add your control notification handler code here
OnOK();
}
void su_set_p::OnBUTTONcancel()
{
// TODO: Add your control notification handler code here
OnCancel();
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -