dialogia.cpp

来自「BFS、DFS、有向图、无向图中的各种算法的实现」· C++ 代码 · 共 53 行

CPP
53
字号
// DialogIA.cpp : implementation file
//

#include "stdafx.h"
#include "graph.h"
#include "DialogIA.h"

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

/////////////////////////////////////////////////////////////////////////////
// CDialogIA dialog


CDialogIA::CDialogIA(CWnd* pParent /*=NULL*/)
	: CDialog(CDialogIA::IDD, pParent)
{
	//{{AFX_DATA_INIT(CDialogIA)
	m_strSName = _T("");
	m_strEName = _T("");
	m_nweight = 0;
	//}}AFX_DATA_INIT
}


void CDialogIA::DoDataExchange(CDataExchange* pDX)
{
	CDialog::DoDataExchange(pDX);
	//{{AFX_DATA_MAP(CDialogIA)
	DDX_Text(pDX, IDC_EDIT1, m_strSName);
	DDX_Text(pDX, IDC_EDIT2, m_strEName);
	DDX_Text(pDX, IDC_EDIT3, m_nweight);
	//}}AFX_DATA_MAP
}


BEGIN_MESSAGE_MAP(CDialogIA, CDialog)
	//{{AFX_MSG_MAP(CDialogIA)
	//}}AFX_MSG_MAP
END_MESSAGE_MAP()

/////////////////////////////////////////////////////////////////////////////
// CDialogIA message handlers

void CDialogIA::OnOK() 
{
	m_bmodify = TRUE;	
	CDialog::OnOK();
}

⌨️ 快捷键说明

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