?? insertdlg.cpp
字號:
// InsertDlg.cpp : implementation file
//
#include "stdafx.h"
#include "ShopingList.h"
#include "InsertDlg.h"
#ifdef _DEBUG
#define new DEBUG_NEW
#undef THIS_FILE
static char THIS_FILE[] = __FILE__;
#endif
/////////////////////////////////////////////////////////////////////////////
// CInsertDlg dialog
CInsertDlg::CInsertDlg(CWnd* pParent /*=NULL*/)
: CDialog(CInsertDlg::IDD, pParent)
{
//{{AFX_DATA_INIT(CInsertDlg)
m_sPdtName = _T("");
m_nQty = 0;
m_fStore1 = 0.0f;
m_fStore2 = 0.0f;
m_fStore3 = 0.0f;
m_fStore4 = 0.0f;
//}}AFX_DATA_INIT
}
void CInsertDlg::DoDataExchange(CDataExchange* pDX)
{
CDialog::DoDataExchange(pDX);
//{{AFX_DATA_MAP(CInsertDlg)
DDX_Text(pDX, IDC_PDT_NAME_EDIT, m_sPdtName);
DDX_Text(pDX, IDC_QTY_EDIT, m_nQty);
DDX_Text(pDX, IDC_STORE1_EDIT, m_fStore1);
DDX_Text(pDX, IDC_STORE2_EDIT, m_fStore2);
DDX_Text(pDX, IDC_STORE3_EDIT, m_fStore3);
DDX_Text(pDX, IDC_STORE4_EDIT, m_fStore4);
//}}AFX_DATA_MAP
}
BEGIN_MESSAGE_MAP(CInsertDlg, CDialog)
//{{AFX_MSG_MAP(CInsertDlg)
// NOTE: the ClassWizard will add message map macros here
//}}AFX_MSG_MAP
END_MESSAGE_MAP()
/////////////////////////////////////////////////////////////////////////////
// CInsertDlg message handlers
?? 快捷鍵說明
復(fù)制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -