deletegoodsdlg.cpp

来自「一个基于VC6.0MFC的超市管理系统,SQL SERVER 2000数据库.实」· C++ 代码 · 共 55 行

CPP
55
字号
// DeleteGoodsDlg.cpp : implementation file
//

#include "stdafx.h"
#include "MarketManager.h"
#include "DeleteGoodsDlg.h"

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

/////////////////////////////////////////////////////////////////////////////
// CDeleteGoodsDlg dialog


CDeleteGoodsDlg::CDeleteGoodsDlg(CWnd* pParent /*=NULL*/)
	: CDialog(CDeleteGoodsDlg::IDD, pParent)
{
	//{{AFX_DATA_INIT(CDeleteGoodsDlg)
	m_no = _T("");
	//}}AFX_DATA_INIT
	m_title=_T("");
}


void CDeleteGoodsDlg::DoDataExchange(CDataExchange* pDX)
{
	CDialog::DoDataExchange(pDX);
	//{{AFX_DATA_MAP(CDeleteGoodsDlg)
	DDX_Text(pDX, ID_DELETE_NO, m_no);
	DDV_MaxChars(pDX, m_no, 10);
	//}}AFX_DATA_MAP
}


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

/////////////////////////////////////////////////////////////////////////////
// CDeleteGoodsDlg message handlers

BOOL CDeleteGoodsDlg::OnInitDialog() 
{
	CDialog::OnInitDialog();
	
	// TODO: Add extra initialization here
	SetWindowText(m_title);
	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 + -
显示快捷键?