newdlg0.h

来自「这个我写的一个计算LC滤波器的程序」· C头文件 代码 · 共 61 行

H
61
字号
#if !defined(AFX_NEWDLG0_H__98AA29C0_B565_11D4_A754_8AEEC9759008__INCLUDED_)
#define AFX_NEWDLG0_H__98AA29C0_B565_11D4_A754_8AEEC9759008__INCLUDED_

#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
// NewDlg0.h : header file
//

/////////////////////////////////////////////////////////////////////////////
// CNewDlg0 dialog
enum { BUTTER,CHEBY,CAUER };
enum { MYLPF,MYHPF,MYBPF,MYBEF};
enum { HZ,KHZ,MHZ };

class CNewDlg0 : public CDialog
{
// Construction
public:
	CNewDlg0(CWnd* pParent = NULL);   // standard constructor

// Dialog Data
	//{{AFX_DATA(CNewDlg0)
	enum { IDD = IDD_NEW0_DIALOG };
	CComboBox	m_TypeCtrl;
	CComboBox	m_TwoCtrl;
	CComboBox	m_FirstCtrl;
	CComboBox	m_ClassCtrl;
	double	m_FirstVal;
	double	m_TwoVal;
	double	m_RL;
	//}}AFX_DATA
	int m_Class,m_Type,m_TypeF1,m_TypeF2;
	void SetValToDlg(int Class,int Type,double FirstVal,double TwoVal,double RL);
	void GetValFromDlg(int &Class,int &Type,double &FirstVal,double &TwoVal,double &RL);
// Overrides
	// ClassWizard generated virtual function overrides
	//{{AFX_VIRTUAL(CNewDlg0)
	protected:
	virtual void DoDataExchange(CDataExchange* pDX);    // DDX/DDV support
	//}}AFX_VIRTUAL

// Implementation
protected:

	// Generated message map functions
	//{{AFX_MSG(CNewDlg0)
	virtual BOOL OnInitDialog();
	afx_msg void OnSelchangeClassCombo();
	afx_msg void OnSelchangeTypeCombo();
	afx_msg void OnSelchangeFirstCombo();
	afx_msg void OnSelchangeTwoCombo();
	//}}AFX_MSG
	DECLARE_MESSAGE_MAP()
};

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

#endif // !defined(AFX_NEWDLG0_H__98AA29C0_B565_11D4_A754_8AEEC9759008__INCLUDED_)

⌨️ 快捷键说明

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