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

📄 coefdefdlg.h

📁 数据结构链表的演示程序
💻 H
字号:
#if !defined(AFX_COEFDEFDLG_H__3DD73FA1_CF6C_11D2_8B7A_48484C4C0000__INCLUDED_)
#define AFX_COEFDEFDLG_H__3DD73FA1_CF6C_11D2_8B7A_48484C4C0000__INCLUDED_

#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
// CoefDefDlg.h : header file
//
struct coefControls		// 对话框的控件结构
{
	CStatic m_ID;		// 序号控件
	CStatic m_Name;		// 名称控件
	CStatic m_Value;	// 色值控件
	CEdit m_City;
	CEdit m_Jamming;
	CEdit m_Plant;
	CEdit m_Risk;
};

/////////////////////////////////////////////////////////////////////////////
// CCoefDefDlg dialog

class CCoefDefDlg : public CDialog
{
// Construction
public:
	CCoefDefDlg(CWnd* pParent,CArray<Types,Types>& blocks,
		BOOL everdefine,CArray<double,double>& coefs);   // standard constructor

// Dialog Data
	//{{AFX_DATA(CCoefDefDlg)
	enum { IDD = IDD_COEFFICIENT_DEFINE };
		// NOTE: the ClassWizard will add data members here
	//}}AFX_DATA

private:
	CArray<Types,Types> m_BlockTypes;	// 复制Doc类的成员
	int m_ControlsNum;
	CButton m_OK;
	CButton m_Cancel;
	CArray<coefControls,coefControls> m_Controls;	// 各行控件数组
	BOOL m_bEverDefine;

public:
	CArray<double,double> m_Coefs;

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

// Implementation
protected:

	// Generated message map functions
	//{{AFX_MSG(CCoefDefDlg)
	virtual BOOL OnInitDialog();
	virtual void OnOK();
	//}}AFX_MSG
	DECLARE_MESSAGE_MAP()
};

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

#endif // !defined(AFX_COEFDEFDLG_H__3DD73FA1_CF6C_11D2_8B7A_48484C4C0000__INCLUDED_)

⌨️ 快捷键说明

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