BookingPage22.h 2.1 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586
  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. enum { IDD = IDD_DLGBookingPage22 };
  23. // 宝宝生肖;
  24. CComboBox m_combozodiac;
  25. // 顾客性别;
  26. CComboBox m_combosex;
  27. // 顾客来源;
  28. CComboBox m_comboarea;
  29. // 日期;
  30. CDateEdit m_datectrl1;
  31. CString m_addr1;
  32. CString m_name1;
  33. CString m_name2;
  34. CString m_phone1;
  35. CString m_phone2;
  36. CString m_zodiac;
  37. CString m_sex;
  38. CString m_qq1;
  39. CString m_birthday1;
  40. CString m_area;
  41. BOOL m_check1;
  42. CString m_strOrderNum;
  43. CString m_strPhone1;
  44. CString m_strPhone2;
  45. void SetPasswordChar()
  46. {
  47. //CEdit* pEdit1 = (CEdit*)GetDlgItem(IDC_EDITphone);
  48. //CEdit* pEdit2 = (CEdit*)GetDlgItem(IDC_EDITphone2);
  49. CEdit* pEdit3 = (CEdit*)GetDlgItem(IDC_EDITqq);
  50. CEdit* pEdit4 = (CEdit*)GetDlgItem(IDC_EDITaddr);
  51. //pEdit1->SetPasswordChar(_T('*'));
  52. //pEdit2->SetPasswordChar(_T('*'));
  53. pEdit3->SetPasswordChar(_T('*'));
  54. pEdit4->SetPasswordChar(_T('*'));
  55. }
  56. protected:
  57. virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
  58. protected:
  59. virtual void OnOK();
  60. virtual void OnCancel();
  61. virtual BOOL OnInitDialog();
  62. afx_msg void OnButton2();
  63. afx_msg void OnChangeEDITname();
  64. afx_msg void OnChangeEDITname2();
  65. afx_msg void OnChangeEDITphone();
  66. afx_msg void OnChangeEDITphone2();
  67. //}}AFX_MSG
  68. DECLARE_MESSAGE_MAP()
  69. public:
  70. static BOOL EnumChildProcBPage2(HWND hwnd,LPARAM lParam);
  71. afx_msg HBRUSH OnCtlColor(CDC* pDC, CWnd* pWnd, UINT nCtlColor);
  72. afx_msg void OnBnClickedGetphone1();
  73. afx_msg void OnBnClickedGetphone2();
  74. };
  75. #endif // !defined(AFX_BOOKINGPAGE22_H__96C00C80_2110_4F19_B655_81896FE6F553__INCLUDED_)