📄 configtimepage.h
字号:
#if !defined(AFX_CONFIGTIMEPAGE_H__28FD48E6_2C42_496C_B1E9_84FAF52F3015__INCLUDED_)
#define AFX_CONFIGTIMEPAGE_H__28FD48E6_2C42_496C_B1E9_84FAF52F3015__INCLUDED_
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
// ConfigTimePage.h : header file
//
/////////////////////////////////////////////////////////////////////////////
// CConfigTimePage dialog
class CConfigTimePage : public CPropertyPage
{
DECLARE_DYNCREATE(CConfigTimePage)
// Construction
public:
void UpdateScheduleTime(CString m_strSchedule,CString strUptime,CString strDowntime);
CString m_strPreScheduleId;
void InsertToDb(CString m_strScheduleID,CString m_strSchedule,CString strUptime,CString strDowntime);
void InsertItem(CString ScheduleID,CString Schedule, CString sT1, CString sT2);
void InitCtrlData();
CConfigTimePage();
~CConfigTimePage();
// Dialog Data
//{{AFX_DATA(CConfigTimePage)
enum { IDD = IDD_DIALOG_CONFIG_TIME };
CDateTimeCtrl m_dtpDown;
CDateTimeCtrl m_dtpUp;
CListCtrl m_listTime;
CString m_ScheduleID;
CString m_strSchedule;
CTime m_ctUp;
//}}AFX_DATA
// Overrides
// ClassWizard generate virtual function overrides
//{{AFX_VIRTUAL(CConfigTimePage)
protected:
virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
//}}AFX_VIRTUAL
// Implementation
protected:
// Generated message map functions
//{{AFX_MSG(CConfigTimePage)
afx_msg void OnBtnAdd();
afx_msg void OnBtnDel();
afx_msg void OnBtnMod();
virtual BOOL OnInitDialog();
afx_msg void OnClickListListtime(NMHDR* pNMHDR, LRESULT* pResult);
//}}AFX_MSG
DECLARE_MESSAGE_MAP()
};
//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.
#endif // !defined(AFX_CONFIGTIMEPAGE_H__28FD48E6_2C42_496C_B1E9_84FAF52F3015__INCLUDED_)
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -