📄 dlg_row.cpp
字号:
// Dlg_row.cpp : implementation file
//
#include "stdafx.h"
#include "dataanalisis.h"
#include "Dlg_row.h"
#include "Dlg_location.h"
#ifdef _DEBUG
#define new DEBUG_NEW
#undef THIS_FILE
static char THIS_FILE[] = __FILE__;
#endif
/////////////////////////////////////////////////////////////////////////////
// CDlg_row dialog
CDlg_row::CDlg_row(CWnd* pParent /*=NULL*/)
: CDialog(CDlg_row::IDD, pParent)
{
//{{AFX_DATA_INIT(CDlg_row)
// NOTE: the ClassWizard will add member initialization here
//}}AFX_DATA_INIT
}
void CDlg_row::DoDataExchange(CDataExchange* pDX)
{
CDialog::DoDataExchange(pDX);
//{{AFX_DATA_MAP(CDlg_row)
DDX_Control(pDX, IDC_NO, m_NO);
//}}AFX_DATA_MAP
}
BEGIN_MESSAGE_MAP(CDlg_row, CDialog)
//{{AFX_MSG_MAP(CDlg_row)
//}}AFX_MSG_MAP
END_MESSAGE_MAP()
/////////////////////////////////////////////////////////////////////////////
// CDlg_row message handlers
int n;
int g=0;
void CDlg_row::OnOK()
{
// TODO: Add extra validation here
char cEdit[10];
m_NO.GetWindowText(cEdit,10);
n=int(atof((LPCTSTR)cEdit));
CDialog::OnOK();
CDlg_location location;
location.DoModal();
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -