?? dlg01.cpp
字號:
// Dlg01.cpp : implementation file
//
#include "stdafx.h"
#include "DSP.h"
#include "Dlg01.h"
#ifdef _DEBUG
#define new DEBUG_NEW
#undef THIS_FILE
static char THIS_FILE[] = __FILE__;
#endif
/////////////////////////////////////////////////////////////////////////////
// CDlg01 dialog
CDlg01::CDlg01(CWnd* pParent /*=NULL*/)
: CDialog(CDlg01::IDD, pParent)
{
//{{AFX_DATA_INIT(CDlg01)
m_str = _T("");
//}}AFX_DATA_INIT
}
void CDlg01::DoDataExchange(CDataExchange* pDX)
{
CDialog::DoDataExchange(pDX);
//{{AFX_DATA_MAP(CDlg01)
DDX_Text(pDX, IDC_EDIT1, m_str);
//}}AFX_DATA_MAP
}
BEGIN_MESSAGE_MAP(CDlg01, CDialog)
//{{AFX_MSG_MAP(CDlg01)
ON_BN_CLICKED(IDC_BUTTON1, OnButton1)
//}}AFX_MSG_MAP
END_MESSAGE_MAP()
/////////////////////////////////////////////////////////////////////////////
// CDlg01 message handlers
void CDlg01::OnButton1()
{
// TODO: Add your control notification handler code here
UpdateData();
drawdiscrete=FALSE;
Dsignal sgn1;
sgn1.CStringToSignal(m_str);
sgn.FreqChangeToTime(sgn1);
CDialog::OnOK();
}
void CDlg01::OnOK()
{
// TODO: Add extra validation here
UpdateData();
sgn.CStringToSignal(m_str);
drawdiscrete=TRUE;
CDialog::OnOK();
}
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -