#if !defined(AFX_BOOKINGPAGE2_H__0AA208B2_E11B_45DF_A397_DC50D5A1697F__INCLUDED_) #define AFX_BOOKINGPAGE2_H__0AA208B2_E11B_45DF_A397_DC50D5A1697F__INCLUDED_ #if _MSC_VER > 1000 #pragma once #endif // _MSC_VER > 1000 // BookingPage2.h : header file // ///////////////////////////////////////////////////////////////////////////// // BookingPage2 dialog class BookingPage2 : public CDialog { // Construction public: void CompareClient(); void NewDan(); CArraym_areaarray; CArraym_oldclientarray; BOOL CheckOK(); int CClientDlg(CWnd* pParent = NULL); // standard constructor CString id; CRect m_rc; BOOL m_bInit; BookingPage2(CWnd* pParent = NULL); // standard constructor // Dialog Data //{{AFX_DATA(BookingPage2) enum { IDD = IDD_DLGBookingPage2 }; CComboBox m_comboarea2; CComboBox m_comboarea; CDateEdit m_datectrl3; CDateEdit m_datectrl2; CDateEdit m_datectrl1; CString m_addr1; CString m_addr2; CString m_name1; CString m_name2; CString m_occupation1; CString m_occupation2; CString m_phone1; CString m_phone2; CString m_qq1; CString m_qq2; CString m_birthday1; CString m_birthday2; CString m_time3; // 结婚日期; CString m_area; CString m_area2; BOOL m_check1; BOOL m_check2; BOOL m_check3; // 复选框:结婚日期是否农历; // NOTE: the ClassWizard will add data members here //}}AFX_DATA void SetPasswordChar() { CEdit* pEdit1 = (CEdit*)GetDlgItem(IDC_EDITphone); CEdit* pEdit2 = (CEdit*)GetDlgItem(IDC_EDITphone2); CEdit* pEdit3 = (CEdit*)GetDlgItem(IDC_EDITqq); CEdit* pEdit4 = (CEdit*)GetDlgItem(IDC_EDITaddr); pEdit1->SetPasswordChar(_T('*')); pEdit2->SetPasswordChar(_T('*')); pEdit3->SetPasswordChar(_T('*')); pEdit4->SetPasswordChar(_T('*')); } // Overrides // ClassWizard generated virtual function overrides //{{AFX_VIRTUAL(BookingPage2) protected: virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support //}}AFX_VIRTUAL // Implementation protected: // Generated message map functions //{{AFX_MSG(BookingPage2) virtual void OnCancel(); virtual void OnOK(); virtual BOOL OnInitDialog(); afx_msg void OnButton2(); afx_msg void OnChangeEDITname(); afx_msg void OnChangeEDITname2(); afx_msg void OnChangeEDITphone(); afx_msg void OnChangeEDITphone2(); //}}AFX_MSG DECLARE_MESSAGE_MAP() }; //{{AFX_INSERT_LOCATION}} // Microsoft Visual C++ will insert additional declarations immediately before the previous line. #endif // !defined(AFX_BOOKINGPAGE2_H__0AA208B2_E11B_45DF_A397_DC50D5A1697F__INCLUDED_)