📄 deformadjview.h
字号:
// DeformAdjView.h : interface of the CDeformAdjView class
//
/////////////////////////////////////////////////////////////////////////////
#if !defined(AFX_DEFORMADJVIEW_H__C21B24D1_B6EA_4DBD_BD2E_1B209CFBAA1C__INCLUDED_)
#define AFX_DEFORMADJVIEW_H__C21B24D1_B6EA_4DBD_BD2E_1B209CFBAA1C__INCLUDED_
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
#include <Afxtempl.h>
class CDeformAdjView : public CView
{
protected: // create from serialization only
CDeformAdjView();
DECLARE_DYNCREATE(CDeformAdjView)
// Attributes
public:
CDeformAdjDoc* GetDocument();
/* CString m_TouygEdit;
CString m_JiaEdit;
CString m_GuancgEdit;
CString m_FangxEdit;
CString m_ChicxEdit;
CString m_ChengEdit;
CString m_CejujEdit;
CString m_CejucEdit;*/
CString pointa,pointb,pointp;
int np,na,ns,nl,n;
double minx,miny,maxx,maxy; //定义绘图的屏幕
CString maxday,maxmonth;
CString year,pName,line;
CStringArray namepro;
int m_year,control,ratio;
long obetime;
int ScreenWide,ScreenHigh;
int m_DrawState;
typedef struct
{
int i;
CString nr;
double x;
double y;
int attr;
}xycoorinate ;
typedef struct
{
int i;
long times;
CString d1;
CString d2;
CString d3;
double angel;
double m0;
}angelmear ;
typedef struct
{
int i;
long times;
CString d1;
CString d2;
double s;
double m0;
}distmear;
typedef struct
{
int i;
long times;
CString d1;
CString d2;
double angel;
double m0;
}fangxianginfo ;
typedef struct
{
int i;
CString nr;
double H;
int attr;
}elepoint ;
typedef struct
{
int i;
long times;
CString d1;
CString d2;
double d;
double s;
int z;
}obinfo;
CArray<xycoorinate,xycoorinate> coor;
CArray<angelmear,angelmear> mear;
CArray<distmear,distmear> dist;
CArray<fangxianginfo,fangxianginfo> fixfangx;
CArray<elepoint,elepoint> ep;
CArray<obinfo,obinfo> obi;
// Operations
public:
// Overrides
// ClassWizard generated virtual function overrides
//{{AFX_VIRTUAL(CDeformAdjView)
public:
virtual void OnDraw(CDC* pDC); // overridden to draw this view
virtual BOOL PreCreateWindow(CREATESTRUCT& cs);
virtual void OnInitialUpdate();
protected:
virtual BOOL OnPreparePrinting(CPrintInfo* pInfo);
virtual void OnBeginPrinting(CDC* pDC, CPrintInfo* pInfo);
virtual void OnEndPrinting(CDC* pDC, CPrintInfo* pInfo);
//}}AFX_VIRTUAL
// Implementation
public:
virtual ~CDeformAdjView();
#ifdef _DEBUG
virtual void AssertValid() const;
virtual void Dump(CDumpContext& dc) const;
#endif
protected:
// Generated message map functions
protected:
//{{AFX_MSG(CDeformAdjView)
afx_msg void OnProjectSetup();
afx_msg void OnInputPingm();
afx_msg void OnInputGaoc();
afx_msg void OnInputJiaod();
afx_msg void OnInputFangx();
afx_msg void OnInputShiz();
afx_msg void OnInputGaocha();
afx_msg void OnInputBianc();
afx_msg void OnProjectClose();
afx_msg void OnInputShuiw();
afx_msg void OnInputWend();
//}}AFX_MSG
DECLARE_MESSAGE_MAP()
};
#ifndef _DEBUG // debug version in DeformAdjView.cpp
inline CDeformAdjDoc* CDeformAdjView::GetDocument()
{ return (CDeformAdjDoc*)m_pDocument; }
#endif
/////////////////////////////////////////////////////////////////////////////
//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.
#endif // !defined(AFX_DEFORMADJVIEW_H__C21B24D1_B6EA_4DBD_BD2E_1B209CFBAA1C__INCLUDED_)
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -