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

📄 dlg1.cpp

📁 LL(1)文法分析过程的可视化及教学应用研究
💻 CPP
字号:
// dlg1.cpp : implementation file
//

#include "stdafx.h"
#include "ll1_parsing.h"
#include "dlg1.h"
#include "dlg4.h"


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

Cdlg4 dlgt;

/////////////////////////////////////////////////////////////////////////////
// Cdlg1 dialog


Cdlg1::Cdlg1(CWnd* pParent /*=NULL*/)
	: CDialog(Cdlg1::IDD, pParent)
{
	//{{AFX_DATA_INIT(Cdlg1)
	first = _T("");
	follow = _T("");
	select = _T("");
	m_first = _T("");
	m_follow = _T("");
	m_select = _T("");
	//}}AFX_DATA_INIT
}


void Cdlg1::DoDataExchange(CDataExchange* pDX)
{
	CDialog::DoDataExchange(pDX);
	//{{AFX_DATA_MAP(Cdlg1)
	DDX_Text(pDX, IDC_EDIT1, m_first);
	DDX_Text(pDX, IDC_EDIT2, m_follow);
	DDX_Text(pDX, IDC_EDIT3, m_select);
	//}}AFX_DATA_MAP
}


BEGIN_MESSAGE_MAP(Cdlg1, CDialog)
	//{{AFX_MSG_MAP(Cdlg1)
	ON_BN_CLICKED(IDC_BUTTON2, OnButton2)
	ON_BN_CLICKED(IDC_BUTTON3, OnButton3)
	ON_BN_CLICKED(IDC_BUTTON4, OnButton4)
	//}}AFX_MSG_MAP
END_MESSAGE_MAP()

/////////////////////////////////////////////////////////////////////////////
// Cdlg1 message handlers

void Cdlg1::OnButton2() 
{
	dlgt.m_course=first;
	dlgt.DoModal();
	
}

void Cdlg1::OnButton3() 
{
	dlgt.m_course=follow;
	dlgt.DoModal();
}

void Cdlg1::OnButton4() 
{
    dlgt.m_course=select;
	dlgt.DoModal();
}

⌨️ 快捷键说明

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