📄 setupdlg.cpp
字号:
// SetupDlg.cpp : implementation file
//
#include "stdafx.h"
#include "DeformAdj.h"
#include "SetupDlg.h"
#ifdef _DEBUG
#define new DEBUG_NEW
#undef THIS_FILE
static char THIS_FILE[] = __FILE__;
#endif
/////////////////////////////////////////////////////////////////////////////
// CSetupDlg dialog
CSetupDlg::CSetupDlg(CWnd* pParent /*=NULL*/)
: CDialog(CSetupDlg::IDD, pParent)
{
//{{AFX_DATA_INIT(CSetupDlg)
m_CejucEdit = _T("");
m_CejujEdit = _T("");
m_ChengEdit = _T("");
m_ChicxEdit = _T("");
m_JiaEdit = _T("");
m_TouygEdit = _T("");
m_GuancgEdit = _T("");
m_FangxEdit = _T("");
//}}AFX_DATA_INIT
}
void CSetupDlg::DoDataExchange(CDataExchange* pDX)
{
CDialog::DoDataExchange(pDX);
//{{AFX_DATA_MAP(CSetupDlg)
DDX_Text(pDX, IDC_CEJUC_EDIT, m_CejucEdit);
DDX_Text(pDX, IDC_CEJUJ_EDIT, m_CejujEdit);
DDX_Text(pDX, IDC_CHENG_EDIT, m_ChengEdit);
DDX_Text(pDX, IDC_CHICX_EDIT, m_ChicxEdit);
DDX_Text(pDX, IDC_JIA_EDIT, m_JiaEdit);
DDX_Text(pDX, IDC_TOUYG_EDIT, m_TouygEdit);
DDX_Text(pDX, IDC_GUANCG_EDIT, m_GuancgEdit);
DDX_Text(pDX, IDC_FANGX_EDIT, m_FangxEdit);
//}}AFX_DATA_MAP
}
BEGIN_MESSAGE_MAP(CSetupDlg, CDialog)
//{{AFX_MSG_MAP(CSetupDlg)
ON_EN_CHANGE(IDC_CEJUC_EDIT, OnChangeCejucEdit)
ON_EN_CHANGE(IDC_CEJUJ_EDIT, OnChangeCejujEdit)
ON_EN_CHANGE(IDC_CHENG_EDIT, OnChangeChengEdit)
ON_EN_CHANGE(IDC_CHICX_EDIT, OnChangeChicxEdit)
ON_EN_CHANGE(IDC_FANGX_EDIT, OnChangeFangxEdit)
ON_EN_CHANGE(IDC_GUANCG_EDIT, OnChangeGuancgEdit)
ON_EN_CHANGE(IDC_JIA_EDIT, OnChangeJiaEdit)
ON_EN_CHANGE(IDC_TOUYG_EDIT, OnChangeTouygEdit)
//}}AFX_MSG_MAP
END_MESSAGE_MAP()
/////////////////////////////////////////////////////////////////////////////
// CSetupDlg message handlers
void CSetupDlg::OnChangeCejucEdit()
{
// TODO: If this is a RICHEDIT control, the control will not
// send this notification unless you override the CDialog::OnInitDialog()
// function and call CRichEditCtrl().SetEventMask()
// with the ENM_CHANGE flag ORed into the mask.
// TODO: Add your control notification handler code here
UpdateData(true);
}
void CSetupDlg::OnChangeCejujEdit()
{
// TODO: If this is a RICHEDIT control, the control will not
// send this notification unless you override the CDialog::OnInitDialog()
// function and call CRichEditCtrl().SetEventMask()
// with the ENM_CHANGE flag ORed into the mask.
// TODO: Add your control notification handler code here
UpdateData(true);
}
void CSetupDlg::OnChangeChengEdit()
{
// TODO: If this is a RICHEDIT control, the control will not
// send this notification unless you override the CDialog::OnInitDialog()
// function and call CRichEditCtrl().SetEventMask()
// with the ENM_CHANGE flag ORed into the mask.
// TODO: Add your control notification handler code here
UpdateData(true);
}
void CSetupDlg::OnChangeChicxEdit()
{
// TODO: If this is a RICHEDIT control, the control will not
// send this notification unless you override the CDialog::OnInitDialog()
// function and call CRichEditCtrl().SetEventMask()
// with the ENM_CHANGE flag ORed into the mask.
// TODO: Add your control notification handler code here
UpdateData(true);
}
void CSetupDlg::OnChangeFangxEdit()
{
// TODO: If this is a RICHEDIT control, the control will not
// send this notification unless you override the CDialog::OnInitDialog()
// function and call CRichEditCtrl().SetEventMask()
// with the ENM_CHANGE flag ORed into the mask.
// TODO: Add your control notification handler code here
UpdateData(true);
}
void CSetupDlg::OnChangeGuancgEdit()
{
// TODO: If this is a RICHEDIT control, the control will not
// send this notification unless you override the CDialog::OnInitDialog()
// function and call CRichEditCtrl().SetEventMask()
// with the ENM_CHANGE flag ORed into the mask.
// TODO: Add your control notification handler code here
UpdateData(true);
}
void CSetupDlg::OnChangeJiaEdit()
{
// TODO: If this is a RICHEDIT control, the control will not
// send this notification unless you override the CDialog::OnInitDialog()
// function and call CRichEditCtrl().SetEventMask()
// with the ENM_CHANGE flag ORed into the mask.
// TODO: Add your control notification handler code here
UpdateData(true);
}
void CSetupDlg::OnChangeTouygEdit()
{
// TODO: If this is a RICHEDIT control, the control will not
// send this notification unless you override the CDialog::OnInitDialog()
// function and call CRichEditCtrl().SetEventMask()
// with the ENM_CHANGE flag ORed into the mask.
// TODO: Add your control notification handler code here
UpdateData(true);
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -