BookingPage2.h 2.5 KB

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