⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 remind.cpp

📁 这是一个可以实现现代智能家居系统自动控制功能的源码
💻 CPP
字号:
// remind.cpp : implementation file
//

#include "stdafx.h"
#include "Fason.h"
#include "remind.h"

#ifdef _DEBUG
#define new DEBUG_NEW
#undef THIS_FILE
static char THIS_FILE[] = __FILE__;
#endif

/////////////////////////////////////////////////////////////////////////////
// remind dialog


remind::remind(CWnd* pParent /*=NULL*/)
	: CDialog(remind::IDD, pParent)
{
	//{{AFX_DATA_INIT(remind)
		// NOTE: the ClassWizard will add member initialization here
	//}}AFX_DATA_INIT
}


void remind::DoDataExchange(CDataExchange* pDX)
{
	CDialog::DoDataExchange(pDX);
	//{{AFX_DATA_MAP(remind)
		// NOTE: the ClassWizard will add DDX and DDV calls here
	//}}AFX_DATA_MAP
}


BEGIN_MESSAGE_MAP(remind, CDialog)
	//{{AFX_MSG_MAP(remind)
	ON_WM_TIMER()
	//}}AFX_MSG_MAP
END_MESSAGE_MAP()

/////////////////////////////////////////////////////////////////////////////
// remind message handlers

void remind::OnOK() 
{
	// TODO: Add extra validation here
	/*CTime re_t = CTime::GetCurrentTime(); //获取系统日期
	re_hh=re_t.GetHour(); //获取当前为几时
	re_mm=re_t.GetMinute(); //获取分钟
	//ss=t.GetSecond();
	char Time2[10];
	itoa(hh,Time2,10);
	SetDlgItemText(IDC_remind_hh,Time2);
	itoa(mm,Time2,10);
    SetDlgItemText(IDC_remind_min,Time2);*/
    /*CFasonDlg fs;
	m_x=0;
	m_y=0;
	m_z=0;
	fs.OnSend();

	CDialog::OnOK();*/
}

void remind::OnCancel() 
{
	// TODO: Add extra cleanup here
	
	CDialog::OnCancel();
}

void remind::OnTimer(UINT nIDEvent) 
{
	// TODO: Add your message handler code here and/or call default
	
	CDialog::OnTimer(nIDEvent);
}

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -