www.gusucode.com > VC++毕业设计_高校宿舍管理系统附论文源码程序 > VC++毕业设计_高校宿舍管理系统附论文源码程序/code/源代码/QueryDlg.cpp
//Download by http://www.NewXing.com // QueryDlg.cpp : implementation file // #include "stdafx.h" #include "inhabitants.h" #include "QueryDlg.h" #ifdef _DEBUG #define new DEBUG_NEW #undef THIS_FILE static char THIS_FILE[] = __FILE__; #endif ///////////////////////////////////////////////////////////////////////////// // CQueryDlg dialog CQueryDlg::CQueryDlg(CWnd* pParent /*=NULL*/) : CDialog(CQueryDlg::IDD, pParent) { //{{AFX_DATA_INIT(CQueryDlg) m_strMajor = _T(""); m_nBuildingNum = 0; m_nRoomNum = 0; m_strRemarks = _T(""); m_strHomeTel = _T(""); m_strStudentname = _T(""); m_strId = _T(""); m_strSex = _T(""); m_strNationNal = _T(""); m_nBedNum = 0; m_strStudentName = _T(""); //}}AFX_DATA_INIT } void CQueryDlg::DoDataExchange(CDataExchange* pDX) { CDialog::DoDataExchange(pDX); //{{AFX_DATA_MAP(CQueryDlg) DDX_Text(pDX, IDC_EDIT_MAJOR, m_strMajor); DDX_Text(pDX, IDC_EDIT_BUILDINGNUM, m_nBuildingNum); DDX_Text(pDX, IDC_EDIT_ROOMNUM, m_nRoomNum); DDX_Text(pDX, IDC_EDIT_REMARKS, m_strRemarks); DDX_Text(pDX, IDC_EDIT_HOMETEL, m_strHomeTel); DDX_Text(pDX, IDC_EDIT_STUDENTNAME, m_strStudentname); DDX_Text(pDX, IDC_EDIT_ID, m_strId); DDX_Text(pDX, IDC_EDIT_SEX, m_strSex); DDX_Text(pDX, IDC_EDIT_NATIONAL, m_strNationNal); DDX_Text(pDX, IDC_EDIT_BED, m_nBedNum); DDX_Text(pDX, IDC_EDIT_ROOMTYPE, m_strStudentName); //}}AFX_DATA_MAP } BEGIN_MESSAGE_MAP(CQueryDlg, CDialog) //{{AFX_MSG_MAP(CQueryDlg) ON_LBN_SELCHANGE(IDC_LIST3, OnSelchangeList3) //}}AFX_MSG_MAP END_MESSAGE_MAP() ///////////////////////////////////////////////////////////////////////////// // CQueryDlg message handlers void CQueryDlg::OnOK() { CDialog::OnOK(); } void CQueryDlg::OnClickTree2(NMHDR* pNMHDR, LRESULT* pResult) { // TODO: Add your control notification handler code here *pResult = 0; } void CQueryDlg::OnSelchangeList3() { // TODO: Add your control notification handler code here }