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

📄 dialogrv.cpp

📁 BFS、DFS、有向图、无向图中的各种算法的实现
💻 CPP
字号:
// DialogRV.cpp : implementation file
//

#include "stdafx.h"
#include "graph.h"
#include "DialogRV.h"

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

/////////////////////////////////////////////////////////////////////////////
// CDialogRV dialog


CDialogRV::CDialogRV(CWnd* pParent /*=NULL*/)
	: CDialog(CDialogRV::IDD, pParent)
{
	//{{AFX_DATA_INIT(CDialogRV)
	m_strResult = _T("");
	//}}AFX_DATA_INIT
	m_bcontinue = TRUE;
}


void CDialogRV::DoDataExchange(CDataExchange* pDX)
{
	CDialog::DoDataExchange(pDX);
	//{{AFX_DATA_MAP(CDialogRV)
	DDX_Text(pDX, IDC_EDIT1, m_strResult);
	//}}AFX_DATA_MAP
}


BEGIN_MESSAGE_MAP(CDialogRV, CDialog)
	//{{AFX_MSG_MAP(CDialogRV)
	ON_BN_CLICKED(IDC_BUTTON1, OnButton1)
	ON_BN_CLICKED(IDC_BUTTON2, OnButton2)
	//}}AFX_MSG_MAP
END_MESSAGE_MAP()

/////////////////////////////////////////////////////////////////////////////
// CDialogRV message handlers

void CDialogRV::OnButton1() 
{
	m_bcontinue = TRUE;
	CDialog::OnOK();
	
}

void CDialogRV::OnButton2() 
{
	m_bcontinue = FALSE;
	CDialog::OnOK();
	
}

⌨️ 快捷键说明

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