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

56 lines
1.1 KiB
C++

#pragma once
#include "resource.h"
#include "afxcmn.h"
#include "afxwin.h"
#include "uiiado.h"
#include "GsPreviewCtrl.h"
#include "PipeCableData.h"
class CXSXLDlg : public CDialog
{
DECLARE_DYNAMIC(CXSXLDlg)
public:
CXSXLDlg(CWnd* pParent = NULL);
virtual ~CXSXLDlg();
void SetCrossSectionScr(LPCTSTR psz){ m_sCrossSectionScr = psz; }
int GetPathPoints(AcGePoint3dArray& arPts) const;
enum { IDD = IDD_XSXL_DLG };
protected:
virtual void DoDataExchange(CDataExchange* pDX);
virtual BOOL OnInitDialog();
void initList();
void refreshList();
DECLARE_MESSAGE_MAP()
private:
CUIISQLiteServer m_dbSQLite;
public:
CListCtrl m_wndList;
CAcUiLineTypeComboBox m_wndLineTypeBox;
AcDbObjectId m_linetypeID;
PIPECABLE::SubCabling m_data;
public:
static void start();
public:
afx_msg void OnBnClickedButton1();
afx_msg void OnBnClickedButton4();
afx_msg void OnStnClickedStaticColor();
afx_msg HBRUSH OnCtlColor(CDC* pDC, CWnd* pWnd, UINT nCtlColor);
afx_msg void OnBnClickedOk();
afx_msg void OnBnClickedButton52();
bool m_bFree;
CString m_sCrossSectionScr;
AcGePoint3dArray m_arPtsPath;
CEdit m_ctrlCount;
CEdit m_ctrlSpace;
};