📄 pageprinter.h
字号:
#if !defined(AFX_PAGEPRINTER_H__421424C0_D561_4D24_BD80_1828AB4CFD3B__INCLUDED_)
#define AFX_PAGEPRINTER_H__421424C0_D561_4D24_BD80_1828AB4CFD3B__INCLUDED_
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
// PagePrinter.h : header file
//
/////////////////////////////////////////////////////////////////////////////
// CPagePrinter dialog
extern VIRTUALMOUDLE moudle[15];
extern float fTEMP1 ;
extern float fTEMP2 ;
extern float fTEMP3 ;
extern CString strIDN1;
extern CString strIDN2;
extern CString strIDN3 ;
extern CTime tBeginTime;
class CPagePrinter : public CDialog
{
// Construction
public:
void Draw_TextBM(HDC hdcPro , int x, int y , float fValue);
void Printer(int iDK , CString strPWR );
void Draw_LineV(HDC hdcPrn, int x, int y, int y1);
void Draw_LineVB(HDC hdcPrn, int x, int y, int y1);
void Draw_TextV(HDC hdcPro, int x, int y, CString strText);
void Draw_TextB(HDC hdcPro,int x,int y,CString strText);
void Draw_TextBB(HDC hdcPrn,int x,int y,CString strText);
void Draw_LineH(HDC hdcPrn,int x,int x1,int y);
void Draw_LineHB(HDC hdcPrn,int x,int x1,int y);
CFont m_fontW;
CPagePrinter(CWnd* pParent = NULL); // standard constructor
// Dialog Data
//{{AFX_DATA(CPagePrinter)
enum { IDD = IDD_DIALOG_PRINTER };
CButton m_btnPRINTER3;
CButton m_btnPRINTER2;
CButton m_btnPRINTER1;
CComboBox m_cmbPWR3;
CComboBox m_cmbPWR2;
CComboBox m_cmbPWR1;
CString m_strPWR1;
CString m_strPWR2;
CString m_strPWR3;
//}}AFX_DATA
// Overrides
// ClassWizard generated virtual function overrides
//{{AFX_VIRTUAL(CPagePrinter)
protected:
virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
//}}AFX_VIRTUAL
// Implementation
protected:
void DrawGradientFill(CDC *pDC, CRect *pRect, COLORREF crStart, COLORREF crEnd, int nSegments);
// Generated message map functions
//{{AFX_MSG(CPagePrinter)
virtual BOOL OnInitDialog();
afx_msg void OnPaint();
afx_msg void OnBtnDk1printer();
afx_msg void OnBtnDk3printer();
afx_msg void OnBtnDk2printer();
//}}AFX_MSG
DECLARE_MESSAGE_MAP()
};
//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.
#endif // !defined(AFX_PAGEPRINTER_H__421424C0_D561_4D24_BD80_1828AB4CFD3B__INCLUDED_)
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -