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

📄 demodlg.h

📁 随机长生一些温度直
💻 H
字号:
// DemoDlg.h : header file
//

#if !defined(AFX_DEMODLG_H__83C7D889_0F43_4324_9CE5_B99A1FE999C9__INCLUDED_)
#define AFX_DEMODLG_H__83C7D889_0F43_4324_9CE5_B99A1FE999C9__INCLUDED_

#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000

/////////////////////////////////////////////////////////////////////////////
// CDemoDlg dialog
typedef struct  
{
	int x;
    int y;
}vect;

class CDemoDlg : public CDialog
{
// Construction
public:
	CPoint GetDrawPressurePoint(float x,float y);
	void DrawRectCoordiante(CDC *pDC);
	void DrawCoordinate(CDC *pDC);
	void DrawResult(CDC* pDC);
	CDemoDlg(CWnd* pParent = NULL);	// standard constructor

// Dialog Data
	//{{AFX_DATA(CDemoDlg)
	enum { IDD = IDD_DEMO_DIALOG };
	CListCtrl	m_list;
	int		m_DelayTime;
	long	m_Samples;
	float	m_Valve2;
	float	m_Valve1;
	BOOL	m_isDrawResult;
	//}}AFX_DATA
	// ClassWizard generated virtual function overrides
	//{{AFX_VIRTUAL(CDemoDlg)
	protected:
	virtual void DoDataExchange(CDataExchange* pDX);	// DDX/DDV support
	//}}AFX_VIRTUAL

// Implementation
protected:
	HICON m_hIcon;

	// Generated message map functions
	//{{AFX_MSG(CDemoDlg)
	virtual BOOL OnInitDialog();
	afx_msg void OnSysCommand(UINT nID, LPARAM lParam);
	afx_msg void OnPaint();
	afx_msg HCURSOR OnQueryDragIcon();
	afx_msg void OnButtonRun();
	afx_msg void OnDraw();
	afx_msg void OnSaveToFile();
	virtual void OnCancel();
	//}}AFX_MSG
	DECLARE_MESSAGE_MAP()
private:
	float m_p2[60000];
	float m_p1[60000];
	float m_PressureChartMax;
	float m_AngleChartMax;
	int m_disx;
	int m_disy;
	int m_rightoff;
	int m_topoff;
	int m_bottomoff;
	int m_leftoff;
	float m_Angle[60000];
	float m_Velocity[60000];
	int m_orgy;
	int m_orgx;
};

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

#endif // !defined(AFX_DEMODLG_H__83C7D889_0F43_4324_9CE5_B99A1FE999C9__INCLUDED_)

⌨️ 快捷键说明

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