📄 show.cpp
字号:
// Show.cpp : implementation file
//
#include "stdafx.h"
#include "FFT_PROJECT.h"
#include "Show.h"
#include "Showquestion.h"
#ifdef _DEBUG
#define new DEBUG_NEW
#undef THIS_FILE
static char THIS_FILE[] = __FILE__;
#endif
/////////////////////////////////////////////////////////////////////////////
// CShow dialog
CShow::CShow(CWnd* pParent /*=NULL*/)
: CDialog(CShow::IDD, pParent)
{ // myView=(CScrollView *) pParent;
//pDoc=(CFFT_PROJECTDoc*)myView->GetDocument();
//{{AFX_DATA_INIT(CShow)
m_nShow = -1;
m_nshowrate = -1;
//}}AFX_DATA_INIT
//myView=(CScrollView *) pParent;
//pDoc=(CFFT_PROJECTDoc*)myView->GetDocument();
allrate=false;
}
void CShow::DoDataExchange(CDataExchange* pDX)
{
CDialog::DoDataExchange(pDX);
//{{AFX_DATA_MAP(CShow)
DDX_Radio(pDX, IDC_SHOW, m_nShow);
DDX_Radio(pDX, IDC_SHOWRATE, m_nshowrate);
//}}AFX_DATA_MAP
}
BEGIN_MESSAGE_MAP(CShow, CDialog)
//{{AFX_MSG_MAP(CShow)
ON_BN_CLICKED(IDC_RADIO4, OnRadio4)
//}}AFX_MSG_MAP
END_MESSAGE_MAP()
/////////////////////////////////////////////////////////////////////////////
// CShow message handlers
void CShow::OnRadio4()
{
// TODO: Add your control notification handler code here
CShowquestion dlg;
if(dlg.DoModal()==IDOK)//是否选择和频谱一起你按比例尺寸查看;
{ allrate=true;
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -