📄 managedlg.h
字号:
#if !defined(AFX_MANAGEDLG_H__279B59CD_8D67_474A_A74E_B26CA05D3F0A__INCLUDED_)
#define AFX_MANAGEDLG_H__279B59CD_8D67_474A_A74E_B26CA05D3F0A__INCLUDED_
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
// ManageDlg.h : header file
//
/////////////////////////////////////////////////////////////////////////////
// CManageDlg dialog
#include "ColorButton.h"
class CManageDlg : public CDialog
{
// Construction
public:
void Clear();
void SearchAlarmFile(CString AlarmFilePath);
CManageDlg(CWnd* pParent = NULL); // standard constructor
int mFileCount;//食物数量
int page;//记录位于第几页
// CString AlarmfilePath;//保存报警文本的路径
HANDLE file;
WIN32_FIND_DATA lpFileData;
CString Alarmfile[100];//save the alarm file content;
CString Alarmfilename[100];//save the alarm file name;
CString Activefile;//当前选中的控件
CBitmapButton home;
CBitmapButton back;
CBitmapButton first;
CBitmapButton front;
CBitmapButton next;
CBitmapButton last;
CBitmapButton lookup;
CBitmapButton dele;
CBitmapButton add;
// Dialog Data
//{{AFX_DATA(CManageDlg)
enum { IDD = IDD_3_MANAGE_DIALOG };
CColorButton m_12;
CButton m_tip2;
CColorButton m_tip1;
CColorButton m_9;
CColorButton m_8;
CColorButton m_7;
CColorButton m_6;
CColorButton m_5;
CColorButton m_4;
CColorButton m_3;
CColorButton m_11;
CColorButton m_10;
CColorButton m_2;
CColorButton m_1;
//}}AFX_DATA
// Overrides
// ClassWizard generated virtual function overrides
//{{AFX_VIRTUAL(CManageDlg)
protected:
virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
//}}AFX_VIRTUAL
// Implementation
protected:
// Generated message map functions
//{{AFX_MSG(CManageDlg)
virtual BOOL OnInitDialog();
afx_msg void OnAdd();
afx_msg void OnHome();
afx_msg void On1();
afx_msg void On10();
afx_msg void On11();
afx_msg void On13();
afx_msg void On2();
afx_msg void On3();
afx_msg void On4();
afx_msg void On5();
afx_msg void On6();
afx_msg void On7();
afx_msg void On8();
afx_msg void On9();
afx_msg void OnDelete();
afx_msg void OnFirstButton1();
afx_msg void OnLastButton4();
afx_msg void OnFrontButton2();
afx_msg void OnNextButton3();
afx_msg void OnLook();
afx_msg void OnBack();
//}}AFX_MSG
DECLARE_MESSAGE_MAP()
};
//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.
#endif // !defined(AFX_MANAGEDLG_H__279B59CD_8D67_474A_A74E_B26CA05D3F0A__INCLUDED_)
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -