📄 previewdlg.h
字号:
#if !defined(AFX_PREVIEWDLG_H__8EAA3C4B_D3DC_45BF_A8F8_92D466461A22__INCLUDED_)
#define AFX_PREVIEWDLG_H__8EAA3C4B_D3DC_45BF_A8F8_92D466461A22__INCLUDED_
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
// PreviewDlg.h : header file
//
#include "score.h"
#include "scorelist.h"
/////////////////////////////////////////////////////////////////////////////
// CPreviewDlg dialog
//##ModelId=40A481F502BF
class CPreviewDlg : public CDialog
{
// Construction
public:
//##ModelId=40A481F502CE
CString * pUnit;
//##ModelId=40A481F502DE
CString * pTeacher;
//##ModelId=40A481F502DF
CString * pClass;
//##ModelId=40A481F502EE
void Set(CString *strClass, CString *teacher, CString *unit);
//##ModelId=40A481F502FE
void SetRemark(CString *premark);
//##ModelId=40A481F50300
void DrawText(CDC &dc, int x1, int y1, int x2, int y2, CString &s);
//##ModelId=40A481F5031C
void Draw(CDC &dc);
//##ModelId=40A481F5031E
CPreviewDlg(ScoreList * plist ,CString * premark , CWnd* pParent = NULL); // standard constructor
//##ModelId=40A481F5032F
ScoreList * pList;
//##ModelId=40A481F5033C
CString * pRemark;
// Dialog Data
//{{AFX_DATA(CPreviewDlg)
enum { IDD = IDD_DIALOG_PREVIEW };
// NOTE: the ClassWizard will add data members here
//}}AFX_DATA
// Overrides
// ClassWizard generated virtual function overrides
//{{AFX_VIRTUAL(CPreviewDlg)
protected:
//##ModelId=40A481F5033D
virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
//}}AFX_VIRTUAL
// Implementation
protected:
// Generated message map functions
//{{AFX_MSG(CPreviewDlg)
//##ModelId=40A481F5034C
afx_msg void OnPaint();
//##ModelId=40A481F5035B
virtual BOOL OnInitDialog();
//}}AFX_MSG
DECLARE_MESSAGE_MAP()
};
//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.
#endif // !defined(AFX_PREVIEWDLG_H__8EAA3C4B_D3DC_45BF_A8F8_92D466461A22__INCLUDED_)
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -