This repository has been archived on 2022-07-04. You can view files and clone it, but cannot push or open issues or pull requests.
Multichannel-Analyzer/MCA/DetailView.h
YiHui Liu fd8d749eb9 add:
* 全谱区
* 放大区
* 结束条件
* 模拟信号
* 开始、结束、暂停
2022-05-31 22:21:20 +08:00

40 lines
713 B
C++

#pragma once
#include <afxwin.h>
#include "MCADoc.h"
#include "ControlView.h"
class CDetailView :
public CView
{
protected:
DECLARE_DYNCREATE(CDetailView)
// 重写
public:
CDetailView();
virtual ~CDetailView();
public:
virtual void OnDraw(CDC* pDC); // 重写以绘制该视图
#ifdef _DEBUG
virtual void AssertValid() const;
virtual void Dump(CDumpContext& dc) const;
#endif
protected:
// 生成的消息映射函数
protected:
DECLARE_MESSAGE_MAP()
public:
double ZF = 1.0;
CMCADoc* pDoc = nullptr;
CControlView* pView = nullptr;
afx_msg void OnPaint();
afx_msg BOOL OnEraseBkgnd(CDC* pDC);
afx_msg void OnLButtonDown(UINT nFlags, CPoint point);
afx_msg void OnRButtonDown(UINT nFlags, CPoint point);
};