?? 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 + -