56 lines
1.2 KiB
C++
56 lines
1.2 KiB
C++
// PropComp.cpp : implementation file
|
|
//
|
|
|
|
#include "stdafx.h"
|
|
#include "CB32.h"
|
|
#include "PropComp.h"
|
|
|
|
#ifdef _DEBUG
|
|
#define new DEBUG_NEW
|
|
#undef THIS_FILE
|
|
static char THIS_FILE[] = __FILE__;
|
|
#endif
|
|
|
|
/////////////////////////////////////////////////////////////////////////////
|
|
// CPropComp property page
|
|
|
|
IMPLEMENT_DYNCREATE(CPropComp, CPropertyPage)
|
|
|
|
CPropComp::CPropComp() : CPropertyPage(CPropComp::IDD)
|
|
{
|
|
//{{AFX_DATA_INIT(CPropComp)
|
|
m_cadd1 = _T("");
|
|
m_cadd2 = _T("");
|
|
m_comp = _T("");
|
|
m_dept = _T("");
|
|
m_mgr = _T("");
|
|
m_posn = _T("");
|
|
//}}AFX_DATA_INIT
|
|
}
|
|
|
|
CPropComp::~CPropComp()
|
|
{
|
|
}
|
|
|
|
void CPropComp::DoDataExchange(CDataExchange* pDX)
|
|
{
|
|
CPropertyPage::DoDataExchange(pDX);
|
|
//{{AFX_DATA_MAP(CPropComp)
|
|
DDX_Text(pDX, IDC_CADD1, m_cadd1);
|
|
DDX_Text(pDX, IDC_CADD2, m_cadd2);
|
|
DDX_Text(pDX, IDC_COMP, m_comp);
|
|
DDX_Text(pDX, IDC_DEPT, m_dept);
|
|
DDX_Text(pDX, IDC_MGR, m_mgr);
|
|
DDX_Text(pDX, IDC_POSN, m_posn);
|
|
//}}AFX_DATA_MAP
|
|
}
|
|
|
|
|
|
BEGIN_MESSAGE_MAP(CPropComp, CPropertyPage)
|
|
//{{AFX_MSG_MAP(CPropComp)
|
|
// NOTE: the ClassWizard will add message map macros here
|
|
//}}AFX_MSG_MAP
|
|
END_MESSAGE_MAP()
|
|
|
|
/////////////////////////////////////////////////////////////////////////////
|
|
// CPropComp message handlers
|