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

📄 foreign.h

📁 在本实例中,实现了单体模式,工厂模式,门面模式以及STL编程
💻 H
字号:
#pragma once
#include "afxwin.h"
#include "president.h"
#include"string"
#include"iostream"
using namespace std;

// CForeign 对话框

class CForeign : public CPropertyPage
{
	DECLARE_DYNAMIC(CForeign)

public:
	CForeign();
	virtual ~CForeign();

// 对话框数据
	enum { IDD = IDD_DIALOG2 };

protected:
	virtual void DoDataExchange(CDataExchange* pDX);    // DDX/DDV 支持

	DECLARE_MESSAGE_MAP()
public:
	CListBox test_stu;
	CListBox student;
	CButton add;
	CButton del;
	CButton test;
	CButton present[4];
	president *President;
	vector<CString> vtest_stu;
	vector<CString>::iterator vt;
	afx_msg void OnBnClickedButton1();
	afx_msg void OnBnClickedButton2();
	afx_msg void OnBnClickedButton3();
	BOOL OnInitDialog();
	virtual BOOL OnSetActive();
};

⌨️ 快捷键说明

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