📄 draw.h
字号:
#if !defined(AFX_DRAW_H__57E4DC8E_5CDE_4CE2_AB65_5D0BA411B125__INCLUDED_)
#define AFX_DRAW_H__57E4DC8E_5CDE_4CE2_AB65_5D0BA411B125__INCLUDED_
#include "StdAfx.h" // Added by ClassView
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
// Draw.h : header file
//
/////////////////////////////////////////////////////////////////////////////
// CDraw dialog
class CDraw : public CDialog
{
// Construction
public:
int m_iTimer;//清除点的间隔
CPoint point;
LateLong Point[101];
LateLong sPoint[3601];//时时点1小时
long lJiao;//最后一个角度角度
int iPoint;
int isPoint;
void NewLateLong(double dLate,double dLong,long lJiao,double dV);
CDraw(CWnd* pParent = NULL); // standard constructor
// Dialog Data
//{{AFX_DATA(CDraw)
enum { IDD = IDD_DIALOG_DRAW };
CStatic m_Msg;
CComboBox m_Kd;
CButton m_E;
CButton m_W;
CButton m_C;
CButton m_N;
CButton m_S;
CComboBox m_iRD;
CComboBox m_T;
CComboBox m_R;
CComboBox m_B;
//}}AFX_DATA
// Overrides
// ClassWizard generated virtual function overrides
//{{AFX_VIRTUAL(CDraw)
public:
virtual BOOL PreTranslateMessage(MSG* pMsg);
protected:
virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
//}}AFX_VIRTUAL
// Implementation
protected:
// Generated message map functions
//{{AFX_MSG(CDraw)
virtual BOOL OnInitDialog();
afx_msg void OnButtonLoadsetpoint();
afx_msg void OnPaint();
afx_msg void OnButtonJiax();
afx_msg void OnButtonJianx();
afx_msg void OnButtonJiay();
afx_msg void OnButtonJiany();
afx_msg void OnSelchangeComboR();
afx_msg void OnTimer(UINT nIDEvent);
afx_msg void OnMouseMove(UINT nFlags, CPoint point);
afx_msg void OnSelchangeComboIt();
afx_msg void OnSelchangeCOMBOiRD();
afx_msg void OnSize(UINT nType, int cx, int cy);
afx_msg void OnButtonCenter();
afx_msg void OnSelchangeComboKedu();
afx_msg void OnSelchangeComboBl();
//}}AFX_MSG
DECLARE_MESSAGE_MAP()
private:
void CenterPoint(double dLate,double dLong);
CString ftoa(double dData);
CString strFile;
CString strFile2;
double dX;
double dY;
double iB;
int iT;
int iR;
int iRD;
int iKD;
double dLate0;
double dLong0;
BOOL bDraw0;
double PAI;
};
//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.
#endif // !defined(AFX_DRAW_H__57E4DC8E_5CDE_4CE2_AB65_5D0BA411B125__INCLUDED_)
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -