mirror of
https://github.com/JasonYANG170/Health-Protection.git
synced 2024-11-23 20:26:34 +00:00
337 lines
22 KiB
Plaintext
337 lines
22 KiB
Plaintext
// Microsoft Visual C++ generated resource script.
|
||
//
|
||
#include "resource.h"
|
||
|
||
#define APSTUDIO_READONLY_SYMBOLS
|
||
/////////////////////////////////////////////////////////////////////////////
|
||
//
|
||
// Generated from the TEXTINCLUDE 2 resource.
|
||
//
|
||
#ifndef APSTUDIO_INVOKED
|
||
#include "targetver.h"
|
||
#endif
|
||
#include "afxres.h"
|
||
#include "verrsrc.h"
|
||
|
||
/////////////////////////////////////////////////////////////////////////////
|
||
#undef APSTUDIO_READONLY_SYMBOLS
|
||
|
||
/////////////////////////////////////////////////////////////////////////////
|
||
// 中文(简体,中国) resources
|
||
|
||
#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_CHS)
|
||
LANGUAGE LANG_CHINESE, SUBLANG_CHINESE_SIMPLIFIED
|
||
|
||
#ifdef APSTUDIO_INVOKED
|
||
/////////////////////////////////////////////////////////////////////////////
|
||
//
|
||
// TEXTINCLUDE
|
||
//
|
||
|
||
1 TEXTINCLUDE
|
||
BEGIN
|
||
"resource.h\0"
|
||
END
|
||
|
||
2 TEXTINCLUDE
|
||
BEGIN
|
||
"#ifndef APSTUDIO_INVOKED\r\n"
|
||
"#include ""targetver.h""\r\n"
|
||
"#endif\r\n"
|
||
"#include ""afxres.h""\r\n"
|
||
"#include ""verrsrc.h""\r\n"
|
||
"\0"
|
||
END
|
||
|
||
3 TEXTINCLUDE
|
||
BEGIN
|
||
"#define _AFX_NO_SPLITTER_RESOURCES\r\n"
|
||
"#define _AFX_NO_OLE_RESOURCES\r\n"
|
||
"#define _AFX_NO_TRACKER_RESOURCES\r\n"
|
||
"#define _AFX_NO_PROPERTY_RESOURCES\r\n"
|
||
"\r\n"
|
||
"#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_CHS)\r\n"
|
||
"LANGUAGE 4, 2\r\n"
|
||
"#include ""res\\YANGRemind.rc2"" // 非 Microsoft Visual C++ 编辑的资源\r\n"
|
||
"#include ""l.CHS\\afxres.rc"" // 标准组件\r\n"
|
||
"#if !defined(_AFXDLL)\r\n"
|
||
"#include ""l.CHS\\afxribbon.rc"" // MFC 功能区和控制条资源\r\n"
|
||
"#endif\r\n"
|
||
"#endif\r\n"
|
||
"\0"
|
||
END
|
||
|
||
#endif // APSTUDIO_INVOKED
|
||
|
||
|
||
/////////////////////////////////////////////////////////////////////////////
|
||
//
|
||
// Icon
|
||
//
|
||
|
||
// Icon with lowest ID value placed first to ensure application icon
|
||
// remains consistent on all systems.
|
||
IDR_MAINFRAME ICON "res\\YANG Remind.ico"
|
||
|
||
|
||
/////////////////////////////////////////////////////////////////////////////
|
||
//
|
||
// Dialog
|
||
//
|
||
|
||
IDD_ABOUTBOX DIALOGEX 0, 0, 170, 133
|
||
STYLE DS_SETFONT | DS_MODALFRAME | DS_FIXEDSYS | WS_POPUP | WS_CAPTION | WS_SYSMENU
|
||
CAPTION "Health-Protection"
|
||
FONT 9, "MS Shell Dlg", 0, 0, 0x1
|
||
BEGIN
|
||
ICON IDR_MAINFRAME,IDC_STATIC,14,14,20,20
|
||
LTEXT "Health-Protection 版本 V5.2.2",IDC_STATIC,42,14,114,8,SS_NOPREFIX
|
||
LTEXT "版权所有 (C) 2023",IDC_STATIC,42,26,114,8
|
||
DEFPUSHBUTTON "确定",IDOK,113,111,50,14,WS_GROUP
|
||
GROUPBOX "使用说明与公告",IDC_STATIC,7,39,156,72
|
||
LTEXT "1.设定好标题和内容。2.点击<保存文本>。3.点击<开机自启动>。4.点击<开启自动关闭>。至此设置全部完成。 如您后续需要修改设置,请在打开程序后立即点击<取消自动关闭>",IDC_STATIC,15,51,141,53
|
||
PUSHBUTTON "更新检测",IDC_BUTTON1,62,111,50,14
|
||
END
|
||
|
||
IDD_YANG_REMIND_DIALOG DIALOGEX 0, 0, 353, 150
|
||
STYLE DS_SETFONT | DS_FIXEDSYS | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU | WS_THICKFRAME
|
||
EXSTYLE WS_EX_APPWINDOW
|
||
CAPTION "Health-Protection"
|
||
FONT 9, "MS Shell Dlg", 0, 0, 0x1
|
||
BEGIN
|
||
EDITTEXT IDC_EDIT1,38,27,144,14,ES_AUTOHSCROLL
|
||
EDITTEXT IDC_EDIT2,38,46,144,14,ES_AUTOHSCROLL
|
||
PUSHBUTTON "自启动",ID_POWERBOOT,193,24,50,14
|
||
PUSHBUTTON "最小化",IDC_BUTTON4,193,74,50,14
|
||
PUSHBUTTON "保存文本",IDC_BUTTON5,7,62,50,14
|
||
PUSHBUTTON "重置文本",IDC_BUTTON6,68,62,50,14
|
||
PUSHBUTTON "停用自动关闭",IDC_BUTTON7,193,58,50,14
|
||
PUSHBUTTON "开启自动关闭",IDC_BUTTON8,193,41,50,14
|
||
PUSHBUTTON "关于程序",IDC_BUTTON9,6,1,40,14
|
||
LTEXT "标题:",IDC_STATIC,14,30,23,8
|
||
LTEXT "内容:",IDC_STATIC,14,48,23,8
|
||
GROUPBOX "自定义信息",IDC_STATIC,7,17,178,91
|
||
GROUPBOX "程序设置",IDC_STATIC,189,15,57,81
|
||
LTEXT "YANG Health-Protection",IDC_STATIC,143,7,80,8
|
||
LTEXT "V5.2.2",IDC_STATIC,276,7,21,8
|
||
PUSHBUTTON "设定",IDC_BUTTON10,151,80,33,14
|
||
EDITTEXT IDC_EDIT3,29,87,30,14,ES_AUTOHSCROLL
|
||
CONTROL "使用小时为单位",IDC_CHECK1,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,86,94,62,10
|
||
CONTROL "使用分钟为单位",IDC_CHECK33,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,86,83,63,10
|
||
LTEXT "后弹出",IDC_STATIC,62,88,23,8
|
||
PUSHBUTTON "取消",IDC_BUTTON11,151,93,33,13
|
||
LTEXT "将在",IDC_STATIC,9,89,16,8
|
||
EDITTEXT IDC_EDIT4,296,26,47,14,ES_AUTOHSCROLL
|
||
EDITTEXT IDC_EDIT5,296,43,47,14,ES_AUTOHSCROLL
|
||
PUSHBUTTON "设置定时",IDC_BUTTON14,303,61,44,14
|
||
PUSHBUTTON "关闭定时",IDC_BUTTON15,256,61,43,14
|
||
PUSHBUTTON "浅色模式",IDC_BUTTON16,256,77,43,14
|
||
PUSHBUTTON "深色模式",IDC_BUTTON17,303,77,44,14
|
||
EDITTEXT IDC_EDIT6,241,105,40,14,ES_AUTOHSCROLL
|
||
EDITTEXT IDC_EDIT7,241,123,40,14,ES_AUTOHSCROLL
|
||
PUSHBUTTON "保存",IDC_BUTTON20,284,105,30,14
|
||
PUSHBUTTON "立即关闭",IDC_BUTTON21,284,123,30,14
|
||
PUSHBUTTON "定时关闭",IDC_BUTTON22,316,105,31,14
|
||
PUSHBUTTON "禁止运行",IDC_BUTTON23,316,123,30,14
|
||
EDITTEXT IDC_EDIT8,17,119,40,14,ES_AUTOHSCROLL
|
||
PUSHBUTTON "定时关机",IDC_BUTTON24,102,119,39,14
|
||
PUSHBUTTON "取消定时",IDC_BUTTON25,141,119,42,14
|
||
GROUPBOX "限制使用",IDC_STATIC,188,96,162,46
|
||
GROUPBOX "自动关机",IDC_STATIC,7,107,178,35
|
||
LTEXT "浅色模式开启时间",IDC_STATIC,255,24,33,16
|
||
LTEXT "深色模式开启时间",IDC_STATIC,255,43,35,17
|
||
LTEXT "应用名称",IDC_STATIC,200,108,30,8
|
||
LTEXT "今日可用时长",IDC_STATIC,195,125,45,8
|
||
LTEXT "小时后关机",IDC_STATIC,61,122,37,8
|
||
GROUPBOX "深色模式",IDC_STATIC,247,14,103,82
|
||
CONTROL "模式选择",IDC_MFCMENUBUTTON1,"MfcMenuButton",WS_TABSTOP,129,62,53,14
|
||
LTEXT "定时弹出",IDC_STATIC,7,77,30,8
|
||
END
|
||
|
||
|
||
/////////////////////////////////////////////////////////////////////////////
|
||
//
|
||
// Version
|
||
//
|
||
|
||
VS_VERSION_INFO VERSIONINFO
|
||
FILEVERSION 1,0,0,1
|
||
PRODUCTVERSION 1,0,0,1
|
||
FILEFLAGSMASK 0x3fL
|
||
#ifdef _DEBUG
|
||
FILEFLAGS 0x1L
|
||
#else
|
||
FILEFLAGS 0x0L
|
||
#endif
|
||
FILEOS 0x40004L
|
||
FILETYPE 0x1L
|
||
FILESUBTYPE 0x0L
|
||
BEGIN
|
||
BLOCK "StringFileInfo"
|
||
BEGIN
|
||
BLOCK "080404B0"
|
||
BEGIN
|
||
VALUE "CompanyName", "TODO: <公司名>"
|
||
VALUE "FileDescription", "YANG Remind"
|
||
VALUE "FileVersion", "1.0.0.1"
|
||
VALUE "InternalName", "YANG Remind.exe"
|
||
VALUE "LegalCopyright", "TODO: (C) <公司名>。 保留所有权利。"
|
||
VALUE "OriginalFilename", "YANG Remind.exe"
|
||
VALUE "ProductName", "TODO: <产品名>"
|
||
VALUE "ProductVersion", "1.0.0.1"
|
||
END
|
||
END
|
||
BLOCK "VarFileInfo"
|
||
BEGIN
|
||
VALUE "Translation", 0x804, 1200
|
||
END
|
||
END
|
||
|
||
|
||
/////////////////////////////////////////////////////////////////////////////
|
||
//
|
||
// DESIGNINFO
|
||
//
|
||
|
||
#ifdef APSTUDIO_INVOKED
|
||
GUIDELINES DESIGNINFO
|
||
BEGIN
|
||
IDD_ABOUTBOX, DIALOG
|
||
BEGIN
|
||
LEFTMARGIN, 7
|
||
RIGHTMARGIN, 163
|
||
TOPMARGIN, 7
|
||
BOTTOMMARGIN, 125
|
||
END
|
||
|
||
IDD_YANG_REMIND_DIALOG, DIALOG
|
||
BEGIN
|
||
LEFTMARGIN, 7
|
||
RIGHTMARGIN, 350
|
||
TOPMARGIN, 7
|
||
BOTTOMMARGIN, 142
|
||
END
|
||
END
|
||
#endif // APSTUDIO_INVOKED
|
||
|
||
|
||
/////////////////////////////////////////////////////////////////////////////
|
||
//
|
||
// AFX_DIALOG_LAYOUT
|
||
//
|
||
|
||
IDD_YANG_REMIND_DIALOG AFX_DIALOG_LAYOUT
|
||
BEGIN
|
||
0
|
||
END
|
||
|
||
IDD_ABOUTBOX AFX_DIALOG_LAYOUT
|
||
BEGIN
|
||
0
|
||
END
|
||
|
||
|
||
/////////////////////////////////////////////////////////////////////////////
|
||
//
|
||
// Menu
|
||
//
|
||
|
||
IDR_MENU1 MENU
|
||
BEGIN
|
||
POPUP "模式选择"
|
||
BEGIN
|
||
MENUITEM "预览", ID_1
|
||
MENUITEM "每日新闻", ID_2
|
||
MENUITEM "每日天气", ID_3
|
||
MENUITEM "每日英语", ID_4
|
||
MENUITEM "每日诗词", ID_5
|
||
POPUP "每日一曲"
|
||
BEGIN
|
||
MENUITEM "开启播放", ID_6
|
||
MENUITEM "停止播放", ID_7
|
||
END
|
||
POPUP "每日星座"
|
||
BEGIN
|
||
MENUITEM "水瓶座 (1月21日-2月18日)", ID_32787
|
||
MENUITEM "双鱼座 (2月19日-3月20日)", ID_32788
|
||
MENUITEM "白羊座 (3月21日-4月20日)", ID_32794
|
||
MENUITEM "金牛座 (4月21日-5月21日)", ID_32795
|
||
MENUITEM "双子座( 5月22日-6月21日)", ID_32796
|
||
MENUITEM "巨蟹座 (6月22日-7月22日)", ID_32797
|
||
MENUITEM "狮子座 (7月23日-8月22日)", ID_32798
|
||
MENUITEM "处女座 (8月23日-9月22日)", ID_32799
|
||
MENUITEM "天秤座 (9月23日-10月23日)", ID_32800
|
||
MENUITEM "天蝎座 (10月24日-11月22日)\r\n", ID_32801
|
||
MENUITEM "射手座 (11月23日-12月21日)", ID_32802
|
||
MENUITEM "摩羯座 (12月22日-1月20日)", ID_32803
|
||
END
|
||
END
|
||
END
|
||
|
||
|
||
/////////////////////////////////////////////////////////////////////////////
|
||
//
|
||
// Dialog Info
|
||
//
|
||
|
||
IDD_YANG_REMIND_DIALOG DLGINIT
|
||
BEGIN
|
||
IDC_MFCMENUBUTTON1, 0x37c, 283, 0
|
||
0x4d3c, 0x4346, 0x654d, 0x756e, 0x7542, 0x7474, 0x6e6f, 0x4f5f, 0x4d53,
|
||
0x6e65, 0x3e75, 0x4146, 0x534c, 0x3c45, 0x4d2f, 0x4346, 0x654d, 0x756e,
|
||
0x7542, 0x7474, 0x6e6f, 0x4f5f, 0x4d53, 0x6e65, 0x3e75, 0x4d3c, 0x4346,
|
||
0x654d, 0x756e, 0x7542, 0x7474, 0x6e6f, 0x525f, 0x6769, 0x7468, 0x7241,
|
||
0x6f72, 0x3e77, 0x4146, 0x534c, 0x3c45, 0x4d2f, 0x4346, 0x654d, 0x756e,
|
||
0x7542, 0x7474, 0x6e6f, 0x525f, 0x6769, 0x7468, 0x7241, 0x6f72, 0x3e77,
|
||
0x4d3c, 0x4346, 0x654d, 0x756e, 0x7542, 0x7474, 0x6e6f, 0x535f, 0x6174,
|
||
0x5079, 0x6572, 0x7373, 0x6465, 0x463e, 0x4c41, 0x4553, 0x2f3c, 0x464d,
|
||
0x4d43, 0x6e65, 0x4275, 0x7475, 0x6f74, 0x5f6e, 0x7453, 0x7961, 0x7250,
|
||
0x7365, 0x6573, 0x3e64, 0x4d3c, 0x4346, 0x654d, 0x756e, 0x7542, 0x7474,
|
||
0x6e6f, 0x445f, 0x6665, 0x7561, 0x746c, 0x6c43, 0x6369, 0x3e6b, 0x5254,
|
||
0x4555, 0x2f3c, 0x464d, 0x4d43, 0x6e65, 0x4275, 0x7475, 0x6f74, 0x5f6e,
|
||
0x6544, 0x6166, 0x6c75, 0x4374, 0x696c, 0x6b63, 0x3c3e, 0x464d, 0x4d43,
|
||
0x6e65, 0x4275, 0x7475, 0x6f74, 0x5f6e, 0x7541, 0x6f74, 0x6973, 0x657a,
|
||
0x463e, 0x4c41, 0x4553, 0x2f3c, 0x464d, 0x4d43, 0x6e65, 0x4275, 0x7475,
|
||
0x6f74, 0x5f6e, 0x7541, 0x6f74, 0x6973, 0x657a, "\076"
|
||
0
|
||
END
|
||
|
||
|
||
/////////////////////////////////////////////////////////////////////////////
|
||
//
|
||
// String Table
|
||
//
|
||
|
||
STRINGTABLE
|
||
BEGIN
|
||
IDS_ABOUTBOX "关于 YANG Remind(&A)..."
|
||
END
|
||
|
||
#endif // 中文(简体,中国) resources
|
||
/////////////////////////////////////////////////////////////////////////////
|
||
|
||
|
||
|
||
#ifndef APSTUDIO_INVOKED
|
||
/////////////////////////////////////////////////////////////////////////////
|
||
//
|
||
// Generated from the TEXTINCLUDE 3 resource.
|
||
//
|
||
#define _AFX_NO_SPLITTER_RESOURCES
|
||
#define _AFX_NO_OLE_RESOURCES
|
||
#define _AFX_NO_TRACKER_RESOURCES
|
||
#define _AFX_NO_PROPERTY_RESOURCES
|
||
|
||
#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_CHS)
|
||
LANGUAGE 4, 2
|
||
#include "res\YANGRemind.rc2" // 非 Microsoft Visual C++ 编辑的资源
|
||
#include "l.CHS\afxres.rc" // 标准组件
|
||
#if !defined(_AFXDLL)
|
||
#include "l.CHS\afxribbon.rc" // MFC 功能区和控制条资源
|
||
#endif
|
||
#endif
|
||
|
||
/////////////////////////////////////////////////////////////////////////////
|
||
#endif // not APSTUDIO_INVOKED
|
||
|