jgdlg.cpp

来自「采用Dijkstra算法和Floyd算法实现的简单医院选址系统」· C++ 代码 · 共 57 行

CPP
57
字号
// JgDlg.cpp : implementation file
//

#include "stdafx.h"
#include "yyxz.h"
#include "JgDlg.h"

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

/////////////////////////////////////////////////////////////////////////////
// CJgDlg dialog


CJgDlg::CJgDlg(CWnd* pParent /*=NULL*/)
	: CDialog(CJgDlg::IDD, pParent)
{
	//{{AFX_DATA_INIT(CJgDlg)
	m_jgResult = _T("在这里显示结果哦");
	//}}AFX_DATA_INIT
}


void CJgDlg::DoDataExchange(CDataExchange* pDX)
{
	CDialog::DoDataExchange(pDX);
	//{{AFX_DATA_MAP(CJgDlg)
	DDX_Text(pDX, IDC_STATIC_JGXS, m_jgResult);
	//}}AFX_DATA_MAP
}


BEGIN_MESSAGE_MAP(CJgDlg, CDialog)
	//{{AFX_MSG_MAP(CJgDlg)
	ON_BN_CLICKED(IDC_BUTTON_JGTC, OnButtonJgtc)
	ON_BN_CLICKED(IDC_BUTTON_JGFH, OnButtonJgfh)
	//}}AFX_MSG_MAP
END_MESSAGE_MAP()

/////////////////////////////////////////////////////////////////////////////
// CJgDlg message handlers

void CJgDlg::OnButtonJgtc() 
{
	// TODO: Add your control notification handler code here
	PostQuitMessage(0);	
}

void CJgDlg::OnButtonJgfh() 
{
	// TODO: Add your control notification handler code here
	CDialog::OnCancel();
}

⌨️ 快捷键说明

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