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

📄 aaadlg.h

📁 简单的示波器程序
💻 H
字号:
// aaaDlg.h : header file
//

#if !defined(AFX_AAADLG_H__BC1C09ED_4BEB_40AE_BD14_63460371BFD3__INCLUDED_)
#define AFX_AAADLG_H__BC1C09ED_4BEB_40AE_BD14_63460371BFD3__INCLUDED_

#include "Bkgd.h"

#include "Display.h"

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

class CAaaDlg : public CDialog
{
// Construction
public:

	int num;
	int sample;
	double y[524];//数据不能随便设置,为什么?
	CAaaDlg(CWnd* pParent = NULL);	// standard constructor
	bool m_move;

// Dialog Data
	//{{AFX_DATA(CAaaDlg)
	enum { IDD = IDD_AAA_DIALOG };
	CDisplay   m_display;
    
	int   m_wavestyle;
		// NOTE: the ClassWizard will add data members here
	//}}AFX_DATA

	// ClassWizard generated virtual function overrides
	//{{AFX_VIRTUAL(CAaaDlg)
	protected:
	virtual void DoDataExchange(CDataExchange* pDX);	// DDX/DDV support
	//}}AFX_VIRTUAL

// Implementation
protected:

	HICON m_hIcon;

	// Generated message map functions
	//{{AFX_MSG(CAaaDlg)
	virtual BOOL OnInitDialog();
	afx_msg void OnSysCommand(UINT nID, LPARAM lParam);
	afx_msg void OnPaint();
	afx_msg HCURSOR OnQueryDragIcon();
	afx_msg void OnSin();
	afx_msg void OnRectangle();
	afx_msg void OnTriangle();
	afx_msg void OnButton1();
	afx_msg void OnRand();
	afx_msg HBRUSH OnCtlColor(CDC* pDC, CWnd* pWnd, UINT nCtlColor);
	afx_msg void OnCancelMode();
	//}}AFX_MSG
	DECLARE_MESSAGE_MAP()
public:
	CBkgd m_bk;
};

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

#endif // !defined(AFX_AAADLG_H__BC1C09ED_4BEB_40AE_BD14_63460371BFD3__INCLUDED_)

⌨️ 快捷键说明

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