2026-10-04 00:04:20 +08:00
|
|
|
#include "stdafx.h"
|
2026-09-28 15:28:50 +08:00
|
|
|
#include "FZSSDlg.h"
|
|
|
|
|
#include "afxdialogex.h"
|
|
|
|
|
#include "uihistory.h"
|
|
|
|
|
|
|
|
|
|
IMPLEMENT_DYNAMIC(CFZSSDlg, CDialog)
|
|
|
|
|
|
|
|
|
|
CFZSSDlg::CFZSSDlg(CWnd* pParent /*=NULL*/)
|
|
|
|
|
: CDialog(IDD_FZSS_DLG, pParent)
|
|
|
|
|
, m_dW(600)
|
|
|
|
|
, m_dOffFrWall(0)
|
|
|
|
|
, m_dEl(0)
|
|
|
|
|
, m_dInThick(20)
|
|
|
|
|
, m_dOutThick(10)
|
|
|
|
|
{
|
|
|
|
|
GET_CACHE(CFZSSDlg
|
|
|
|
|
, %f%f%f%f%f
|
|
|
|
|
, &m_dW
|
|
|
|
|
, &m_dOffFrWall
|
|
|
|
|
, &m_dEl
|
|
|
|
|
, &m_dInThick
|
|
|
|
|
, &m_dOutThick);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
CFZSSDlg::~CFZSSDlg()
|
|
|
|
|
{
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
void CFZSSDlg::DoDataExchange(CDataExchange* pDX)
|
|
|
|
|
{
|
|
|
|
|
CDialog::DoDataExchange(pDX);
|
|
|
|
|
DDX_Text(pDX, IDC_EDIT1, m_dW);
|
|
|
|
|
DDX_Text(pDX, IDC_EDIT2, m_dOffFrWall);
|
|
|
|
|
DDX_Text(pDX, IDC_EDIT10, m_dEl);
|
|
|
|
|
DDX_Text(pDX, IDC_EDIT3, m_dInThick);
|
|
|
|
|
DDX_Text(pDX, IDC_EDIT6, m_dOutThick);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
BEGIN_MESSAGE_MAP(CFZSSDlg, CDialog)
|
|
|
|
|
ON_BN_CLICKED(IDOK, &CFZSSDlg::OnBnClickedOk)
|
|
|
|
|
END_MESSAGE_MAP()
|
|
|
|
|
|
|
|
|
|
BOOL CFZSSDlg::OnInitDialog()
|
|
|
|
|
{
|
|
|
|
|
CDialog::OnInitDialog();
|
|
|
|
|
|
|
|
|
|
UpdateData(FALSE);
|
|
|
|
|
|
|
|
|
|
return TRUE;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
void CFZSSDlg::OnBnClickedOk()
|
|
|
|
|
{
|
|
|
|
|
if (!UpdateData(TRUE))
|
|
|
|
|
return;
|
|
|
|
|
|
|
|
|
|
SET_CACHE(CFZSSDlg
|
|
|
|
|
, %f % f % f % f % f
|
|
|
|
|
, m_dW
|
|
|
|
|
, m_dOffFrWall
|
|
|
|
|
, m_dEl
|
|
|
|
|
, m_dInThick
|
|
|
|
|
, m_dOutThick);
|
|
|
|
|
|
|
|
|
|
CDialog::OnOK();
|
|
|
|
|
}
|