SelContent.cpp 1.1 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455
  1. // SelContent.cpp : implementation file
  2. //
  3. #include "stdafx.h"
  4. #include "LYFZIPManage.h"
  5. #include "SelContent.h"
  6. #ifdef _DEBUG
  7. #define new DEBUG_NEW
  8. #undef THIS_FILE
  9. static char THIS_FILE[] = __FILE__;
  10. #endif
  11. /////////////////////////////////////////////////////////////////////////////
  12. // SelContent dialog
  13. SelContent::SelContent(CWnd* pParent /*=NULL*/)
  14. : CDialog(SelContent::IDD, pParent)
  15. {
  16. //{{AFX_DATA_INIT(SelContent)
  17. m_bBooking = FALSE;
  18. m_bTake = FALSE;
  19. m_bChoose = FALSE;
  20. m_bFrame = FALSE;
  21. //}}AFX_DATA_INIT
  22. }
  23. void SelContent::DoDataExchange(CDataExchange* pDX)
  24. {
  25. CDialog::DoDataExchange(pDX);
  26. //{{AFX_DATA_MAP(SelContent)
  27. DDX_Check(pDX, IDC_CHECK2, m_bBooking);
  28. DDX_Check(pDX, IDC_CHECK3, m_bTake);
  29. DDX_Check(pDX, IDC_CHECK4, m_bChoose);
  30. DDX_Check(pDX, IDC_CHECK1, m_bFrame);
  31. //}}AFX_DATA_MAP
  32. }
  33. BEGIN_MESSAGE_MAP(SelContent, CDialog)
  34. //{{AFX_MSG_MAP(SelContent)
  35. //}}AFX_MSG_MAP
  36. END_MESSAGE_MAP()
  37. /////////////////////////////////////////////////////////////////////////////
  38. // SelContent message handlers
  39. void SelContent::OnOK()
  40. {
  41. // TODO: Add extra validation here
  42. UpdateData();
  43. CDialog::OnOK();
  44. }