📄 opview.cpp
字号:
// OPView.cpp : implementation file
//
#include "stdafx.h"
#include "Student.h"
#include "OPView.h"
#ifdef _DEBUG
#define new DEBUG_NEW
#undef THIS_FILE
static char THIS_FILE[] = __FILE__;
#endif
/////////////////////////////////////////////////////////////////////////////
// COPView
IMPLEMENT_DYNCREATE(COPView, CFormView)
COPView::COPView()
: CFormView(COPView::IDD)
{
//{{AFX_DATA_INIT(COPView)
//}}AFX_DATA_INIT
}
COPView::~COPView()
{
}
void COPView::DoDataExchange(CDataExchange* pDX)
{
CFormView::DoDataExchange(pDX);
//{{AFX_DATA_MAP(COPView)
DDX_Control(pDX, IDC_COMBO1, m_ComboTable);
//}}AFX_DATA_MAP
}
BEGIN_MESSAGE_MAP(COPView, CFormView)
//{{AFX_MSG_MAP(COPView)
// NOTE - the ClassWizard will add and remove mapping macros here.
//}}AFX_MSG_MAP
END_MESSAGE_MAP()
/////////////////////////////////////////////////////////////////////////////
// COPView diagnostics
#ifdef _DEBUG
void COPView::AssertValid() const
{
CFormView::AssertValid();
}
void COPView::Dump(CDumpContext& dc) const
{
CFormView::Dump(dc);
}
#endif //_DEBUG
/////////////////////////////////////////////////////////////////////////////
// COPView message handlers
void COPView::OnInitialUpdate()
{
CFormView::OnInitialUpdate();
// TODO: Add your specialized code here and/or call the base class
m_ComboTable.AddString( "学生基本信息表" );
m_ComboTable.AddString( "课程信息表" );
m_ComboTable.AddString( "学生成绩表" );
m_ComboTable.SetCurSel( 0 );
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -