DialogShuangYu.cpp
Upload User: szkelitina
Upload Date: 2022-05-21
Package Size: 6797k
Code Size: 1k
Category:

Special Effects

Development Platform:

Visual C++

  1. // DialogShuangYu.cpp : implementation file
  2. //
  3. #include "stdafx.h"
  4. #include "DSplit.h"
  5. #include "DialogShuangYu.h"
  6. #ifdef _DEBUG
  7. #define new DEBUG_NEW
  8. #undef THIS_FILE
  9. static char THIS_FILE[] = __FILE__;
  10. #endif
  11. /////////////////////////////////////////////////////////////////////////////
  12. // CDialogShuangYu dialog
  13. CDialogShuangYu::CDialogShuangYu(CWnd* pParent /*=NULL*/)
  14. : CDialog(CDialogShuangYu::IDD, pParent)
  15. {
  16. //{{AFX_DATA_INIT(CDialogShuangYu)
  17. m_ZhiYu1 = 20;
  18. m_ZhiYu2 = 80;
  19. //}}AFX_DATA_INIT
  20. }
  21. void CDialogShuangYu::DoDataExchange(CDataExchange* pDX)
  22. {
  23. CDialog::DoDataExchange(pDX);
  24. //{{AFX_DATA_MAP(CDialogShuangYu)
  25. DDX_Text(pDX, IDC_EDIT1, m_ZhiYu1);
  26. DDX_Text(pDX, IDC_EDIT2, m_ZhiYu2);
  27. //}}AFX_DATA_MAP
  28. }
  29. BEGIN_MESSAGE_MAP(CDialogShuangYu, CDialog)
  30. //{{AFX_MSG_MAP(CDialogShuangYu)
  31. ON_BN_CLICKED(IDC_RADIO1, OnRadio1)
  32. ON_BN_CLICKED(IDC_RADIO2, OnRadio2)
  33. //}}AFX_MSG_MAP
  34. END_MESSAGE_MAP()
  35. /////////////////////////////////////////////////////////////////////////////
  36. // CDialogShuangYu message handlers
  37. void CDialogShuangYu::OnRadio1() 
  38. {
  39. // TODO: Add your control notification handler code here
  40. m_mode=0;
  41. }
  42. void CDialogShuangYu::OnRadio2() 
  43. {
  44. // TODO: Add your control notification handler code here
  45. m_mode=1;
  46. }