Dlg_ShowMessage.cpp 912 B

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950
  1. // Dlg_ShowMessage.cpp : 实现文件
  2. //
  3. #include "stdafx.h"
  4. #include "IDE.h"
  5. #include "Dlg_ShowMessage.h"
  6. #include ".\dlg_showmessage.h"
  7. // CDlg_ShowMessage 对话框
  8. IMPLEMENT_DYNAMIC(CDlg_ShowMessage, CDialog)
  9. CDlg_ShowMessage::CDlg_ShowMessage(CWnd* pParent /*=NULL*/)
  10. : CDialog(CDlg_ShowMessage::IDD, pParent)
  11. , m_bChk_NoShow(FALSE)
  12. , m_sEdit_Show(_T(""))
  13. {
  14. }
  15. CDlg_ShowMessage::~CDlg_ShowMessage()
  16. {
  17. }
  18. void CDlg_ShowMessage::DoDataExchange(CDataExchange* pDX)
  19. {
  20. CDialog::DoDataExchange(pDX);
  21. DDX_Check(pDX, IDC_CHECK_NOSHOW, m_bChk_NoShow);
  22. DDX_Text(pDX, IDC_EDIT_SHOW, m_sEdit_Show);
  23. }
  24. BEGIN_MESSAGE_MAP(CDlg_ShowMessage, CDialog)
  25. ON_BN_CLICKED(IDOK, OnBnClickedOk)
  26. END_MESSAGE_MAP()
  27. // CDlg_ShowMessage 消息处理程序
  28. BOOL CDlg_ShowMessage::OnInitDialog()
  29. {
  30. CDialog::OnInitDialog();
  31. return TRUE;
  32. }
  33. void CDlg_ShowMessage::OnBnClickedOk()
  34. {
  35. // TODO: 在此添加控件通知处理程序代码
  36. OnOK();
  37. }