📄 retiretype.cpp
字号:
// RetireType.cpp : implementation file
//
#include "stdafx.h"
#include "横店集团保卫人员管理系统.h"
#include "RetireType.h"
#ifdef _DEBUG
#define new DEBUG_NEW
#undef THIS_FILE
static char THIS_FILE[] = __FILE__;
#endif
extern int RetireType;
/////////////////////////////////////////////////////////////////////////////
// CRetireType dialog
CRetireType::CRetireType(CWnd* pParent /*=NULL*/)
: CDialog(CRetireType::IDD, pParent)
{
//{{AFX_DATA_INIT(CRetireType)
//}}AFX_DATA_INIT
}
void CRetireType::DoDataExchange(CDataExchange* pDX)
{
CDialog::DoDataExchange(pDX);
//{{AFX_DATA_MAP(CRetireType)
DDX_Control(pDX, IDC_RADIO2, m_cizhi);
//}}AFX_DATA_MAP
}
BEGIN_MESSAGE_MAP(CRetireType, CDialog)
//{{AFX_MSG_MAP(CRetireType)
ON_BN_CLICKED(IDC_BUTTON1, OnSure)
//}}AFX_MSG_MAP
END_MESSAGE_MAP()
/////////////////////////////////////////////////////////////////////////////
// CRetireType message handlers
BOOL CRetireType::OnInitDialog()
{
CDialog::OnInitDialog();
m_cizhi.SetCheck(true);
// TODO: Add extra initialization here
return TRUE; // return TRUE unless you set the focus to a control
// EXCEPTION: OCX Property Pages should return FALSE
}
void CRetireType::OnSure()
{
if(m_cizhi.GetCheck())
RetireType=1;
else
RetireType=0;
this->OnOK();
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -