computer.h
来自「在本实例中,实现了单体模式,工厂模式,门面模式以及STL编程」· C头文件 代码 · 共 45 行
H
45 行
#pragma once
#include "afxwin.h"
#include "president.h"
#include"vector"
#include"string"
#include"iostream"
using namespace std;
// CComputer 对话框
class CComputer : public CPropertyPage
{
DECLARE_DYNAMIC(CComputer)
public:
CComputer();
virtual ~CComputer();
// 对话框数据
enum { IDD = IDD_DIALOG1 };
protected:
virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV 支持
DECLARE_MESSAGE_MAP()
public:
CButton del;
CButton add;
CButton test;
CButton present[4];
afx_msg void OnBnClickedButton1();
afx_msg void OnBnClickedButton2();
afx_msg void OnBnClickedButton3();
BOOL OnInitDialog();
CListBox student;
CListBox test_stu;
BOOL del_enable;
BOOL add_times;
president *President;
vector<CString> vtest_stu;
vector<CString>::iterator vt;
virtual BOOL OnSetActive();
};
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?