You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

80 lines
1.8 KiB
C++

#if !defined(AFX_SETSAVELINEID_H__06FCD58D_3437_483B_AF6C_F60EFDBCA187__INCLUDED_)
#define AFX_SETSAVELINEID_H__06FCD58D_3437_483B_AF6C_F60EFDBCA187__INCLUDED_
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
// SetSaveLineID.h : header file
//
#include "Resource.h"
#include "Globe.h"
#include "afxwin.h"
#include "angle.h"
#include <regex>
#include <string>
class CSetSaveLineID : public CBCGPDialog
{
// Construction
public:
CSetSaveLineID(CWnd* pParent = NULL); // standard constructor
public:
//航线文件路径
CString m_strFlyLineName;
//航线编号
int m_designLineID;
// Dialog Data
//{{AFX_DATA(CSetSaveLineID)
enum { IDD = IDD_DIALOG_LINE_ID };
CBCGPComboBox m_comboLineID;
int m_lineProperty;
double m_LineHgt;
int m_bClosedLine;
//}}AFX_DATA
// Overrides
// ClassWizard generated virtual function overrides
//{{AFX_VIRTUAL(CSetSaveLineID)
protected:
virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
//}}AFX_VIRTUAL
// Implementation
protected:
// Generated message map functions
//{{AFX_MSG(CSetSaveLineID)
afx_msg void OnSelchangeComboLineid();
//}}AFX_MSG
DECLARE_MESSAGE_MAP()
public:
virtual BOOL OnInitDialog();
afx_msg void OnBnClickedOk();
//afx_msg void OnBnClickedRadio3();
private:
bool m_bCheck;
int GetLineID();//获取航线ID
public:
CBCGPComboBox m_LineCE;
// afx_msg void OnEnChangeEditLhgt();
// 航线高度文本框
CEdit heightEdit;
afx_msg void OnBnClickedRadioMultiroute();
bool m_bCheckMultiLine;
};
//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.
#endif // !defined(AFX_SETSAVELINEID_H__06FCD58D_3437_483B_AF6C_F60EFDBCA187__INCLUDED_)