📄 pagesetting.h
字号:
#if !defined(AFX_PAGESETTING_H__940F808B_6365_4DCB_86A4_2660F345431C__INCLUDED_)
#define AFX_PAGESETTING_H__940F808B_6365_4DCB_86A4_2660F345431C__INCLUDED_
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
// PageSetting.h : header file
//
#include "afxdb.h"
/////////////////////////////////////////////////////////////////////////////
// CPageSetting dialog
extern VIRTUALMOUDLE moudle[15] ;
extern CDatabase m_db;
extern bool bOpen;
extern BOOL bPass;
typedef struct VALUE_CUS
{
float fUpperlimit ; //上限
float fLowerlimit ; //下限
} n1;
typedef struct CONTROL
{
VALUE_CUS value[10] ;
CStatic ownstatic[10] ;
CEdit ownEdit1[10] ; //取值上限
CEdit ownEdit2[10] ; //取值上限
CEdit ownEdit3[10] ; //取值上限
} n2;
class CPageSetting : public CDialog
{
// Construction
public:
void SetInitialValue();
void GetInitialValue();
bool GetSettingValue();
bool GetSettingToModule();
CFont m_fontS;
CPageSetting(CWnd* pParent = NULL); // standard constructor
CONTROL ownControl[4];
CStatic ownStatic[12];
// Dialog Data
//{{AFX_DATA(CPageSetting)
enum { IDD = IDD_DIALOG_SETTING };
CButton m_btnSave;
//}}AFX_DATA
// Overrides
// ClassWizard generated virtual function overrides
//{{AFX_VIRTUAL(CPageSetting)
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);
CString strInitialValue[4][10][3];
// Generated message map functions
//{{AFX_MSG(CPageSetting)
virtual BOOL OnInitDialog();
afx_msg void OnPaint();
afx_msg void OnButtonSave();
afx_msg HBRUSH OnCtlColor(CDC* pDC, CWnd* pWnd, UINT nCtlColor);
//}}AFX_MSG
DECLARE_MESSAGE_MAP()
};
//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.
#endif // !defined(AFX_PAGESETTING_H__940F808B_6365_4DCB_86A4_2660F345431C__INCLUDED_)
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -