📄 show.cpp
字号:
// Show.cpp : implementation file
//
#include "stdafx.h"
#include "PL0.h"
#include "Show.h"
#ifdef _DEBUG
#define new DEBUG_NEW
#undef THIS_FILE
static char THIS_FILE[] = __FILE__;
#endif
/////////////////////////////////////////////////////////////////////////////
// Show dialog
Show::Show(CWnd* pParent /*=NULL*/)
: CDialog(Show::IDD, pParent)
{
//{{AFX_DATA_INIT(Show)
m_Variable = 0;//
//}}AFX_DATA_INIT
flag=false;
}
/*bool Show::GetFlag()
{
return flag ;
}
int Show::OpenDialogInput(Show Input)
{
if(Input)
Input->SetActiveWindow();
else
{
Input=new Show(this);
Input->Create(IDD_Show,this);
}
}*/
void Show::DoDataExchange(CDataExchange* pDX)
{
CDialog::DoDataExchange(pDX);
//{{AFX_DATA_MAP(Show)
DDX_Text(pDX, IDC_EDIT1, m_Variable);
DDV_MinMaxInt(pDX, m_Variable, -2147483648, 2147483647);
//}}AFX_DATA_MAP
}
BEGIN_MESSAGE_MAP(Show, CDialog)
//{{AFX_MSG_MAP(Show)
ON_BN_CLICKED(IDC_Exit, OnExit)
//}}AFX_MSG_MAP
END_MESSAGE_MAP()
/////////////////////////////////////////////////////////////////////////////
// Show message handlers
void Show::OnExit()
{
// TODO: Add your control notification handler code here
flag=true;
CDialog::OnOK();
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -