Files
envi-code/SourceCode/Code2026/tg_shs/shs_kerncmd/HandRailDlg.h
T
2026-09-28 15:28:50 +08:00

66 lines
1.5 KiB
C++

#if !defined(AFX_RAILDLG_H__0CE53753_6218_4D10_93FA_28FBD7F3CBF4__INCLUDED_)
#define AFX_RAILDLG_H__0CE53753_6218_4D10_93FA_28FBD7F3CBF4__INCLUDED_
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
// RailDlg.h : header file
//
/////////////////////////////////////////////////////////////////////////////
// CHandRailDlg dialog
#include "Resource.h"
#include "DbHandRail.h"
#include "adui.h"
#include "acui.h"
class CHandRailDlg : public CAcUiDialog
{
// Construction
public:
CHandRailDlg(TDbHandRail *pRail, CWnd* pParent = NULL); // standard constructor
// Dialog Data
//{{AFX_DATA(CHandRailDlg)
enum { IDD = IDD_HANDRAIL };
BOOL m_bShow2D;
BOOL m_bShow3D;
CString m_csHeight;
CString m_csThick;
CString m_csWidth;
int m_nAlign;
int m_nShape;
//}}AFX_DATA
TDbHandRail *m_pRail;
void Dlg2Obj();
void Obj2Dlg(const TDbHandRail *pRail);
// Overrides
// ClassWizard generated virtual function overrides
//{{AFX_VIRTUAL(CHandRailDlg)
protected:
virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
//}}AFX_VIRTUAL
// Implementation
protected:
// Generated message map functions
//{{AFX_MSG(CHandRailDlg)
virtual BOOL OnInitDialog();
afx_msg void OnUpdateDlg();
afx_msg void OnBtAdd();
afx_msg void OnBtRemove();
afx_msg void OnBtModify();
virtual void OnOK();
//}}AFX_MSG
DECLARE_MESSAGE_MAP()
};
//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.
#endif // !defined(AFX_RAILDLG_H__0CE53753_6218_4D10_93FA_28FBD7F3CBF4__INCLUDED_)