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

126 lines
2.8 KiB
C++

// GasFireTextDlg.cpp : implementation file
//
#include "stdafx.h"
#include "GasFireTextDlg.h"
#ifdef _DEBUG
#define new DEBUG_NEW
#undef THIS_FILE
static char THIS_FILE[] = __FILE__;
#endif
/////////////////////////////////////////////////////////////////////////////
// CGasFireTextDlg dialog
CGasFireTextDlg::CGasFireTextDlg(CWnd* pParent /*=NULL*/)
: CDialog(CGasFireTextDlg::IDD, pParent)
{
//{{AFX_DATA_INIT(CGasFireTextDlg)
// NOTE: the ClassWizard will add member initialization here
//}}AFX_DATA_INIT
}
void CGasFireTextDlg::DoDataExchange(CDataExchange* pDX)
{
CDialog::DoDataExchange(pDX);
//{{AFX_DATA_MAP(CGasFireTextDlg)
// NOTE: the ClassWizard will add DDX and DDV calls here
//}}AFX_DATA_MAP
}
BEGIN_MESSAGE_MAP(CGasFireTextDlg, CDialog)
//{{AFX_MSG_MAP(CGasFireTextDlg)
//}}AFX_MSG_MAP
END_MESSAGE_MAP()
/////////////////////////////////////////////////////////////////////////////
// CGasFireText2Dlg dialog
CGasFireText2Dlg::CGasFireText2Dlg(CWnd* pParent /*=NULL*/)
: CDialog(CGasFireText2Dlg::IDD, pParent)
{
//{{AFX_DATA_INIT(CGasFireText2Dlg)
// NOTE: the ClassWizard will add member initialization here
//}}AFX_DATA_INIT
}
void CGasFireText2Dlg::DoDataExchange(CDataExchange* pDX)
{
CDialog::DoDataExchange(pDX);
//{{AFX_DATA_MAP(CGasFireText2Dlg)
// NOTE: the ClassWizard will add DDX and DDV calls here
//}}AFX_DATA_MAP
}
BEGIN_MESSAGE_MAP(CGasFireText2Dlg, CDialog)
//{{AFX_MSG_MAP(CGasFireText2Dlg)
// NOTE: the ClassWizard will add message map macros here
//}}AFX_MSG_MAP
END_MESSAGE_MAP()
/////////////////////////////////////////////////////////////////////////////
// CGasFireText2Dlg message handlers
BOOL CGasFireText2Dlg::OnInitDialog()
{
CDialog::OnInitDialog();
// TODO: Add extra initialization here
return TRUE; // return TRUE unless you set the focus to a control
// EXCEPTION: OCX Property Pages should return FALSE
}
#ifdef _DEBUG
#define new DEBUG_NEW
#undef THIS_FILE
static char THIS_FILE[] = __FILE__;
#endif
/////////////////////////////////////////////////////////////////////////////
// CNoteDlg dialog
CNoteDlg::CNoteDlg(CWnd* pParent /*=NULL*/)
: CDialog(CNoteDlg::IDD, pParent)
{
//{{AFX_DATA_INIT(CNoteDlg)
m_sText = _T("");
m_sTitle = _T("");
//}}AFX_DATA_INIT
}
void CNoteDlg::DoDataExchange(CDataExchange* pDX)
{
CDialog::DoDataExchange(pDX);
//{{AFX_DATA_MAP(CNoteDlg)
DDX_Text(pDX, IDC_STATIC_TEXT, m_sText);
//}}AFX_DATA_MAP
}
BEGIN_MESSAGE_MAP(CNoteDlg, CDialog)
//{{AFX_MSG_MAP(CNoteDlg)
//}}AFX_MSG_MAP
END_MESSAGE_MAP()
/////////////////////////////////////////////////////////////////////////////
// CNoteDlg message handlers
BOOL CNoteDlg::OnInitDialog()
{
CDialog::OnInitDialog();
SetWindowText(m_sTitle);
return TRUE; // return TRUE unless you set the focus to a control
// EXCEPTION: OCX Property Pages should return FALSE
}