pl0dlg.h

来自「编译原理课程设计VC实现源码(可以运行)」· C头文件 代码 · 共 87 行

H
87
字号
// PL0Dlg.h : header file
//

#if !defined(AFX_PL0DLG_H__3798EA21_814F_4411_90C6_9D2FFB12083A__INCLUDED_)
#define AFX_PL0DLG_H__3798EA21_814F_4411_90C6_9D2FFB12083A__INCLUDED_

#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000

#include "Xedit.h"
#include "Compiler.h"	// Added by ClassView
/////////////////////////////////////////////////////////////////////////////
// CPL0Dlg dialog

class CPL0Dlg : public CDialog
{
// Construction
public:
	CString m_strCurFile;
	CPL0Dlg(CWnd* pParent = NULL);	// standard constructor

// Dialog Data
	//{{AFX_DATA(CPL0Dlg)
	enum { IDD = IDD_PL0_DIALOG };
	CXEdit	m_cOut;
	CXEdit	m_cIn;
	CString	m_cStateBar;
	//}}AFX_DATA

	// ClassWizard generated virtual function overrides
	//{{AFX_VIRTUAL(CPL0Dlg)
	protected:
	virtual void DoDataExchange(CDataExchange* pDX);	// DDX/DDV support
	//}}AFX_VIRTUAL

// Implementation
protected:
	BOOL m_bSysEnable;
	CCompiler m_Compiler;
	HICON m_hIcon;

	// Generated message map functions
	//{{AFX_MSG(CPL0Dlg)
	virtual BOOL OnInitDialog();
	afx_msg void OnPaint();
	afx_msg HCURSOR OnQueryDragIcon();
	afx_msg void OnMenuitemAbout();
	afx_msg void OnMenuitemNew();
	afx_msg void OnMenuitemOpen();
	afx_msg void OnMenuitemSave();
	afx_msg void OnMenuitemSaveas();
	afx_msg void OnMenuitemExit();
	afx_msg void OnMenuitemUndo();
	afx_msg void OnMenuitemCut();
	afx_msg void OnMenuitemCopy();
	afx_msg void OnMenuitemPaste();
	afx_msg void OnMenuitemDel();
	afx_msg void OnMenuitemAll();
	afx_msg void OnMenuitemCifa();
	afx_msg void OnMenuitemYufa();
	afx_msg void OnMenuitemYuyi();
	afx_msg void OnMenuitemManual();
	virtual void OnCancel();
	virtual void OnOK();
	afx_msg void OnClose();
	afx_msg void OnUpdateInctrl();
	afx_msg void OnButtonCifa();
	afx_msg void OnButtonYufa();
	afx_msg void OnButtonYuyi();
	afx_msg void OnUpdateMenuitemAll(CCmdUI* pCmdUI);
	afx_msg void OnUpdateMenuitemDel(CCmdUI* pCmdUI);
	afx_msg void OnUpdateMenuitemPaste(CCmdUI* pCmdUI);
	afx_msg void OnUpdateMenuitemCopy(CCmdUI* pCmdUI);
	afx_msg void OnUpdateMenuitemCut(CCmdUI* pCmdUI);
	afx_msg void OnUpdateMenuitemUndo(CCmdUI* pCmdUI);
	afx_msg void OnMenuitemSys();
	afx_msg void OnUpdateMenuitemSys(CCmdUI* pCmdUI);
	//}}AFX_MSG
	DECLARE_MESSAGE_MAP()
};

//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.

#endif // !defined(AFX_PL0DLG_H__3798EA21_814F_4411_90C6_9D2FFB12083A__INCLUDED_)

⌨️ 快捷键说明

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