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

📄 param.h

📁 一个操作系统资源监测器的需求、设计与实现
💻 H
字号:
#if !defined(AFX_PARAM_H__5FC55200_FDE5_482D_8E44_98689782F045__INCLUDED_)
#define AFX_PARAM_H__5FC55200_FDE5_482D_8E44_98689782F045__INCLUDED_

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

#include "Parameter.h"

/////////////////////////////////////////////////////////////////////////////
// CParam dialog

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

// Dialog Data
	//自定义的变量
	CParameter *param;
	HKEY regkey;

	//{{AFX_DATA(CParam)
	enum { IDD = IDD_PARAM };
	CStatic	m_title13;
	CStatic	m_title12;
	CStatic	m_title11;
	CStatic	m_title10;
	CEdit	m_down45;
	CEdit	m_down44;
	CEdit	m_down43;
	CEdit	m_down42;
	CEdit	m_down41;
	CEdit	m_down35;
	CEdit	m_down34;
	CEdit	m_down33;
	CEdit	m_down32;
	CEdit	m_down31;
	CEdit	m_down25;
	CEdit	m_down24;
	CEdit	m_down23;
	CEdit	m_down22;
	CEdit	m_down21;
	CEdit	m_down15;
	CEdit	m_down14;
	CEdit	m_down13;
	CEdit	m_down12;
	CEdit	m_down11;
	CEdit	m_up45;
	CEdit	m_up44;
	CEdit	m_up43;
	CEdit	m_up42;
	CEdit	m_up41;
	CEdit	m_up35;
	CEdit	m_up34;
	CEdit	m_up33;
	CEdit	m_up32;
	CEdit	m_up31;
	CEdit	m_up25;
	CEdit	m_up24;
	CEdit	m_up23;
	CEdit	m_up22;
	CEdit	m_up21;
	CEdit	m_up15;
	CEdit	m_up14;
	CEdit	m_up13;
	CEdit	m_up12;
	CEdit	m_up11;
	CButton	m_NO_Ctrl;
	CButton	m_NI_Ctrl;
	CEdit	m_cctrl15;
	CEdit	m_cctrl14;
	CEdit	m_cctrl13;
	CEdit	m_cctrl12;
	CStatic	m_title9;
	CStatic	m_title8;
	CStatic	m_title7;
	CStatic	m_title6;
	CStatic	m_title5;
	CStatic	m_title4;
	CButton	m_level45;
	CButton	m_level44;
	CButton	m_level43;
	CButton	m_level42;
	CButton	m_level41;
	CButton	m_frame4;
	CButton	m_frame3;
	CEdit	m_cctrl45;
	CEdit	m_cctrl44;
	CEdit	m_cctrl43;
	CEdit	m_cctrl42;
	CEdit	m_cctrl41;
	CEdit	m_cplat45;
	CEdit	m_cplat44;
	CEdit	m_cplat43;
	CEdit	m_cplat42;
	CEdit	m_cplat41;
	CButton	m_normal5;
	CButton	m_normal4;
	CButton	m_normal3;
	CButton	m_normal2;
	CButton	m_normal1;
	CButton	m_level35;
	CButton	m_level34;
	CButton	m_level33;
	CButton	m_level32;
	CButton	m_level31;
	CButton	m_level25;
	CButton	m_level24;
	CButton	m_level23;
	CButton	m_level22;
	CButton	m_level21;
	CEdit	m_cctrl35;
	CEdit	m_cctrl34;
	CEdit	m_cctrl33;
	CEdit	m_cctrl32;
	CEdit	m_cctrl31;
	CEdit	m_cctrl25;
	CEdit	m_cctrl24;
	CEdit	m_cctrl23;
	CEdit	m_cctrl22;
	CEdit	m_cctrl21;
	CEdit	m_cplat35;
	CEdit	m_cplat34;
	CEdit	m_cplat33;
	CEdit	m_cplat32;
	CEdit	m_cplat31;
	CEdit	m_cplat25;
	CEdit	m_cplat24;
	CEdit	m_cplat23;
	CEdit	m_cplat22;
	CEdit	m_cplat21;
	CButton	m_little5;
	CButton	m_little4;
	CButton	m_little3;
	CButton	m_little2;
	CButton	m_little1;
	CButton	m_tense5;
	CButton	m_tense4;
	CButton	m_tense3;
	CButton	m_tense2;
	CButton	m_tense1;
	CStatic	m_title3;
	CStatic	m_title2;
	CButton	m_level15;
	CButton	m_level14;
	CButton	m_level13;
	CButton	m_level12;
	CButton	m_level11;
	CEdit	m_cplat15;
	CEdit	m_cplat14;
	CEdit	m_cplat13;
	CEdit	m_cplat12;
	CButton	m_heavily5;
	CButton	m_heavily4;
	CButton	m_heavily3;
	CButton	m_heavily2;
	CEdit	m_cctrl11;
	CEdit	m_cplat11;
	CButton	m_heavily1;
	CStatic	m_title1;
	CSpinButtonCtrl	m_S_Period;
	CButton	m_S_Ctrl;
	CTabCtrl	m_PCtrl;
	CButton	m_PR_Ctrl;
	CEdit	m_P_Ctrl;
	CButton	m_M_Ctrl;
	CButton	m_frame2;
	CButton	m_frame1;
	CButton	m_C_Ctrl;
	int		m_period;
	BOOL	m_cpu;
	BOOL	m_memory;
	BOOL	m_process;
	int		m_cvalue11;
	int		m_cvalue12;
	int		m_cvalue13;
	int		m_cvalue14;
	int		m_cvalue15;
	int		m_cvalue21;
	int		m_cvalue22;
	int		m_cvalue23;
	int		m_cvalue24;
	int		m_cvalue25;
	int		m_cvalue31;
	int		m_cvalue32;
	int		m_cvalue33;
	int		m_cvalue34;
	int		m_cvalue35;
	int		m_cvalue41;
	int		m_cvalue42;
	int		m_cvalue43;
	int		m_cvalue44;
	int		m_cvalue45;
	BOOL	m_mode;
	BOOL	m_netin;
	BOOL	m_netout;
	BOOL	m_pre11;
	BOOL	m_pre12;
	BOOL	m_pre13;
	BOOL	m_pre14;
	BOOL	m_pre21;
	BOOL	m_pre22;
	BOOL	m_pre23;
	BOOL	m_pre24;
	BOOL	m_pre31;
	BOOL	m_pre32;
	BOOL	m_pre33;
	BOOL	m_pre34;
	BOOL	m_pre41;
	BOOL	m_pre42;
	BOOL	m_pre43;
	BOOL	m_pre44;
	int		m_max11;
	int		m_max12;
	int		m_max13;
	int		m_max14;
	int		m_max15;
	int		m_max21;
	int		m_max22;
	int		m_max23;
	int		m_max24;
	int		m_max25;
	int		m_max31;
	int		m_max32;
	int		m_max33;
	int		m_max34;
	int		m_max35;
	int		m_max41;
	int		m_max42;
	int		m_max43;
	int		m_max44;
	int		m_max45;
	int		m_min11;
	int		m_min12;
	int		m_min13;
	int		m_min14;
	int		m_min15;
	int		m_min21;
	int		m_min22;
	int		m_min23;
	int		m_min24;
	int		m_min25;
	int		m_min31;
	int		m_min32;
	int		m_min33;
	int		m_min34;
	int		m_min35;
	int		m_min41;
	int		m_min42;
	int		m_min43;
	int		m_min44;
	int		m_min45;
	//}}AFX_DATA


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

// Implementation
protected:
	//自己添加的函数
	void saveParameter();

	// Generated message map functions
	//{{AFX_MSG(CParam)
	virtual BOOL OnInitDialog();
	afx_msg void OnSelchangeSelParam(NMHDR* pNMHDR, LRESULT* pResult);
	afx_msg HBRUSH OnCtlColor(CDC* pDC, CWnd* pWnd, UINT nCtlColor);
	afx_msg void OnColor11();
	afx_msg void OnColor12();
	afx_msg void OnColor13();
	afx_msg void OnColor14();
	afx_msg void OnColor15();
	afx_msg void OnColor21();
	afx_msg void OnColor22();
	afx_msg void OnColor23();
	afx_msg void OnColor24();
	afx_msg void OnColor25();
	afx_msg void OnColor31();
	afx_msg void OnColor32();
	afx_msg void OnColor33();
	afx_msg void OnColor34();
	afx_msg void OnColor35();
	afx_msg void OnColor41();
	afx_msg void OnColor42();
	afx_msg void OnColor43();
	afx_msg void OnColor44();
	afx_msg void OnColor45();
	afx_msg void OnCpu();
	afx_msg void OnMemory();
	afx_msg void OnNetwork();
	afx_msg void OnProcess();
	virtual void OnOK();
	virtual void OnCancel();
	afx_msg void OnApply();
	afx_msg void OnNetIn();
	afx_msg void OnNetOut();
	afx_msg void OnSMode();
	afx_msg void OnLevel11();
	afx_msg void OnLevel12();
	afx_msg void OnLevel13();
	afx_msg void OnLevel14();
	afx_msg void OnLevel21();
	afx_msg void OnLevel22();
	afx_msg void OnLevel23();
	afx_msg void OnLevel24();
	afx_msg void OnLevel31();
	afx_msg void OnLevel32();
	afx_msg void OnLevel33();
	afx_msg void OnLevel34();
	afx_msg void OnLevel41();
	afx_msg void OnLevel42();
	afx_msg void OnLevel43();
	afx_msg void OnLevel44();
	afx_msg void OnKillfocusUp12();
	afx_msg void OnKillfocusUp13();
	afx_msg void OnKillfocusUp14();
	afx_msg void OnKillfocusUp15();
	afx_msg void OnKillfocusUp22();
	afx_msg void OnKillfocusUp23();
	afx_msg void OnKillfocusUp24();
	afx_msg void OnKillfocusUp25();
	afx_msg void OnKillfocusUp32();
	afx_msg void OnKillfocusUp33();
	afx_msg void OnKillfocusUp34();
	afx_msg void OnKillfocusUp35();
	afx_msg void OnKillfocusUp42();
	afx_msg void OnKillfocusUp43();
	afx_msg void OnKillfocusUp44();
	afx_msg void OnKillfocusUp45();
	//}}AFX_MSG
	DECLARE_MESSAGE_MAP()
};

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

#endif // !defined(AFX_PARAM_H__5FC55200_FDE5_482D_8E44_98689782F045__INCLUDED_)

⌨️ 快捷键说明

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