UserDlg.h
上传用户:sztwq510
上传日期:2013-06-26
资源大小:4045k
文件大小:2k
源码类别:

酒店行业

开发平台:

Java

  1. #if !defined(AFX_USERDLG_H__09A5B039_763B_49C4_87D8_64A8EF94CC5A__INCLUDED_)
  2. #define AFX_USERDLG_H__09A5B039_763B_49C4_87D8_64A8EF94CC5A__INCLUDED_
  3. #if _MSC_VER > 1000
  4. #pragma once
  5. #endif // _MSC_VER > 1000
  6. // UserDlg.h : header file
  7. //
  8. /////////////////////////////////////////////////////////////////////////////
  9. // CUserDlg dialog
  10. class CUserDlg : public CDialog
  11. {
  12. // Construction
  13. public:
  14. CUserDlg(CWnd* pParent = NULL);   // standard constructor
  15. // Dialog Data
  16. //{{AFX_DATA(CUserDlg)
  17. enum { IDD = IDD_DIALOG_USER };
  18. CButton m_oCheck1;
  19. CButton m_oCheck2;
  20. CButton m_oCheck3;
  21. CButton m_oCheck4;
  22. CButton m_oCheck5;
  23. CButton m_oCheck6;
  24. CButton m_oCheck7;
  25. CButton m_oCheck8;
  26. CButton m_oCheck9;
  27. CEdit m_oUserid;
  28. CEdit m_oDiscount;
  29. CEdit m_oNumber;
  30. CEdit m_oLogname;
  31. CEdit m_oJiguan;
  32. CEdit m_oDuty;
  33. CEdit m_oDatebirth;
  34. CEdit m_oPwd;
  35. CEdit m_oUsername;
  36. CComboBox m_oSex;
  37. CListBox m_oListuser;
  38. CString m_Listuser;
  39. CString m_datebirth;
  40. CString m_duty;
  41. CString m_jiguan;
  42. CString m_logname;
  43. CString m_username;
  44. CString m_number;
  45. CString m_upwd;
  46. CString m_sex;
  47. //}}AFX_DATA
  48. // Overrides
  49. // ClassWizard generated virtual function overrides
  50. //{{AFX_VIRTUAL(CUserDlg)
  51. protected:
  52. virtual void DoDataExchange(CDataExchange* pDX);    // DDX/DDV support
  53. //}}AFX_VIRTUAL
  54. // Implementation
  55. protected:
  56. // Generated message map functions
  57. //{{AFX_MSG(CUserDlg)
  58. virtual BOOL OnInitDialog();
  59. afx_msg void OnButtonUadd();
  60. afx_msg void OnButtonUdel();
  61. afx_msg void OnButtonUsave();
  62. afx_msg void OnSelchangeListUser();
  63. //}}AFX_MSG
  64. DECLARE_MESSAGE_MAP()
  65. private:
  66. void ReadToListbox();
  67. BOOL bRepeat(CString strFieldValue);
  68. long GenNewID();
  69. long lNewID;
  70. CString suserid;
  71. };
  72. //{{AFX_INSERT_LOCATION}}
  73. // Microsoft Visual C++ will insert additional declarations immediately before the previous line.
  74. #endif // !defined(AFX_USERDLG_H__09A5B039_763B_49C4_87D8_64A8EF94CC5A__INCLUDED_)