-
Notifications
You must be signed in to change notification settings - Fork 0
/
Print.h
34 lines (27 loc) · 827 Bytes
/
Print.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
#pragma once
// CPrint 對話方塊
class CPrint : public CDialogEx
{
DECLARE_DYNAMIC(CPrint)
public:
CPrint(CWnd* pParent = NULL); // 標準建構函式
virtual ~CPrint();
// 對話方塊資料
#ifdef AFX_DESIGN_TIME
enum { IDD = IDD_PRINT };
#endif
protected:
virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV 支援
DECLARE_MESSAGE_MAP()
public:
std::vector<std::vector<CString> > Draw;
CRect m_InitRect;
public:
void ChangeSize(CWnd * pWnd, int cx, int cy);
void MO_Draw(std::vector<std::vector<CString>>& csVecWorkPoint2Dim, CDC * pDC, float m_fScale);
void MO_Change(std::vector<std::vector<CString>>& csVecWorkPoint2Dim);
CString CStringToXY(CString Data, int Choose);
virtual BOOL OnInitDialog();
afx_msg void OnPaint();
afx_msg void OnSize(UINT nType, int cx, int cy);
};