#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 m_strOrderNum; CRect m_rc; BOOL m_bInit; BookingPage2(CWnd* pParent = NULL); // standard constructor 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; // 复选框:结婚日期是否农历; CString m_strPhone1; CString m_strPhone2; 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('*')); } protected: virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support protected: 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(); DECLARE_MESSAGE_MAP() afx_msg HBRUSH OnCtlColor(CDC* pDC, CWnd* pWnd, UINT nCtlColor); public: afx_msg void OnBnClickedGetphone1(); afx_msg void OnBnClickedGetphone2(); }; #endif // !defined(AFX_BOOKINGPAGE2_H__0AA208B2_E11B_45DF_A397_DC50D5A1697F__INCLUDED_)