?? xuanze.cpp
字號(hào):
// 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("確定要退出系統(tǒng)嗎?","退出",MB_OKCANCEL|MB_ICONQUESTION);
if(nResult==IDOK)
{
::exit(0);
}
}
?? 快捷鍵說明
復(fù)制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號(hào)
Ctrl + =
減小字號(hào)
Ctrl + -