用于EagleEye3.0 规则集漏报和误报测试的示例项目,项目收集于github和gitee
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

80 lines
3.7 KiB

5 months ago
<EFBFBD><EFBFBD>/**
* Copyright (C) 2014-2050 SOUI<EFBFBD>V<EFBFBD>
* All rights reserved.
*
* @file SCalendar.h
* @brief <EFBFBD>e<EFBFBD>S<EFBFBD>e<EFBFBD><EFBFBD><EFBFBD>c<EFBFBD>N
* @version v1.0
* @author soui
* @date 2014-05-25
*
* Describe dk{|<EFBFBD>[b<EFBFBD>e<EFBFBD>S<EFBFBD>c<EFBFBD>N
*/
#pragma once
#include "core/SWnd.h"
namespace SOUI
{
/**
* @class SCalendar
* @brief <EFBFBD>e<EFBFBD>S{|
*
* Describe dk{|/f<EFBFBD>e<EFBFBD>S<EFBFBD>v8h<EFBFBD>_{| 'Y<EFBFBD><EFBFBD>R<EFBFBD>Qpe<EFBFBD><EFBFBD>/fY<EFBFBD>`<EFBFBD>Qpe
*/
class SCalendar2 : public SWindow
{
public:
SOUI_CLASS_NAME(SCalendar2, L"calendar2")
/**
* SCalendar::SCalendar
* @brief <EFBFBD>g <EFBFBD><EFBFBD>Qpe
*
* Describe <EFBFBD>g <EFBFBD><EFBFBD>Qpe
*/
SCalendar2();
protected:
/**
* SCalendar::Load
* @brief <EFBFBD>R}<EFBFBD>xml
* @param pugi::xml_node xmlNode -- xml<EFBFBD><EFBFBD><EFBFBD>p
*
* Describe <EFBFBD>Ǐ<EFBFBD>R}<EFBFBD>xmleg<EFBFBD>g <EFBFBD><EFBFBD>z<EFBFBD>S
*/
virtual BOOL InitFromXml(pugi::xml_node xmlNode);
protected:
/**
* SCalendar::OnTodayClick
* @brief (W<EFBFBD>eg---)Y<EFBFBD>vUS<EFBFBD>Q<EFBFBD>N<EFBFBD>N
*
* Describe (W<EFBFBD>eg---)Y<EFBFBD>vUS<EFBFBD>Q<EFBFBD>N<EFBFBD>N
*/
bool OnTodayClick(EventArgs *pArg);
bool OnMonthClick(EventArgs *pArg);
bool OnBtnNextMonth(EventArgs *pArg);
bool OnBtnPrevMonth(EventArgs *pArg);
bool OnBtnNext10Year(EventArgs *pArg);
bool OnBtnPrev10Year(EventArgs *pArg);
bool OnBtnPickMonthFinish(EventArgs *pArg);
bool OnBtnPickMonthCancel(EventArgs *pArg);
bool OnSetCalendarDate(EventArgs *pArg);
void initYearButtons();
protected:
SCalendar * m_pCalendar;
SWindow * m_pMonthPickerPanel;
SWindow * m_pCalenderPanel;
SWindow * m_pBtnPrevMonth,* m_pBtnNextMonth;
SWindow * m_pTxtMonth;
int m_iBeginYear;
};
}//end of namespace