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

📄 xuanze.cpp

📁 用Visual c++写
💻 CPP
字号:
// XuanZe.cpp : implementation file
//

#include "stdafx.h"
#include "mining.h"
#include "XuanZe.h"

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

/////////////////////////////////////////////////////////////////////////////
// CXuanZe dialog


CXuanZe::CXuanZe(CWnd* pParent /*=NULL*/)
	: CDialog(CXuanZe::IDD, pParent)
{
	//{{AFX_DATA_INIT(CXuanZe)
		// NOTE: the ClassWizard will add member initialization here
	//}}AFX_DATA_INIT
}


void CXuanZe::DoDataExchange(CDataExchange* pDX)
{
	CDialog::DoDataExchange(pDX);
	//{{AFX_DATA_MAP(CXuanZe)
		// NOTE: the ClassWizard will add DDX and DDV calls here
	//}}AFX_DATA_MAP
}


BEGIN_MESSAGE_MAP(CXuanZe, CDialog)
	//{{AFX_MSG_MAP(CXuanZe)
	ON_BN_CLICKED(IDC_JISUANJI, OnJisuanji)
	ON_BN_CLICKED(IDC_GAOZHONG, OnGaozhong)
	ON_WM_CLOSE()
	//}}AFX_MSG_MAP
END_MESSAGE_MAP()

/////////////////////////////////////////////////////////////////////////////
// CXuanZe message handlers

void CXuanZe::OnJisuanji() 
{
	OnOK();
}

void CXuanZe::OnGaozhong() 
{
	OnOK();	
	
	
}



void CXuanZe::OnClose() 
{
	// TODO: Add your message handler code here and/or call default
	int nResult;
	nResult=MessageBox("确定要退出系统吗?","退出",MB_OKCANCEL|MB_ICONQUESTION);
	if(nResult==IDOK)
	{
		::exit(0);	
	}
}

⌨️ 快捷键说明

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