加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
五子棋.rc 8.09 KB
一键复制 编辑 原始数据 按行查看 历史
杨浩 提交于 2022-02-22 08:17 . 项目文件2
//Microsoft Developer Studio generated resource script.
//
#include "resource.h"
// Generated Help ID header file
#define APSTUDIO_HIDDEN_SYMBOLS
#include "resource.hm"
#undef APSTUDIO_HIDDEN_SYMBOLS
#define APSTUDIO_READONLY_SYMBOLS
/////////////////////////////////////////////////////////////////////////////
//
// Generated from the TEXTINCLUDE 2 resource.
//
#include "afxres.h"
/////////////////////////////////////////////////////////////////////////////
#undef APSTUDIO_READONLY_SYMBOLS
/////////////////////////////////////////////////////////////////////////////
// Chinese (中国) resources
#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_CHS)
#ifdef _WIN32
LANGUAGE LANG_CHINESE, SUBLANG_CHINESE_SIMPLIFIED
#pragma code_page(936)
#endif //_WIN32
#ifdef APSTUDIO_INVOKED
/////////////////////////////////////////////////////////////////////////////
//
// TEXTINCLUDE
//
1 TEXTINCLUDE MOVEABLE PURE
BEGIN
"resource.h\0"
END
2 TEXTINCLUDE MOVEABLE PURE
BEGIN
"#include ""afxres.h""\r\n"
"\0"
END
3 TEXTINCLUDE MOVEABLE PURE
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"
"#ifdef _WIN32\r\n"
"LANGUAGE 4, 2\r\n"
"#pragma code_page(936)\r\n"
"#endif //_WIN32\r\n"
"#include ""res\\五子棋.rc2"" // non-Microsoft Visual C++ edited resources\r\n"
"#include ""l.chs\\afxres.rc"" // Standard components\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 DISCARDABLE "res\\五子棋.ico"
/////////////////////////////////////////////////////////////////////////////
//
// Dialog
//
IDD_ABOUTBOX DIALOG DISCARDABLE 0, 0, 270, 161
STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU
CAPTION "帮助"
FONT 10, "微软雅黑"
BEGIN
LTEXT " 五子棋是一种两人对弈的纯策略型棋类游戏,棋具与围棋通用,是起源于中国古代的传统黑白棋种之一。发展于日本,流行于欧美。容易上手,老少皆宜,而且趣味横生,引人入胜;不仅能增强思维能力,提高智力,而且富含哲理,有助于修身养性。 ",
IDC_STATIC,24,26,222,36
DEFPUSHBUTTON "确定",IDOK,188,132,50,14,WS_GROUP
LTEXT "五子棋游戏简介:",IDC_STATIC,22,13,119,8,SS_NOPREFIX
LTEXT "游戏规则:",IDC_STATIC,22,67,41,8
LTEXT "1、对局双方各执一色棋子,黑先、白后交替下子,每次只能下一子。",
IDC_STATIC,21,78,222,11
LTEXT "2、棋子下在棋盘的交叉点上,棋子下定后,不得向其它点移动,不得从棋盘上拿起另落别处。",
IDC_STATIC,21,91,229,17
LTEXT "3、黑白双方任一方先在棋盘上形成横向、竖向、斜向的连续的相同颜色的五个(含五个以上)棋子的一方为胜。",
IDC_STATIC,20,108,227,17
END
IDD_FIVECHESS_DIALOG DIALOGEX 0, 0, 377, 188
STYLE DS_MODALFRAME | WS_MINIMIZEBOX | WS_POPUP | WS_VISIBLE | WS_CAPTION |
WS_SYSMENU
EXSTYLE WS_EX_APPWINDOW
CAPTION "五子棋"
FONT 10, "微软雅黑"
BEGIN
PUSHBUTTON "新游戏",IDC_START,293,90,47,15
PUSHBUTTON "设置",IDC_SETTING,293,109,47,14
PUSHBUTTON "帮助",IDC_ABOUT,294,147,48,14
PUSHBUTTON "悔棋",IDC_BACKGO,293,128,48,14
LTEXT "玩家名",IDC_STATIC,275,33,27,15
EDITTEXT IDC_EDIT1,303,31,53,14,ES_AUTOHSCROLL | ES_READONLY
LTEXT "年龄",IDC_STATIC,274,51,25,13
EDITTEXT IDC_EDIT2,303,49,53,13,ES_AUTOHSCROLL | ES_READONLY
EDITTEXT IDC_EDIT3,303,66,54,13,ES_AUTOHSCROLL | ES_READONLY
LTEXT "性别",IDC_STATIC,275,69,21,14
LTEXT "玩家信息",IDC_STATIC,303,15,41,11,0,0,HIDC_STATIC
END
IDD_SETTING_DIAL0G DIALOG DISCARDABLE 0, 0, 193, 82
STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION
CAPTION "设置"
FONT 10, "微软雅黑"
BEGIN
PUSHBUTTON "确定",IDOK,130,21,50,14
PUSHBUTTON "取消",IDCANCEL,130,46,50,14
CONTROL "机先人后",IDC_RADIO1,"Button",BS_AUTORADIOBUTTON |
WS_GROUP,21,27,48,10
CONTROL "人先机后",IDC_RADIO2,"Button",BS_AUTORADIOBUTTON,22,49,
48,10
GROUPBOX "游戏模式",IDC_STATIC0,14,9,59,63
CONTROL "黑棋",IDC_BLACK,"Button",BS_AUTORADIOBUTTON | WS_GROUP,
84,25,32,10
CONTROL "白棋",IDC_WHITE,"Button",BS_AUTORADIOBUTTON,84,48,32,10
GROUPBOX "玩家棋子",IDC_STATIC1,76,9,46,63
END
IDD_DIALOG1 DIALOG DISCARDABLE 0, 0, 200, 116
STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU
CAPTION "登录"
FONT 10, "微软雅黑"
BEGIN
DEFPUSHBUTTON "登录",IDOK,83,86,50,14
LTEXT "玩家名",IDC_STATIC,36,23,26,10
EDITTEXT IDC_EDIT1,69,18,80,15,ES_AUTOHSCROLL
LTEXT "年龄",IDC_STATIC,36,42,31,13
EDITTEXT IDC_EDIT2,69,39,79,16,ES_AUTOHSCROLL
LTEXT "性别",IDC_STATIC,36,62,26,14
EDITTEXT IDC_EDIT3,69,61,79,17,ES_AUTOHSCROLL
END
#ifndef _MAC
/////////////////////////////////////////////////////////////////////////////
//
// 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 0x4L
FILETYPE 0x1L
FILESUBTYPE 0x0L
BEGIN
BLOCK "StringFileInfo"
BEGIN
BLOCK "080404b0"
BEGIN
VALUE "FileDescription", "五子棋 Microsoft 基础类应用程序\0"
VALUE "FileVersion", "1, 0, 0, 1\0"
VALUE "InternalName", "五子棋\0"
VALUE "LegalCopyright", "版权所有 (C) 2010\0"
VALUE "OriginalFilename", "五子棋.EXE\0"
VALUE "ProductName", "五子棋 应用程序\0"
VALUE "ProductVersion", "1, 0, 0, 1\0"
END
END
BLOCK "VarFileInfo"
BEGIN
VALUE "Translation", 0x804, 1200
END
END
#endif // !_MAC
/////////////////////////////////////////////////////////////////////////////
//
// DESIGNINFO
//
#ifdef APSTUDIO_INVOKED
GUIDELINES DESIGNINFO MOVEABLE PURE
BEGIN
IDD_ABOUTBOX, DIALOG
BEGIN
LEFTMARGIN, 7
RIGHTMARGIN, 263
TOPMARGIN, 7
BOTTOMMARGIN, 153
END
IDD_FIVECHESS_DIALOG, DIALOG
BEGIN
LEFTMARGIN, 7
RIGHTMARGIN, 370
TOPMARGIN, 7
BOTTOMMARGIN, 181
END
IDD_SETTING_DIAL0G, DIALOG
BEGIN
LEFTMARGIN, 7
RIGHTMARGIN, 186
TOPMARGIN, 6
BOTTOMMARGIN, 75
END
IDD_DIALOG1, DIALOG
BEGIN
LEFTMARGIN, 7
RIGHTMARGIN, 193
TOPMARGIN, 7
BOTTOMMARGIN, 109
END
END
#endif // APSTUDIO_INVOKED
/////////////////////////////////////////////////////////////////////////////
//
// Bitmap
//
IDB_QIPAN BITMAP MOVEABLE PURE "res\\棋盘.bmp"
/////////////////////////////////////////////////////////////////////////////
//
// String Table
//
STRINGTABLE DISCARDABLE
BEGIN
IDS_ABOUTBOX "关于 五子棋(&A)..."
END
#endif // Chinese (中国) 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)
#ifdef _WIN32
LANGUAGE 4, 2
#pragma code_page(936)
#endif //_WIN32
#include "res\五子棋.rc2" // non-Microsoft Visual C++ edited resources
#include "l.chs\afxres.rc" // Standard components
#endif
/////////////////////////////////////////////////////////////////////////////
#endif // not APSTUDIO_INVOKED
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化