📄 haxundlg.cpp
字号:
// haxunDlg.cpp : implementation file
//
#include "stdafx.h"
#include "VCSQL.h"
#include "haxunDlg.h"
#ifdef _DEBUG
#define new DEBUG_NEW
#undef THIS_FILE
static char THIS_FILE[] = __FILE__;
#endif
/////////////////////////////////////////////////////////////////////////////
// ChaxunDlg dialog
ChaxunDlg::ChaxunDlg(CWnd* pParent /*=NULL*/)
: CDialog(ChaxunDlg::IDD, pParent)
{
//{{AFX_DATA_INIT(ChaxunDlg)
m_query = _T("");
//}}AFX_DATA_INIT
}
void ChaxunDlg::DoDataExchange(CDataExchange* pDX)
{
CDialog::DoDataExchange(pDX);
//{{AFX_DATA_MAP(ChaxunDlg)
DDX_Control(pDX, IDC_CHAXUNCOMBO, m_chaxuncombo);
DDX_Text(pDX, IDC_CHAXUNNEIRONG, m_query);
//}}AFX_DATA_MAP
}
BEGIN_MESSAGE_MAP(ChaxunDlg, CDialog)
//{{AFX_MSG_MAP(ChaxunDlg)
//}}AFX_MSG_MAP
END_MESSAGE_MAP()
/////////////////////////////////////////////////////////////////////////////
// ChaxunDlg message handlers
void ChaxunDlg::OnOK()
{
UpdateData(true);
CDialog::OnOK();
}
BOOL ChaxunDlg::OnInitDialog()
{
CDialog::OnInitDialog();
m_chaxuncombo.InsertString(0,"姓名");
m_chaxuncombo.InsertString(1,"性别");
m_chaxuncombo.InsertString(2,"年龄");
m_chaxuncombo.InsertString(3,"籍贯");
m_chaxuncombo.InsertString(4,"外语水平");
m_chaxuncombo.InsertString(5,"计算机水平");
m_chaxuncombo.InsertString(6,"高等数学");
m_chaxuncombo.InsertString(7,"线性代数");
m_chaxuncombo.InsertString(8,"大学英语");
m_chaxuncombo.InsertString(9,"数据结构");
m_chaxuncombo.InsertString(10,"操作系统");
// TODO: Add extra initialization here
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 + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -