Files
gjm 164968b62e chore
把非utf8-bom编码的cpp/h文件改为 utf8 bom 编码, msvc识别utf8编码时,如果不是bom格式的,会使用当前cp_oem来解码.
2026-10-04 00:04:20 +08:00

39 lines
640 B
C++

#include "stdafx.h"
#include "CUDirDlg.h"
IMPLEMENT_DYNAMIC(CUDirDlg, CDialog)
CUDirDlg::CUDirDlg(CWnd* pParent /*=NULL*/)
: CDialog(IDD_UDIRDLG, pParent)
, m_dAng(0)
{
m_vtDir.set(0, 0, 1);
}
CUDirDlg::~CUDirDlg()
{
}
void CUDirDlg::DoDataExchange(CDataExchange* pDX)
{
CDialog::DoDataExchange(pDX);
DDX_Text(pDX, IDC_EDIT1, m_dAng);
}
BEGIN_MESSAGE_MAP(CUDirDlg, CDialog)
ON_BN_CLICKED(IDOK, &CUDirDlg::OnBnClickedOk)
END_MESSAGE_MAP()
BOOL CUDirDlg::OnInitDialog()
{
CDialog::OnInitDialog();
return TRUE;
}
void CUDirDlg::OnBnClickedOk()
{
// TODO: Add your control notification handler code here
CDialog::OnOK();
}