📄 paixudlg.cpp
字号:
// PaixuDlg.cpp : implementation file
//
#include "stdafx.h"
#include "VCSQL.h"
#include "PaixuDlg.h"
#ifdef _DEBUG
#define new DEBUG_NEW
#undef THIS_FILE
static char THIS_FILE[] = __FILE__;
#endif
/////////////////////////////////////////////////////////////////////////////
// PaixuDlg dialog
PaixuDlg::PaixuDlg(CWnd* pParent /*=NULL*/)
: CDialog(PaixuDlg::IDD, pParent)
{
//{{AFX_DATA_INIT(PaixuDlg)
// NOTE: the ClassWizard will add member initialization here
//}}AFX_DATA_INIT
}
void PaixuDlg::DoDataExchange(CDataExchange* pDX)
{
CDialog::DoDataExchange(pDX);
//{{AFX_DATA_MAP(PaixuDlg)
DDX_Control(pDX, IDC_PAIXUCOMBO, m_paixucombo);
//}}AFX_DATA_MAP
}
BEGIN_MESSAGE_MAP(PaixuDlg, CDialog)
//{{AFX_MSG_MAP(PaixuDlg)
//}}AFX_MSG_MAP
END_MESSAGE_MAP()
/////////////////////////////////////////////////////////////////////////////
// PaixuDlg message handlers
void PaixuDlg::OnOK()
{
UpdateData(true);
int i=m_paixucombo.GetCurSel();
m_paixucombo.GetLBText(i,temp);
CDialog::OnOK();
}
BOOL PaixuDlg::OnInitDialog()
{
CDialog::OnInitDialog();
m_paixucombo.InsertString(0,"姓名");
m_paixucombo.InsertString(1,"性别");
m_paixucombo.InsertString(2,"籍贯");
m_paixucombo.InsertString(3,"年龄");
m_paixucombo.InsertString(4,"性格");
m_paixucombo.InsertString(5,"政治面貌");
m_paixucombo.InsertString(6,"外语水平");
m_paixucombo.InsertString(7,"计算机水平");
m_paixucombo.InsertString(8,"高等数学");
m_paixucombo.InsertString(9,"线性代数");
m_paixucombo.InsertString(10,"大学英语");
m_paixucombo.InsertString(11,"数据结构");
m_paixucombo.InsertString(12,"操作系统");
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 + -