proptable.cpp
来自「本人买的<<VC++项目开发实例>>源代码配套光盘.」· C++ 代码 · 共 231 行
CPP
231 行
// PropTable.cpp : implementation file
//
#include "stdafx.h"
#include "DBExp.h"
#include "PropTable.h"
#ifdef _DEBUG
#define new DEBUG_NEW
#undef THIS_FILE
static char THIS_FILE[] = __FILE__;
#endif
/////////////////////////////////////////////////////////////////////////////
// CPropTableColumn property page
IMPLEMENT_DYNCREATE(CPropTableColumn, CPropertyPage)
//##ModelId=3CA0A1E4012E
CPropTableColumn::CPropTableColumn() : CPropertyPage(CPropTableColumn::IDD)
{
//{{AFX_DATA_INIT(CPropTableColumn)
// NOTE: the ClassWizard will add member initialization here
//}}AFX_DATA_INIT
}
//##ModelId=3CA0A1E40137
CPropTableColumn::~CPropTableColumn()
{
}
//##ModelId=3CA0A1E40141
void CPropTableColumn::DoDataExchange(CDataExchange* pDX)
{
CPropertyPage::DoDataExchange(pDX);
//{{AFX_DATA_MAP(CPropTableColumn)
// NOTE: the ClassWizard will add DDX and DDV calls here
//}}AFX_DATA_MAP
}
BEGIN_MESSAGE_MAP(CPropTableColumn, CPropertyPage)
//{{AFX_MSG_MAP(CPropTableColumn)
// NOTE: the ClassWizard will add message map macros here
//}}AFX_MSG_MAP
END_MESSAGE_MAP()
/////////////////////////////////////////////////////////////////////////////
// CPropTableColumn message handlers
/////////////////////////////////////////////////////////////////////////////
// CPropTableCons property page
IMPLEMENT_DYNCREATE(CPropTableCons, CPropertyPage)
//##ModelId=3CA0A1E401D7
CPropTableCons::CPropTableCons() : CPropertyPage(CPropTableCons::IDD)
{
//{{AFX_DATA_INIT(CPropTableCons)
// NOTE: the ClassWizard will add member initialization here
//}}AFX_DATA_INIT
}
//##ModelId=3CA0A1E401E1
CPropTableCons::~CPropTableCons()
{
}
//##ModelId=3CA0A1E401EB
void CPropTableCons::DoDataExchange(CDataExchange* pDX)
{
CPropertyPage::DoDataExchange(pDX);
//{{AFX_DATA_MAP(CPropTableCons)
// NOTE: the ClassWizard will add DDX and DDV calls here
//}}AFX_DATA_MAP
}
BEGIN_MESSAGE_MAP(CPropTableCons, CPropertyPage)
//{{AFX_MSG_MAP(CPropTableCons)
// NOTE: the ClassWizard will add message map macros here
//}}AFX_MSG_MAP
END_MESSAGE_MAP()
/////////////////////////////////////////////////////////////////////////////
// CPropTableCons message handlers
/////////////////////////////////////////////////////////////////////////////
// CPropTableData property page
IMPLEMENT_DYNCREATE(CPropTableData, CPropertyPage)
//##ModelId=3CA0A1E40250
CPropTableData::CPropTableData() : CPropertyPage(CPropTableData::IDD)
{
//{{AFX_DATA_INIT(CPropTableData)
// NOTE: the ClassWizard will add member initialization here
//}}AFX_DATA_INIT
}
//##ModelId=3CA0A1E4025A
CPropTableData::~CPropTableData()
{
}
//##ModelId=3CA0A1E40264
void CPropTableData::DoDataExchange(CDataExchange* pDX)
{
CPropertyPage::DoDataExchange(pDX);
//{{AFX_DATA_MAP(CPropTableData)
// NOTE: the ClassWizard will add DDX and DDV calls here
//}}AFX_DATA_MAP
}
BEGIN_MESSAGE_MAP(CPropTableData, CPropertyPage)
//{{AFX_MSG_MAP(CPropTableData)
// NOTE: the ClassWizard will add message map macros here
//}}AFX_MSG_MAP
END_MESSAGE_MAP()
/////////////////////////////////////////////////////////////////////////////
// CPropTableData message handlers
/////////////////////////////////////////////////////////////////////////////
// CPropTableIndex property page
IMPLEMENT_DYNCREATE(CPropTableIndex, CPropertyPage)
//##ModelId=3CA0A1E402C9
CPropTableIndex::CPropTableIndex() : CPropertyPage(CPropTableIndex::IDD)
{
//{{AFX_DATA_INIT(CPropTableIndex)
// NOTE: the ClassWizard will add member initialization here
//}}AFX_DATA_INIT
}
//##ModelId=3CA0A1E402D2
CPropTableIndex::~CPropTableIndex()
{
}
//##ModelId=3CA0A1E402DC
void CPropTableIndex::DoDataExchange(CDataExchange* pDX)
{
CPropertyPage::DoDataExchange(pDX);
//{{AFX_DATA_MAP(CPropTableIndex)
// NOTE: the ClassWizard will add DDX and DDV calls here
//}}AFX_DATA_MAP
}
BEGIN_MESSAGE_MAP(CPropTableIndex, CPropertyPage)
//{{AFX_MSG_MAP(CPropTableIndex)
// NOTE: the ClassWizard will add message map macros here
//}}AFX_MSG_MAP
END_MESSAGE_MAP()
/////////////////////////////////////////////////////////////////////////////
// CPropTableIndex message handlers
/////////////////////////////////////////////////////////////////////////////
// CPropTableTrigger property page
IMPLEMENT_DYNCREATE(CPropTableTrigger, CPropertyPage)
//##ModelId=3CA0A1E40340
CPropTableTrigger::CPropTableTrigger() : CPropertyPage(CPropTableTrigger::IDD)
{
//{{AFX_DATA_INIT(CPropTableTrigger)
// NOTE: the ClassWizard will add member initialization here
//}}AFX_DATA_INIT
}
//##ModelId=3CA0A1E40341
CPropTableTrigger::~CPropTableTrigger()
{
}
//##ModelId=3CA0A1E4034A
void CPropTableTrigger::DoDataExchange(CDataExchange* pDX)
{
CPropertyPage::DoDataExchange(pDX);
//{{AFX_DATA_MAP(CPropTableTrigger)
// NOTE: the ClassWizard will add DDX and DDV calls here
//}}AFX_DATA_MAP
}
BEGIN_MESSAGE_MAP(CPropTableTrigger, CPropertyPage)
//{{AFX_MSG_MAP(CPropTableTrigger)
// NOTE: the ClassWizard will add message map macros here
//}}AFX_MSG_MAP
END_MESSAGE_MAP()
/////////////////////////////////////////////////////////////////////////////
// CPropTableTrigger message handlers
/////////////////////////////////////////////////////////////////////////////
// CTableSheet
IMPLEMENT_DYNAMIC(CTableSheet, CPropertySheet)
//##ModelId=3CA0A1E500E8
CTableSheet::CTableSheet(UINT nIDCaption, CWnd* pParentWnd, UINT iSelectPage)
:CPropertySheet(nIDCaption, pParentWnd, iSelectPage)
{
}
//##ModelId=3CA0A1E50110
CTableSheet::CTableSheet(LPCTSTR pszCaption, CWnd* pParentWnd, UINT iSelectPage)
:CPropertySheet(pszCaption, pParentWnd, iSelectPage)
{
AddPage(&m_page_Trigger);
AddPage(&m_page_Column);
AddPage(&m_page_Cons);
AddPage(&m_page_Data);
AddPage(&m_page_Index);
AddPage(&m_page_SQLEdit);
}
//##ModelId=3CA0A1E50139
CTableSheet::~CTableSheet()
{
}
BEGIN_MESSAGE_MAP(CTableSheet, CPropertySheet)
//{{AFX_MSG_MAP(CTableSheet)
// NOTE - the ClassWizard will add and remove mapping macros here.
//}}AFX_MSG_MAP
END_MESSAGE_MAP()
/////////////////////////////////////////////////////////////////////////////
// CTableSheet message handlers
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?