📄 jgdlg.cpp
字号:
// JgDlg.cpp : implementation file
//
#include "stdafx.h"
#include "yyxz.h"
#include "JgDlg.h"
#ifdef _DEBUG
#define new DEBUG_NEW
#undef THIS_FILE
static char THIS_FILE[] = __FILE__;
#endif
/////////////////////////////////////////////////////////////////////////////
// CJgDlg dialog
CJgDlg::CJgDlg(CWnd* pParent /*=NULL*/)
: CDialog(CJgDlg::IDD, pParent)
{
//{{AFX_DATA_INIT(CJgDlg)
m_jgResult = _T("在这里显示结果哦");
//}}AFX_DATA_INIT
}
void CJgDlg::DoDataExchange(CDataExchange* pDX)
{
CDialog::DoDataExchange(pDX);
//{{AFX_DATA_MAP(CJgDlg)
DDX_Text(pDX, IDC_STATIC_JGXS, m_jgResult);
//}}AFX_DATA_MAP
}
BEGIN_MESSAGE_MAP(CJgDlg, CDialog)
//{{AFX_MSG_MAP(CJgDlg)
ON_BN_CLICKED(IDC_BUTTON_JGTC, OnButtonJgtc)
ON_BN_CLICKED(IDC_BUTTON_JGFH, OnButtonJgfh)
//}}AFX_MSG_MAP
END_MESSAGE_MAP()
/////////////////////////////////////////////////////////////////////////////
// CJgDlg message handlers
void CJgDlg::OnButtonJgtc()
{
// TODO: Add your control notification handler code here
PostQuitMessage(0);
}
void CJgDlg::OnButtonJgfh()
{
// TODO: Add your control notification handler code here
CDialog::OnCancel();
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -