12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394 |
- #include "stdafx.h"
- #include "ylgl.h"
- #include "TodayFormChild.h"
- #ifdef _DEBUG
- #define new DEBUG_NEW
- #undef THIS_FILE
- static char THIS_FILE[] = __FILE__;
- #endif
- TodayFormChild::TodayFormChild(CWnd* pParent )
- : CDialog(TodayFormChild::IDD, pParent)
- {
-
-
- List1array=NULL;
- pClientarray=NULL;
- pTxtypearray=NULL;
-
- }
- void TodayFormChild::DoDataExchange(CDataExchange* pDX)
- {
- CDialog::DoDataExchange(pDX);
-
-
-
- }
- BEGIN_MESSAGE_MAP(TodayFormChild, CDialog)
-
-
- END_MESSAGE_MAP()
- void TodayFormChild::OnOK()
- {
-
-
- }
- void TodayFormChild::OnCancel()
- {
-
-
- }
- BOOL TodayFormChild::OnInitDialog()
- {
- CDialog::OnInitDialog();
-
-
-
- return TRUE;
-
- }
- void TodayFormChild::ShowTable()
- {
- CRect rc;
- GetClientRect(rc);
- m_table.m_pClientArray=pClientarray;
- m_table.pTxtypearray=pTxtypearray;
- m_table.m_pListArray=List1array;
- if(m_table.GetSafeHwnd()==NULL)
- m_table.Create(rc, this, WS_HSCROLL);
- m_table.Test ();
- }
- void TodayFormChild::DeleteCur()
- {
- m_table.DeleteCur();
- }
- void TodayFormChild::OtherDate()
- {
- m_table.OtherDate();
- }
- CString TodayFormChild::GetCurPhone(CString &name)
- {
- return m_table.GetCurPhone(name);
- }
|