📄 editclientinfodlg.cpp
字号:
// EditclientinfoDlg.cpp : implementation file
//
#include "stdafx.h"
#include "GpsSC.h"
#include "EditclientinfoDlg.h"
#ifdef _DEBUG
#define new DEBUG_NEW
#undef THIS_FILE
static char THIS_FILE[] = __FILE__;
#endif
/////////////////////////////////////////////////////////////////////////////
// CEditclientinfoDlg dialog
CEditclientinfoDlg::CEditclientinfoDlg(CWnd* pParent /*=NULL*/)
: CDialog(CEditclientinfoDlg::IDD, pParent)
{
//{{AFX_DATA_INIT(CEditclientinfoDlg)
m_BatholithNo = _T("");
m_CarColor = _T("");
m_CarEngine = _T("");
m_CarNumber = _T("");
m_CarPhone = _T("");
m_CarType = _T("");
m_ClientAge = _T("");
m_ClientDrivelicence = _T("");
m_ClientDuty = _T("");
m_ClientIDcard = _T("");
m_ClientName = _T("");
m_ClientPassword = _T("");
m_ClientPhone = _T("");
m_ClientUnits = _T("");
//}}AFX_DATA_INIT
}
void CEditclientinfoDlg::DoDataExchange(CDataExchange* pDX)
{
CDialog::DoDataExchange(pDX);
//{{AFX_DATA_MAP(CEditclientinfoDlg)
DDX_Text(pDX, IDC_BATHOLITHNO, m_BatholithNo);
DDV_MaxChars(pDX, m_BatholithNo, 24);
DDX_Text(pDX, IDC_CARCOLOR, m_CarColor);
DDV_MaxChars(pDX, m_CarColor, 16);
DDX_Text(pDX, IDC_CARENGINE, m_CarEngine);
DDV_MaxChars(pDX, m_CarEngine, 24);
DDX_Text(pDX, IDC_CARNUMBER, m_CarNumber);
DDV_MaxChars(pDX, m_CarNumber, 20);
DDX_Text(pDX, IDC_CARPHONE, m_CarPhone);
DDV_MaxChars(pDX, m_CarPhone, 16);
DDX_Text(pDX, IDC_CARTYPE, m_CarType);
DDV_MaxChars(pDX, m_CarType, 24);
DDX_Text(pDX, IDC_CLIENTAGE, m_ClientAge);
DDV_MaxChars(pDX, m_ClientAge, 5);
DDX_Text(pDX, IDC_CLIENTDRIVELICENCE, m_ClientDrivelicence);
DDV_MaxChars(pDX, m_ClientDrivelicence, 20);
DDX_Text(pDX, IDC_CLIENTDUTY, m_ClientDuty);
DDV_MaxChars(pDX, m_ClientDuty, 50);
DDX_Text(pDX, IDC_CLIENTIDCARD, m_ClientIDcard);
DDV_MaxChars(pDX, m_ClientIDcard, 22);
DDX_Text(pDX, IDC_CLIENTNAME, m_ClientName);
DDV_MaxChars(pDX, m_ClientName, 14);
DDX_Text(pDX, IDC_CLIENTPASSWORD, m_ClientPassword);
DDV_MaxChars(pDX, m_ClientPassword, 16);
DDX_Text(pDX, IDC_CLIENTPHONE, m_ClientPhone);
DDV_MaxChars(pDX, m_ClientPhone, 16);
DDX_Text(pDX, IDC_CLIENTUNITS, m_ClientUnits);
DDV_MaxChars(pDX, m_ClientUnits, 36);
//}}AFX_DATA_MAP
}
BEGIN_MESSAGE_MAP(CEditclientinfoDlg, CDialog)
//{{AFX_MSG_MAP(CEditclientinfoDlg)
ON_EN_CHANGE(IDC_CARCOLOR, OnChangeCarcolor)
ON_EN_CHANGE(IDC_CARENGINE, OnChangeCarengine)
ON_EN_CHANGE(IDC_CARNUMBER, OnChangeCarnumber)
ON_EN_CHANGE(IDC_CARPHONE, OnChangeCarphone)
ON_EN_CHANGE(IDC_CARTYPE, OnChangeCartype)
ON_EN_CHANGE(IDC_CLIENTAGE, OnChangeClientage)
ON_EN_CHANGE(IDC_CLIENTDRIVELICENCE, OnChangeClientdrivelicence)
ON_EN_CHANGE(IDC_CLIENTDUTY, OnChangeClientduty)
ON_EN_CHANGE(IDC_CLIENTIDCARD, OnChangeClientidcard)
ON_EN_CHANGE(IDC_CLIENTNAME, OnChangeClientname)
ON_EN_CHANGE(IDC_CLIENTPASSWORD, OnChangeClientpassword)
ON_EN_CHANGE(IDC_CLIENTPHONE, OnChangeClientphone)
ON_EN_CHANGE(IDC_CLIENTUNITS, OnChangeClientunits)
//}}AFX_MSG_MAP
END_MESSAGE_MAP()
/////////////////////////////////////////////////////////////////////////////
// CEditclientinfoDlg message handlers
BOOL CEditclientinfoDlg::OnInitDialog()
{
CDialog::OnInitDialog();
return TRUE; // return TRUE unless you set the focus to a control
// EXCEPTION: OCX Property Pages should return FALSE
}
void CEditclientinfoDlg::OnChangeCarcolor()
{
// 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
}
void CEditclientinfoDlg::OnChangeCarengine()
{
// 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
}
void CEditclientinfoDlg::OnChangeCarnumber()
{
// 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
}
void CEditclientinfoDlg::OnChangeCarphone()
{
// 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
}
void CEditclientinfoDlg::OnChangeCartype()
{
// 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
}
void CEditclientinfoDlg::OnChangeClientage()
{
// 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
}
void CEditclientinfoDlg::OnChangeClientdrivelicence()
{
// 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
}
void CEditclientinfoDlg::OnChangeClientduty()
{
// 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
}
void CEditclientinfoDlg::OnChangeClientidcard()
{
// 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
}
void CEditclientinfoDlg::OnChangeClientname()
{
// 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
}
void CEditclientinfoDlg::OnChangeClientpassword()
{
// 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
}
void CEditclientinfoDlg::OnChangeClientphone()
{
// 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
}
void CEditclientinfoDlg::OnChangeClientunits()
{
// 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
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -