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.

82 lines
1.9 KiB
C++

//////////////////////////////////////////////////////////////////////////////
//文件: CZoneDlg.cpp
//主要功能:
// 投影参数设置
//
//程序编写: 2008-11-09
//
//
/////////////////////////////////////////////////////////////////////////////
#if !defined(AFX_ZONEDLG_H__F8943985_2A03_4EFB_B3E7_B46A9905C81F__INCLUDED_)
#define AFX_ZONEDLG_H__F8943985_2A03_4EFB_B3E7_B46A9905C81F__INCLUDED_
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
// ZoneDlg.h : header file
//
#include "ExpandingDialog.h"
#include "Resource.h"
/////////////////////////////////////////////////////////////////////////////
// CZoneDlg dialog
class CZoneDlg : public CExpandingDialog
{
// Construction
public:
CString ToString(double cl);
double GetCenterLongitude(int zz, double ww, int select);
void StringToZW();
CString ZWToString();
CString string;
CZoneDlg(CWnd* pParent = NULL); // standard constructor
int zone;
double w;
BOOL m_bCustomBak;
// Dialog Data
//{{AFX_DATA(CZoneDlg)
enum { IDD = IDD_DIALOGzone };
CComboBox m_zone;
CEdit m_c_edit;
CEdit m_DCenter;
CComboBox m_w;
double m_c;
CString m_sW;
BOOL m_bCustom;
double m_fDCenter;
CString m_sZone;
//}}AFX_DATA
// Overrides
// ClassWizard generated virtual function overrides
//{{AFX_VIRTUAL(CZoneDlg)
protected:
virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
//}}AFX_VIRTUAL
// Implementation
protected:
// Generated message map functions
//{{AFX_MSG(CZoneDlg)
afx_msg void OnEditchangeCOMBOw();
afx_msg void OnBUTTONSet();
afx_msg void OnCHECKDefine();
afx_msg void OnSelchangeCOMBOw();
afx_msg void OnSelchangeCombo();
virtual void OnOK();
virtual void OnCancel();
virtual BOOL OnInitDialog();
//}}AFX_MSG
DECLARE_MESSAGE_MAP()
};
//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.
#endif // !defined(AFX_ZONEDLG_H__F8943985_2A03_4EFB_B3E7_B46A9905C81F__INCLUDED_)