BookingPage22.h 2.3 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192
  1. #if !defined(AFX_BOOKINGPAGE22_H__96C00C80_2110_4F19_B655_81896FE6F553__INCLUDED_)
  2. #define AFX_BOOKINGPAGE22_H__96C00C80_2110_4F19_B655_81896FE6F553__INCLUDED_
  3. #if _MSC_VER > 1000
  4. #pragma once
  5. #endif // _MSC_VER > 1000
  6. // BookingPage22.h : header file
  7. //
  8. /////////////////////////////////////////////////////////////////////////////
  9. // BookingPage22 dialog
  10. class BookingPage22 : public CDialog
  11. {
  12. // Construction
  13. public:
  14. BOOL m_bInit;
  15. void CompareClient();
  16. CArray<CStringArray, CStringArray>m_areaarray;
  17. CArray<int, int>m_oldclientarray;
  18. CRect m_rc;
  19. void NewDan();
  20. BOOL CheckOK();
  21. BookingPage22(CWnd* pParent = NULL); // standard constructor
  22. // Dialog Data
  23. //{{AFX_DATA(BookingPage22)
  24. enum { IDD = IDD_DLGBookingPage22 };
  25. CComboBox m_combozodiac;
  26. CComboBox m_combosex;
  27. CComboBox m_comboarea;
  28. CDateEdit m_datectrl1;
  29. CString m_addr1;
  30. CString m_name1;
  31. CString m_name2;
  32. CString m_phone1;
  33. CString m_phone2;
  34. CString m_zodiac;
  35. CString m_sex;
  36. CString m_qq1;
  37. CString m_birthday1;
  38. CString m_area;
  39. BOOL m_check1;
  40. // NOTE: the ClassWizard will add data members here
  41. //}}AFX_DATA
  42. void SetPasswordChar()
  43. {
  44. CEdit* pEdit1 = (CEdit*)GetDlgItem(IDC_EDITphone);
  45. CEdit* pEdit2 = (CEdit*)GetDlgItem(IDC_EDITphone2);
  46. CEdit* pEdit3 = (CEdit*)GetDlgItem(IDC_EDITqq);
  47. CEdit* pEdit4 = (CEdit*)GetDlgItem(IDC_EDITaddr);
  48. pEdit1->SetPasswordChar(_T('*'));
  49. pEdit2->SetPasswordChar(_T('*'));
  50. pEdit3->SetPasswordChar(_T('*'));
  51. pEdit4->SetPasswordChar(_T('*'));
  52. }
  53. // Overrides
  54. // ClassWizard generated virtual function overrides
  55. //{{AFX_VIRTUAL(BookingPage22)
  56. protected:
  57. virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
  58. //}}AFX_VIRTUAL
  59. // Implementation
  60. protected:
  61. // Generated message map functions
  62. //{{AFX_MSG(BookingPage22)
  63. virtual void OnOK();
  64. virtual void OnCancel();
  65. virtual BOOL OnInitDialog();
  66. afx_msg void OnButton2();
  67. afx_msg void OnChangeEDITname();
  68. afx_msg void OnChangeEDITname2();
  69. afx_msg void OnChangeEDITphone();
  70. afx_msg void OnChangeEDITphone2();
  71. //}}AFX_MSG
  72. DECLARE_MESSAGE_MAP()
  73. public:
  74. static BOOL EnumChildProcBPage2(HWND hwnd,LPARAM lParam);
  75. };
  76. //{{AFX_INSERT_LOCATION}}
  77. // Microsoft Visual C++ will insert additional declarations immediately before the previous line.
  78. #endif // !defined(AFX_BOOKINGPAGE22_H__96C00C80_2110_4F19_B655_81896FE6F553__INCLUDED_)