⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 kalamuserset.cpp

📁 数据安全方面的程序 应用很广泛的 欢迎大家
💻 CPP
字号:
// KAlamUserSet.cpp : implementation file
//

#include "stdafx.h"
#include "KAlamUserSet.h"
#include "KXMLManager.h"

#ifdef _DEBUG
#define new DEBUG_NEW
#undef THIS_FILE
static char THIS_FILE[] = __FILE__;
#endif

/////////////////////////////////////////////////////////////////////////////
// KAlamUserSet dialog


KAlamUserSet::KAlamUserSet(CWnd* pParent /*=NULL*/)
	: CDialog(KAlamUserSet::IDD, pParent)
{
	//{{AFX_DATA_INIT(KAlamUserSet)
	mCkPopup = FALSE;
	mCkPlaySound = FALSE;
	//}}AFX_DATA_INIT
}


void KAlamUserSet::DoDataExchange(CDataExchange* pDX)
{
	CDialog::DoDataExchange(pDX);
	//{{AFX_DATA_MAP(KAlamUserSet)
	DDX_Check(pDX, IDC_CKPOPUP, mCkPopup);
	DDX_Check(pDX, IDC_CKPLAYSOUND, mCkPlaySound);
	//}}AFX_DATA_MAP
}


BEGIN_MESSAGE_MAP(KAlamUserSet, CDialog)
	//{{AFX_MSG_MAP(KAlamUserSet)
	ON_BN_CLICKED(IDC_BNCLEAR, OnBnclear)
	//}}AFX_MSG_MAP
END_MESSAGE_MAP()

/////////////////////////////////////////////////////////////////////////////
// KAlamUserSet message handlers


BOOL KAlamUserSet::OnInitDialog() 
{
	CDialog::OnInitDialog();

	// TODO: Add extra initialization here
	UpdateData(FALSE);
	return TRUE;  // return TRUE unless you set the focus to a control
	              // EXCEPTION: OCX Property Pages should return FALSE
}

void KAlamUserSet::OnOK() 
{
	// TODO: Add extra validation here
	UpdateData();
	CDialog::OnOK();
}

void KAlamUserSet::OnBnclear() 
{
	// TODO: Add your control notification handler code here
	if(MessageBox(_T("该操作将清除所有事件,是否继续?"), _T("提示"), MB_YESNO | MB_ICONQUESTION) == IDYES)
	{
		KXMLManager::Instance()->Clear();
	}
}

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -