su_set_d.cpp

来自「该系统为花店销售管理系统」· C++ 代码 · 共 67 行

CPP
67
字号
// su_set_d.cpp : implementation file
//

#include "stdafx.h"
#include "flowerSaleSystem.h"
#include "su_set_d.h"

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

/////////////////////////////////////////////////////////////////////////////
// su_set_d dialog


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


void su_set_d::DoDataExchange(CDataExchange* pDX)
{
	CDialog::DoDataExchange(pDX);
	//{{AFX_DATA_MAP(su_set_d)
	DDX_Control(pDX, IDC_COMBO1, m_com);
	DDX_CBString(pDX, IDC_COMBO1, m_dis);
	//}}AFX_DATA_MAP
}


BEGIN_MESSAGE_MAP(su_set_d, CDialog)
	//{{AFX_MSG_MAP(su_set_d)
	//}}AFX_MSG_MAP
END_MESSAGE_MAP()

/////////////////////////////////////////////////////////////////////////////
// su_set_d message handlers

void su_set_d::OnOK() 
{
	// TODO: Add extra validation here
	UpdateData(TRUE);
	CDialog::OnOK();
}

void su_set_d::OnCancel() 
{
	// TODO: Add extra cleanup here
	
	CDialog::OnCancel();
}

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

⌨️ 快捷键说明

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