📄 regconf.cpp
字号:
// RegConf.cpp : implementation file
//
#include "stdafx.h"
#include "IPCount.h"
#include "RegConf.h"
#ifdef _DEBUG
#define new DEBUG_NEW
#undef THIS_FILE
static char THIS_FILE[] = __FILE__;
#endif
/////////////////////////////////////////////////////////////////////////////
// CRegConf dialog
CRegConf::CRegConf(CWnd* pParent /*=NULL*/)
: CDialog(CRegConf::IDD, pParent)
{
//{{AFX_DATA_INIT(CRegConf)
m_strMacCode = _T("");
m_strRegCode = _T("");
//}}AFX_DATA_INIT
}
void CRegConf::DoDataExchange(CDataExchange* pDX)
{
CDialog::DoDataExchange(pDX);
//{{AFX_DATA_MAP(CRegConf)
DDX_Text(pDX, IDC_EDIT_MACCODE, m_strMacCode);
DDX_Text(pDX, IDC_EDIT_REGCODE, m_strRegCode);
//}}AFX_DATA_MAP
}
BEGIN_MESSAGE_MAP(CRegConf, CDialog)
//{{AFX_MSG_MAP(CRegConf)
ON_BN_CLICKED(IDC_BUTTON_CONF, OnConf)
//}}AFX_MSG_MAP
END_MESSAGE_MAP()
/////////////////////////////////////////////////////////////////////////////
// CRegConf message handlers
void CRegConf::OnConf()
{
// TODO: Add your control notification handler code here
CDialog::OnOK();
}
BOOL CRegConf::OnInitDialog()
{
CDialog::OnInitDialog();
SetIcon(AfxGetApp()->LoadIcon(IDI_ICON_REG),TRUE);
SetIcon(AfxGetApp()->LoadIcon(IDI_ICON_REG),FALSE);
// TODO: Add extra initialization here
return TRUE; // return TRUE unless you set the focus to a control
// EXCEPTION: OCX Property Pages should return FALSE
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -