⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 jiemianview.h

📁 该程序用于计算激光制导炸弹的纵向投放区域
💻 H
字号:
// jiemianView.h : interface of the CJiemianView class
//
/////////////////////////////////////////////////////////////////////////////

#if !defined(AFX_JIEMIANVIEW_H__D83D83A6_16F1_4608_A042_24046AC788E0__INCLUDED_)
#define AFX_JIEMIANVIEW_H__D83D83A6_16F1_4608_A042_24046AC788E0__INCLUDED_

#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
#include "SHURU.h"

class CJiemianView : public CView
{
protected: // create from serialization only
	CJiemianView();
	DECLARE_DYNCREATE(CJiemianView)

// Attributes
public:
	CJiemianDoc* GetDocument();

// Operations
public:

// Overrides
	// ClassWizard generated virtual function overrides
	//{{AFX_VIRTUAL(CJiemianView)
	public:
	virtual void OnDraw(CDC* pDC); // overridden to draw this view
	virtual BOOL PreCreateWindow(CREATESTRUCT& cs);
	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 ~CJiemianView();
#ifdef _DEBUG
	virtual void AssertValid() const;
	virtual void Dump(CDumpContext& dc) const;
#endif

protected:
	CSHURU shuru1;

	int a1[14][2], b1[9][2];
	int a2[14][2], b2[9][2];
	int i,j, k;
	bool sign;
	double v;
	double p1[100][2], p2[100][2];

	HDC hDC;
	HBRUSH hBrush;
	HPEN hPen;
	PAINTSTRUCT PtStr;

// Generated message map functions
protected:
	//{{AFX_MSG(CJiemianView)
	afx_msg void OnShuru();
	afx_msg void OnDoubleclickedOk();
	//}}AFX_MSG
	DECLARE_MESSAGE_MAP()
};

#ifndef _DEBUG  // debug version in jiemianView.cpp
inline CJiemianDoc* CJiemianView::GetDocument()
   { return (CJiemianDoc*)m_pDocument; }
#endif

/////////////////////////////////////////////////////////////////////////////

//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.

#endif // !defined(AFX_JIEMIANVIEW_H__D83D83A6_16F1_4608_A042_24046AC788E0__INCLUDED_)

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -