RegDLG.h
上传用户:lbr_007
上传日期:2019-05-31
资源大小:282k
文件大小:2k
- #if !defined(AFX_REGDLG_H__62B15DD9_9F10_413C_805F_0D1D19692DCF__INCLUDED_)
- #define AFX_REGDLG_H__62B15DD9_9F10_413C_805F_0D1D19692DCF__INCLUDED_
- #if _MSC_VER > 1000
- #pragma once
- #endif // _MSC_VER > 1000
- // RegDLG.h : header file
- //
- /////////////////////////////////////////////////////////////////////////////
- // RegDLG dialog
- class RegDLG : public CDialog
- {
- protected:
- double m_x;
- double m_y;
- double m_lat;
- double m_lon;
- bool m_last;
- // Construction
- public:
- RegDLG(CWnd* pParent = NULL); // standard constructor
- void SetXY(double x, double y){ m_x = x; m_y = y;}
- double GetX(void)const{ return m_x;}
- double GetY(void)const{ return m_y;}
- double GetLatitude(void)const{ return m_lat;}
- double GetLongitude(void)const{ return m_lon;}
- bool GetLastCheck(void)const{ return m_last;}
- // Dialog Data
- //{{AFX_DATA(RegDLG)
- enum { IDD = IDD_REGISTRATION_DLG };
- CButton m_lastCheck;
- CEdit m_long_edit;
- CEdit m_lat_edit;
- CEdit m_xpt_edit;
- CEdit m_ypt_edit;
- //}}AFX_DATA
- // Overrides
- // ClassWizard generated virtual function overrides
- //{{AFX_VIRTUAL(RegDLG)
- protected:
- virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
- //}}AFX_VIRTUAL
- // Implementation
- protected:
- // Generated message map functions
- //{{AFX_MSG(RegDLG)
- virtual BOOL OnInitDialog();
- 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_REGDLG_H__62B15DD9_9F10_413C_805F_0D1D19692DCF__INCLUDED_)