📄 enterromove.cpp
字号:
// EnterRomove.cpp : implementation file
//
#include "stdafx.h"
#include "System.h"
#include "EnterRomove.h"
#ifdef _DEBUG
#define new DEBUG_NEW
#undef THIS_FILE
static char THIS_FILE[] = __FILE__;
#endif
/////////////////////////////////////////////////////////////////////////////
// EnterRomove dialog
EnterRomove::EnterRomove(CWnd* pParent /*=NULL*/)
: CDialog(EnterRomove::IDD, pParent)
{
//{{AFX_DATA_INIT(EnterRomove)
m_rID = _T("");
m_rSeatID =1;
m_rName = _T("");
m_rID="320681";
//}}AFX_DATA_INIT
}
void EnterRomove::DoDataExchange(CDataExchange* pDX)
{
CDialog::DoDataExchange(pDX);
//{{AFX_DATA_MAP(EnterRomove)
DDX_Control(pDX, IDC_LINE, m_Rline);
DDX_Text(pDX, IDC_ID, m_rID);
DDX_Text(pDX, IDC_SEAT, m_rSeatID);
DDX_Text(pDX, IDC_NAME, m_rName);
//}}AFX_DATA_MAP
}
BEGIN_MESSAGE_MAP(EnterRomove, CDialog)
//{{AFX_MSG_MAP(EnterRomove)
ON_BN_CLICKED(IDC_rOK, OnrOK)
ON_CBN_SELCHANGE(IDC_LINE, OnSelchangeLine)
ON_BN_CLICKED(IDC_rCANCEL, OnrCANCEL)
//}}AFX_MSG_MAP
END_MESSAGE_MAP()
/////////////////////////////////////////////////////////////////////////////
// EnterRomove message handlers
BOOL EnterRomove::OnInitDialog()
{
CDialog::OnInitDialog();
int Index;
Index = m_Rline.AddString("101·");
m_Rline.SetItemData(Index,0);
Index = m_Rline.AddString("10·");
m_Rline.SetItemData(Index,1);
Index = m_Rline.AddString("121·");
m_Rline.SetItemData(Index,2);
Index =m_Rline.AddString("159·");
m_Rline.SetItemData(Index,3);
Index = m_Rline.AddString("193·");
m_Rline.SetItemData(Index,4);
Index = m_Rline.AddString("43·");
m_Rline.SetItemData(Index,5);
Index = m_Rline.AddString("45·");
m_Rline.SetItemData(Index,6);
Index = m_Rline.AddString("53·");
m_Rline.SetItemData(Index,7);
Index = m_Rline.AddString("67·");
m_Rline.SetItemData(Index,8);
Index = m_Rline.AddString("93·");
m_Rline.SetItemData(Index,9);
return TRUE; // return TRUE unless you set the focus to a control
// EXCEPTION: OCX Property Pages should return FALSE
}
void EnterRomove::OnrOK()
{
CDialog::OnOK();
}
void EnterRomove::OnSelchangeLine()
{
Index=m_Rline.GetCurSel();
}
void EnterRomove::OnrCANCEL()
{
CDialog::OnCancel();
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -