📄 心跳检测view.h
字号:
// 心跳检测View.h : interface of the CMyView class
//
/////////////////////////////////////////////////////////////////////////////
#if !defined(AFX_VIEW_H__54859F6F_B18C_11D7_BB61_8DF5A4194E44__INCLUDED_)
#define AFX_VIEW_H__54859F6F_B18C_11D7_BB61_8DF5A4194E44__INCLUDED_
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
#include "BtnST.h"
class CMyView : public CFormView
{
protected: // create from serialization only
CMyView();
DECLARE_DYNCREATE(CMyView)
public:
//{{AFX_DATA(CMyView)
enum { IDD = IDD_MY_FORM };
int m_StartT;
int m_EndT;
int m_TopE;
int m_BottomE;
CString m_E;
CString m_F;
//}}AFX_DATA
// Attributes
public:
CMyDoc* GetDocument();
// Operations
public:
CDC* m_pMemDC;
CBitmap m_pBitmap;
int m_MaxX; //X轴最大象素数目
int m_MaxY; //Y轴最大象素数目
CString PathName;
CButtonST m_Play;
CButtonST m_Stop;
CButtonST m_Transact;
CButtonST m_Save;
CButtonST m_Open;
CButtonST m_Print;
CButtonST m_Exit;
CButtonST m_Refurbish;
int TopRange;
int LeftRange;
int left;
int right;
int top;
int bottom;
LOGFONT m_FontView; //字体
// Overrides
// ClassWizard generated virtual function overrides
//{{AFX_VIRTUAL(CMyView)
public:
virtual BOOL PreCreateWindow(CREATESTRUCT& cs);
protected:
virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
virtual void OnInitialUpdate(); // called first time after construct
virtual BOOL OnPreparePrinting(CPrintInfo* pInfo);
virtual void OnBeginPrinting(CDC* pDC, CPrintInfo* pInfo);
virtual void OnEndPrinting(CDC* pDC, CPrintInfo* pInfo);
virtual void OnPrint(CDC* pDC, CPrintInfo* pInfo);
//}}AFX_VIRTUAL
// Implementation
public:
double fsimp(double a,double b,double eps);
double fsimpf(double x);
void SaveFile(CStdioFile *file);
void Openfile(CStdioFile *file);
void DrawLine();
void InitData();
void DrawCordinate();
void Draw(int Point);
virtual ~CMyView();
#ifdef _DEBUG
virtual void AssertValid() const;
virtual void Dump(CDumpContext& dc) const;
#endif
protected:
// Generated message map functions
protected:
//{{AFX_MSG(CMyView)
afx_msg void OnPaint();
afx_msg void OnExit();
afx_msg void OnMyPrint();
afx_msg void OnOpen();
afx_msg void OnSave();
afx_msg void OnStop();
afx_msg void OnPlay();
afx_msg void OnRefurbish();
afx_msg int OnCreate(LPCREATESTRUCT lpCreateStruct);
afx_msg void OnBitmap();
//}}AFX_MSG
DECLARE_MESSAGE_MAP()
};
#ifndef _DEBUG // debug version in 心跳检测View.cpp
inline CMyDoc* CMyView::GetDocument()
{ return (CMyDoc*)m_pDocument; }
#endif
/////////////////////////////////////////////////////////////////////////////
//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.
#endif // !defined(AFX_VIEW_H__54859F6F_B18C_11D7_BB61_8DF5A4194E44__INCLUDED_)
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -