// FindP.cpp : implementation file // #include "stdafx.h" #include "dclient.h" #include "FindP.h" #ifdef _DEBUG #define new DEBUG_NEW #undef THIS_FILE static char THIS_FILE[] = __FILE__; #endif ///////////////////////////////////////////////////////////////////////////// // CFindPatient dialog CFindPatient::CFindPatient(CWnd* pParent /*=NULL*/) : CDialog(CFindPatient::IDD, pParent) { //{{AFX_DATA_INIT(CFindPatient) // NOTE: the ClassWizard will add member initialization here //}}AFX_DATA_INIT } void CFindPatient::DoDataExchange(CDataExchange* pDX) { CDialog::DoDataExchange(pDX); //{{AFX_DATA_MAP(CFindPatient) // NOTE: the ClassWizard will add DDX and DDV calls here //}}AFX_DATA_MAP } BEGIN_MESSAGE_MAP(CFindPatient, CDialog) //{{AFX_MSG_MAP(CFindPatient) //}}AFX_MSG_MAP END_MESSAGE_MAP() ///////////////////////////////////////////////////////////////////////////// // CFindPatient message handlers void CFindPatient::OnOK() { GetDlgItemText(IDC_PATIENT_NAME, m_sz1); GetDlgItemText(IDC_PATIENT_ID, m_sz2); CDialog::OnOK(); }