📄 watchdogbyllview.h
字号:
// WatchDogByllView.h : interface of the CWatchDogByllView class
//
/////////////////////////////////////////////////////////////////////////////
#if !defined(AFX_WATCHDOGBYLLVIEW_H__EEEEB419_16DD_4058_9624_0C52B88BEF81__INCLUDED_)
#define AFX_WATCHDOGBYLLVIEW_H__EEEEB419_16DD_4058_9624_0C52B88BEF81__INCLUDED_
#include "SysControl.h"
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
class CWatchDogByllView : public CView
{
protected: // create from serialization only
CWatchDogByllView();
DECLARE_DYNCREATE(CWatchDogByllView)
// Attributes
public:
CWatchDogByllDoc* GetDocument();
private:
void InitParam();
SysControl syscon;
bool CheckEveryday;
int dayCount,dayCount1;
int time_hh,time_mm,time_ss;
unsigned int timeCount;
// Operations
public:
// Overrides
// ClassWizard generated virtual function overrides
//{{AFX_VIRTUAL(CWatchDogByllView)
public:
virtual void OnDraw(CDC* pDC); // overridden to draw this view
virtual BOOL PreCreateWindow(CREATESTRUCT& cs);
protected:
virtual BOOL OnPreparePrinting(CPrintInfo* pInfo);
virtual void OnBeginPrinting(CDC* pDC, CPrintInfo* pInfo);
virtual void OnEndPrinting(CDC* pDC, CPrintInfo* pInfo);
//}}AFX_VIRTUAL
// Implementation
public:
virtual ~CWatchDogByllView();
#ifdef _DEBUG
virtual void AssertValid() const;
virtual void Dump(CDumpContext& dc) const;
#endif
protected:
// Generated message map functions
protected:
//{{AFX_MSG(CWatchDogByllView)
afx_msg void OnShowWindow(BOOL bShow, UINT nStatus);
afx_msg void OnTimer(UINT nIDEvent);
afx_msg void OnDestroy();
//}}AFX_MSG
DECLARE_MESSAGE_MAP()
};
#ifndef _DEBUG // debug version in WatchDogByllView.cpp
inline CWatchDogByllDoc* CWatchDogByllView::GetDocument()
{ return (CWatchDogByllDoc*)m_pDocument; }
#endif
/////////////////////////////////////////////////////////////////////////////
//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.
#endif // !defined(AFX_WATCHDOGBYLLVIEW_H__EEEEB419_16DD_4058_9624_0C52B88BEF81__INCLUDED_)
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -