12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576 |
- // HospitalInfoSet.cpp : implementation file
- //
- #include "stdafx.h"
- #include "ylgl.h"
- #include "HospitalInfoSet.h"
- #include "SPLBDlg.h"
- #ifdef _DEBUG
- #define new DEBUG_NEW
- #undef THIS_FILE
- static char THIS_FILE[] = __FILE__;
- #endif
- /////////////////////////////////////////////////////////////////////////////
- // HospitalInfoSet dialog
- HospitalInfoSet::HospitalInfoSet(CWnd* pParent /*=NULL*/)
- : CDialog(HospitalInfoSet::IDD, pParent)
- {
- //{{AFX_DATA_INIT(HospitalInfoSet)
- // NOTE: the ClassWizard will add member initialization here
- //}}AFX_DATA_INIT
- }
- void HospitalInfoSet::DoDataExchange(CDataExchange* pDX)
- {
- CDialog::DoDataExchange(pDX);
- //{{AFX_DATA_MAP(HospitalInfoSet)
- // NOTE: the ClassWizard will add DDX and DDV calls here
- //}}AFX_DATA_MAP
- }
- BEGIN_MESSAGE_MAP(HospitalInfoSet, CDialog)
- //{{AFX_MSG_MAP(HospitalInfoSet)
- ON_BN_CLICKED(IDC_BUTTON1, OnButton1)
- ON_BN_CLICKED(IDC_BUTTON2, OnButton2)
- ON_BN_CLICKED(IDC_BUTTON3, OnButton3)
- ON_BN_CLICKED(IDC_BUTTON4, OnButton4)
- //}}AFX_MSG_MAP
- END_MESSAGE_MAP()
- /////////////////////////////////////////////////////////////////////////////
- // HospitalInfoSet message handlers
- void HospitalInfoSet::OnButton1()
- {
- // TODO: Add your control notification handler code here
- SPLBDlg dlg;
- dlg.m_mode=14;
- dlg.DoModal ();
- }
- void HospitalInfoSet::OnButton2()
- {
- // TODO: Add your control notification handler code here
- SPLBDlg dlg;
- dlg.m_mode=15;
- dlg.DoModal ();
- }
- void HospitalInfoSet::OnButton3()
- {
- // TODO: Add your control notification handler code here
- SPLBDlg dlg;
- dlg.m_mode=16;
- dlg.DoModal ();
- }
- void HospitalInfoSet::OnButton4()
- {
- // TODO: Add your control notification handler code here
- SPLBDlg dlg;
- dlg.m_mode=17;
- dlg.DoModal ();
- }
|