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

📄 d3.h

📁 操作系统演示程序
💻 H
字号:
//{{AFX_INCLUDES()

//}}AFX_INCLUDES
#if !defined(AFX_D3_H__603D0ED2_D52A_4C9A_8F3F_171C2EDF0BE4__INCLUDED_)
#define AFX_D3_H__603D0ED2_D52A_4C9A_8F3F_171C2EDF0BE4__INCLUDED_

#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
// D3.h : header file
//
#include "grid control\ComboGridCtrl.h"

/////////////////////////////////////////////////////////////////////////////
// CD3 dialog

class CD3 : public CDialog
{
// Construction
public:
	void SetData(CGridCtrl &gc,int row,int col,int data);

	int GetData(CGridCtrl &gc,int rows,int col);
	void EnabeControls();
	BOOL OnInitDialog();
	CD3(CWnd* pParent = NULL);   // standard constructor

// Dialog Data
	//{{AFX_DATA(CD3)
	enum { IDD = IDD_D3 };
	CButton	m_save_ctrl;
	CButton	m_load_ctrl;
	CButton	m_request_ctrl;
	CEdit	m_out_ctrl;
	CButton	m_proc_ctrl;
	CButton	m_setnum_ctrl;
	CButton	m_remove_ctrl;
	CButton	m_add_ctrl;
	CEdit	m_num_ctrl;
	int		m_resnum;
	//}}AFX_DATA


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

// Implementation
protected:
    CComboGridCtrl m_GridCtrl,m_avlist,m_reqlist;
	int m_procnum;
	// Generated message map functions
	//{{AFX_MSG(CD3)
	afx_msg void OnSetNum();
	afx_msg void OnAdd();
	afx_msg void OnRemove();
	afx_msg void OnProc();
	afx_msg void OnRequest();
	afx_msg void OnSave();
	afx_msg void OnLoad();
	//}}AFX_MSG
	DECLARE_MESSAGE_MAP()
};

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

#endif // !defined(AFX_D3_H__603D0ED2_D52A_4C9A_8F3F_171C2EDF0BE4__INCLUDED_)

⌨️ 快捷键说明

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