⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 sortdlg.cpp

📁 VC编程对ACCESS数据库进行记录读,查询,以及添加.
💻 CPP
字号:
// SortDlg.cpp : implementation file
//

#include "stdafx.h"
#include "MyDao.h"
#include "SortDlg.h"

#ifdef _DEBUG
#define new DEBUG_NEW
#undef THIS_FILE
static char THIS_FILE[] = __FILE__;
#endif

/////////////////////////////////////////////////////////////////////////////
// CSortDlg dialog


CSortDlg::CSortDlg(CWnd* pParent /*=NULL*/)
	: CDialog(CSortDlg::IDD, pParent)
{
	//{{AFX_DATA_INIT(CSortDlg)
		// NOTE: the ClassWizard will add member initialization here
	//}}AFX_DATA_INIT
}


void CSortDlg::DoDataExchange(CDataExchange* pDX)
{
	CDialog::DoDataExchange(pDX);
	//{{AFX_DATA_MAP(CSortDlg)
		// NOTE: the ClassWizard will add DDX and DDV calls here
	//}}AFX_DATA_MAP
}


BEGIN_MESSAGE_MAP(CSortDlg, CDialog)
	//{{AFX_MSG_MAP(CSortDlg)
	ON_BN_CLICKED(IDC_RADIO_AGE, OnRadioAge)
	ON_BN_CLICKED(IDC_RADIO_EMPLOYEE, OnRadioEmployee)
	ON_BN_CLICKED(IDC_RADIO_SEX, OnRadioSex)
	//}}AFX_MSG_MAP
END_MESSAGE_MAP()

/////////////////////////////////////////////////////////////////////////////
// CSortDlg message handlers

void CSortDlg::OnRadioAge() 
{
	// TODO: Add your control notification handler code here
	m_strSort="Employee";
	
}

void CSortDlg::OnRadioEmployee() 
{
	// TODO: Add your control notification handler code here
	m_strSort="Sex";
	
}

void CSortDlg::OnRadioSex() 
{
	// TODO: Add your control notification handler code here
	m_strSort="Age";
	
}

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -